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

Codepipeline depends_on each policy attachment to avoid races #21

Merged

Conversation

dustinlacewell
Copy link
Contributor

This adds a depends_on clause to the aws_codepipeline resource pointing to each aws_iam_role_policy_attachment. This avoids a race condition where the policy attachments are not yet available when the CodePipeline kicks off causing the CodeBuild stage to fail.

@osterman osterman self-assigned this Apr 2, 2019
@osterman osterman merged commit 3900b4c into cloudposse:master Apr 2, 2019
@osterman
Copy link
Member

osterman commented Apr 2, 2019

Thanks @dustinlacewell !

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.

2 participants