Skip to content

fix: error IAM role attachement when applying the module the first ti… #659

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

Merged
merged 9 commits into from
Feb 26, 2023

Conversation

npalm
Copy link
Collaborator

@npalm npalm commented Jan 13, 2023

Description

fix #591

Ensure policies attachment are done with module managed resources in case the role is managed via terraform objects. This to avoid attachments are created before the role is created. Depends on does not support dynamics, sot not an option.

Migrations required

NO

Verification

  • default example

@npalm npalm requested a review from kayman-mk as a code owner January 13, 2023 11:45
@npalm npalm marked this pull request as draft January 13, 2023 11:46
@npalm npalm marked this pull request as ready for review January 13, 2023 17:50
@npalm
Copy link
Collaborator Author

npalm commented Jan 18, 2023

@kayman-mk would you the option to rebase this PR

@kayman-mk
Copy link
Collaborator

Merge conflicts solved.

I changed some more policies and tested the change. First apply succeeded. 👍

@npalm
Copy link
Collaborator Author

npalm commented Feb 23, 2023

@kayman-mk accepted your suggestion, PR is good to go. Please can you review the PR?

@npalm npalm requested a review from kayman-mk February 23, 2023 21:19
@npalm
Copy link
Collaborator Author

npalm commented Feb 25, 2023

@kayman-mk can you review the PR, should be ready to merge

@npalm npalm mentioned this pull request Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error putting IAM role policy, and Error attaching policy on creation
2 participants