Skip to content
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

ibm_iam_policy_template: unable to retrieve any data #6019

Closed
rmahroua opened this issue Feb 24, 2025 · 0 comments
Closed

ibm_iam_policy_template: unable to retrieve any data #6019

rmahroua opened this issue Feb 24, 2025 · 0 comments
Labels
service/IAM Issues related to IAM service/IAMPAP Issues related to IAM Policy Management

Comments

@rmahroua
Copy link

rmahroua commented Feb 24, 2025

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 other comments that do not add relevant new information or questions, 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 CLI and Terraform IBM Provider Version

Affected Resource(s)

  • ibm_iam_policy_template

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

data "ibm_iam_policy_template" "policy_templates" {
}

output "trusted_profile_policy_templates" {
  value = jsonencode(data.ibm_iam_policy_template.policy_templates)
}
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Releasing state lock. This may take a few moments...

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

Debug Output

Panic Output

Expected Behavior

List existing policy templates

Actual Behavior

The data source doesn't return anything

Steps to Reproduce

  1. terraform apply
  2. The output doesn't list any of my existing policy templates. Credentials/permissions are correct since I'm managing other resources such as trusted profile templates.

Important Factoids

References

  • #0000
@github-actions github-actions bot added service/IAM Issues related to IAM service/IAMPAP Issues related to IAM Policy Management labels Feb 24, 2025
@rmahroua rmahroua closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/IAM Issues related to IAM service/IAMPAP Issues related to IAM Policy Management
Projects
None yet
Development

No branches or pull requests

1 participant