Skip to content

content_update_policy_precedence

This resource allows you to set the precedence of Content Update Policies based on the order of IDs.

The following API scopes are required:

  • Content Update Policy: READ
  • Content Update Policy: WRITE
terraform {
required_providers {
crowdstrike = {
source = "registry.terraform.io/crowdstrike/crowdstrike"
}
}
}
provider "crowdstrike" {
cloud = "us-2"
}
resource "crowdstrike_content_update_policy_precedence" "example" {
ids = [
"1234567890abcdef1234567890abcdef",
"abcdef1234567890abcdef1234567890",
]
enforcement = "dynamic"
}
  • enforcement (String) The enforcement type for this resource. strict requires all non-default content update policy ids to be provided. dynamic will ensure the provided policies have precedence over others. When using dynamic, policy ids not included in ids will retain their current ordering after the managed ids.
  • ids (List of String) The policy ids in order. The first ID specified will have the highest precedence and the last ID specified will have the lowest.
  • last_updated (String) Timestamp of the last Terraform update of the resource.