Skip to content

Commit

Permalink
Removed unused managed policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
nonken committed Oct 16, 2019
1 parent 6730636 commit 3a7973a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Staging: https://api-staging.your.domain
When you destroy the stack and recreate it, you need to delete an alias used for KMS:
You need to remove an alias for each stage. Look or this in the CDK error message.
```
aws kms delete-alias --alias-name alias/codepipeline-apiapipipeline110f86f3 --profile baseline --region us-east-1
aws kms delete-alias --alias-name ALIAS_NAME --profile PROFILE --region REGION
```

**S3 bucket for static assets already exists:**
Expand Down
1 change: 0 additions & 1 deletion lib/stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export class StageInfrastructure extends Construct {
ManagedPolicy.fromAwsManagedPolicyName('AmazonDynamoDBFullAccess'),
ManagedPolicy.fromAwsManagedPolicyName('AmazonS3FullAccess'),
ManagedPolicy.fromAwsManagedPolicyName('CloudWatchFullAccess'),
ManagedPolicy.fromAwsManagedPolicyName('service-role/AmazonEC2RoleforAWSCodeDeploy'),
ManagedPolicy.fromAwsManagedPolicyName('SecretsManagerReadWrite')
]
});
Expand Down

0 comments on commit 3a7973a

Please sign in to comment.