Skip to content

Commit

Permalink
updating the extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Aug 2, 2018
1 parent bd2c9ac commit d969373
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 22 deletions.
20 changes: 0 additions & 20 deletions backend-service/common-iam.yml

This file was deleted.

21 changes: 21 additions & 0 deletions custom-iam-policy/env-iam.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
Resources:
CloudFormationRoleAddlPolicy:
Type: AWS::IAM::Policy
Properties:
PolicyName:
Fn::Sub: ${Namespace}-update-route53-additional-${EnvironmentName}
PolicyDocument:
Version: '2012-10-17'
Statement:
- Action:
- route53:CreateHostedZone
- route53:GetHostedZone
- route53:DeleteHostedZone
- route53:UpdateHostedZoneComment
- route53:ListQueryLoggingConfigs
- iam:CreateServiceLinkedRole
Resource: '*'
Effect: Allow
Roles:
- Fn::Sub: ${Namespace}-cloudformation-common-${AWS::Region}
8 changes: 8 additions & 0 deletions custom-iam-policy/mu-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: custom-iam-policy
version: 1.0

templateUpdateMode: merge

# Note: the filename must match the asset being extended.
# see https://github.com/stelligent/mu/tree/develop/templates/assets for
# filenames.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: backend-service
name: internal-alb
version: 1.0

templateUpdateMode: merge
Expand Down
3 changes: 2 additions & 1 deletion mu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ service:
production:
disabled: true
extensions:
- url: backend-service
- url: custom-iam-policy
- url: internal-alb

0 comments on commit d969373

Please sign in to comment.