-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace managed_policy_arns
with aws_iam_role_policy_attachment
#162
base: main
Are you sure you want to change the base?
Conversation
Seems like CI is failing because you need to detach the policies before you can delete them https://github.com/navapbc/platform-test/actions/runs/12897889821/job/35963884480?pr=162#step:6:5626 |
@coilysiren I looked into it. Look at this post hashicorp/terraform-provider-aws#39818 Solution: Switch to using aws_iam_role_policy_attachment, not aws_iam_role_policy_attachments_exclusive Maybe add a comment |
@lorenyu ahah! thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once tests pass!
managed_policy_arns
with aws_iam_role_policy_attachment
…862) ## Context #785 This PR fixes deprecation warning linked in the above ticket ## Testing / Validation see: navapbc/platform-test#162
Context
navapbc/template-infra#785
This PR fixes deprecation warning linked in the above ticket
Testing / Validation
Before & After, you'll notice that the same policy is attached
Preview environment for app
Preview environment for app-rails