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

fix: update readme and IAM policies #5

Merged
merged 2 commits into from
Sep 16, 2019
Merged

fix: update readme and IAM policies #5

merged 2 commits into from
Sep 16, 2019

Conversation

honglu
Copy link
Contributor

@honglu honglu commented Sep 16, 2019

Description of changes:

  • Update readme with explanation of attaching IAM policies to IntegTestRole and DeployRole
  • Add cloudformation:DeleteChangeSet permissions to pipeline role: When the previous change set creation failed, CodePipeline CloudFormation action will first delete the change set. Therefore it needs DeleteChangeSet permission.
  • Attach S3 permissions to DeployRole

Tests
Deployed the template enabling deploy stage. Pushed a bad change that can cause the change set creation fail and then verify after pushing a good change, deploy stage can succeed

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@honglu honglu requested review from jlhood and ylynn September 16, 2019 02:56
@honglu honglu changed the title fix: add cloudformation:DeleteChangeSet permission to Pipeline role fix: update readme and IAM policies Sep 16, 2019
@@ -235,6 +235,7 @@ Resources:
PipelineRole:
Type: AWS::IAM::Role
Properties:
Description: !Sub "Used by CodePipeline ${Pipeline}. Created by CloudFormation ${AWS::StackId}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@honglu honglu merged commit 011b5dc into awslabs:master Sep 16, 2019
@honglu honglu deleted the permission branch September 16, 2019 19:08
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.

None yet

3 participants