This release backports the PR addressing the regression related to IAM roles and role policy attachments introduced in version 0.40.0
After upgrading from the affected version to this version, make sure to unset the spec.forProvider.managedPolicyArns
value from any Role.iam.aws.upbound.io
managed resources that you want to be able to use RolePolicyAttachment
resources to attach policies to. You will need to run a script like the following as suggested by @mbbush in this comment.
kubectl get role.iam.aws.upbound.io -o name | xargs kubectl patch --dry-run=server --patch '[{"op":"remove","path":"/spec/forProvider/managedPolicyArns"}]' --type=json
What's Changed
Full Changelog: v0.41.0...v0.41.1