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

PLAT-9026 managed_policy_arns deprecated #310

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

miguelhar
Copy link
Collaborator

@miguelhar miguelhar commented Dec 9, 2024

PLAT-9026

2024-12-05 00:57:57,961 - Warning: Argument is deprecated
2024-12-05 00:57:57,961 - 
2024-12-05 00:57:57,961 -   with module.iam_bootstrap.aws_iam_role.deployment,
2024-12-05 00:57:57,961 -   on /resources/deployer/deploys/platst71497/iam_bootstrap/terraform/modules/iam_bootstrap/modules/iam-bootstrap/main.tf line 44, in resource "aws_iam_role" "deployment":
2024-12-05 00:57:57,961 -   44:   managed_policy_arns = aws_iam_policy.deployment[*].arn
2024-12-05 00:57:57,961 - 
2024-12-05 00:57:57,961 - The managed_policy_arns argument is deprecated. Use the
2024-12-05 00:57:57,961 - aws_iam_role_policy_attachment resource instead. If Terraform should
2024-12-05 00:57:57,961 - exclusively manage all managed policy attachments (the current behavior of
2024-12-05 00:57:57,961 - this argument), use the aws_iam_role_policy_attachments_exclusive resource as

@miguelhar miguelhar marked this pull request as ready for review December 9, 2024 20:18
@miguelhar miguelhar requested a review from a team as a code owner December 9, 2024 20:18
@miguelhar miguelhar merged commit a0b83e7 into main Dec 10, 2024
15 checks passed
@miguelhar miguelhar deleted the miguelhar.PLAT-9026-deprecated-managed_policy_arns branch December 10, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants