Skip to content

Dynamic group inappropriately flags matching_rule as sensitive #2339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jeliker1 opened this issue Mar 27, 2025 · 0 comments
Open

Dynamic group inappropriately flags matching_rule as sensitive #2339

jeliker1 opened this issue Mar 27, 2025 · 0 comments
Labels

Comments

@jeliker1
Copy link

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.7.4
on darwin_arm64

  • provider registry.terraform.io/oracle/oci v6.32.0

Affected Resource(s)

affected_resources = oci_identity_dynamic_group
affected_resources = terraform

Terraform Configuration Files

resource "oci_identity_dynamic_group" "the_group" {
  compartment_id = var.tenancy_ocid
  description    = "For Fn Applications"
  matching_rule  = "all {resource.type = 'fnfunc'}"
  name           = "FnApps"
}

Debug Output

# module.dyngroup_fnapp_osmh.oci_identity_dynamic_group.the_group will be created
  + resource "oci_identity_dynamic_group" "the_group" {
      + compartment_id = "ocid1.tenancy.oc1..aaaaaa . . . qpll7z3ja"
      + defined_tags   = (known after apply)
      + description    = "For Fn Applications"
      + freeform_tags  = (known after apply)
      + id             = (known after apply)
      + inactive_state = (known after apply)
      + matching_rule  = (sensitive value)
      + name           = "FnApps"
      + state          = (known after apply)
      + time_created   = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Panic Output

Expected Behavior

Attribute matching_rule of oci_identity_dynamic_group should not be marked sensitive.

Actual Behavior

Attribute matching_rule of oci_identity_dynamic_group is being marked sensitive.

Steps to Reproduce

  1. terraform apply
  2. Note output

Important Factoids

References

@jeliker1 jeliker1 added the bug label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant