terraform-provider-ibm
terraform-provider-ibm copied to clipboard
ibm_iam_policy_template examples
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
New or Affected Resource(s) or Datasource(s)
- ibm_iam_policy_template
Description
When working through the ibm_iam_policy_template
there aren't enough examples, so the next step I took was try to follow the examples in ibm_iam_access_group_policy
or in ibm_iam_trusted_profile_policy
however that is when you find differences in the way the assignments are done, i.e.
resource {
attributes {
key = "serviceName"
operator = "stringEquals"
value = "cloudantnosqldb"
}
}
vs
resource_attributes {
name = "serviceName"
value = "cloudantnosqldb"
operator = "stringEquals"
}
or
resources {
service = "cloudantnosqldb"
region = "us-south"
}
So there is a bit of inconsistency in how things are configured which makes it more challenging.
References
- #0000