You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove usage of deprecated managed_policy_arns attribute
The `managed_policy_arns` attribute on `aws_iam_role` resources has been
deprecated. At the AWS API layer, the `managed_policy_arns` list is
translated by Terraform to individual "attached role policy" resources.
Per the Terraform docs, using the `managed_policy_arns` attribute is
equivalent to using a separate
`aws_iam_role_policy_attachments_exclusive` resource.
As a result, this commit switches from the `managed_policy_arns`
attribute to a `aws_iam_role_policy_attachments_exclusive` resource.
After this change, upgrading the fingerprint_cloudfront_integration
module and running a terraform apply will result in Terraform
creating a new resource in its state, but there will be no corresponding
state change in the AWS APIs. Terraform also no longer produces
the warning about the argument being deprecated.
0 commit comments