- 
                Notifications
    
You must be signed in to change notification settings  - Fork 724
 
Open
Labels
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
 - Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
 - If you are interested in working on this issue or have submitted a pull request, please leave a comment
 
Terraform Version and Provider Version
Terraform v1.12.1
terraform-provider-oci 7.22.0
Affected Resource(s)
oci_identity_dynamic_group
Terraform Configuration Files
resource "oci_identity_dynamic_group" "test-group" {
  compartment_id = var.tenancy_ocid
  name           = "my-group"
  description    = "Test group"
  matching_rule = <<EOT
    All {
      instance.compartment.id = '${local.cluster_compartment}',
      tag.my-defined.instance-type.value = 'compute-node'
    }
  EOT
}Debug Output
https://gist.github.com/ghtyrant/34311702b4d0372480732c2c14a074e3
Expected Behavior
I expect to get a dynamic group that matches ALL of the rules supplied.
Actual Behavior
I get a group that matches ANY of the rules supplied.
Screenshot from OCI Console:
Steps to Reproduce
terraform apply