Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
fix: fix circular dependency (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
honglu authored and jlhood committed Sep 16, 2019
1 parent 011b5dc commit 01a2d19
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sam/app/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Metadata:
SpdxLicenseId: MIT-0
Labels: [github, cd, codepipeline, continuous-deploy, sam]
HomePageUrl: https://github.com/awslabs/aws-sam-codepipeline-cd
SemanticVersion: 0.1.2
SourceCodeUrl: https://github.com/awslabs/aws-sam-codepipeline-cd/tree/0.1.2
SemanticVersion: 0.1.3
SourceCodeUrl: https://github.com/awslabs/aws-sam-codepipeline-cd/tree/0.1.3
LicenseUrl: ../../LICENSE
ReadmeUrl: ../../README.md

Expand Down Expand Up @@ -235,7 +235,7 @@ Resources:
PipelineRole:
Type: AWS::IAM::Role
Properties:
Description: !Sub "Used by CodePipeline ${Pipeline}. Created by CloudFormation ${AWS::StackId}"
Description: !Sub "Used by CodePipeline. Created by CloudFormation ${AWS::StackId}"
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
Expand Down Expand Up @@ -366,7 +366,7 @@ Resources:
CodeBuildPolicy:
Type: AWS::IAM::Policy
Properties:
PolicyName: codebuild-access
PolicyName: codebuild-access-${AWS::StackName}
Roles:
- !Ref BuildProjectRole
- !If
Expand Down Expand Up @@ -398,7 +398,7 @@ Resources:
BuildProjectRole:
Type: AWS::IAM::Role
Properties:
Description: !Sub "Used in CodeBuild project ${BuildProject}. Created by CloudFormation ${AWS::StackId}"
Description: !Sub "Used in CodeBuild project. Created by CloudFormation ${AWS::StackId}"
AssumeRolePolicyDocument:
Statement:
- Action:
Expand All @@ -410,10 +410,10 @@ Resources:
Version: '2012-10-17'
Path: /service-role/
DeployStagePolicy:
Condtion: HasDeployStage
Condition: HasDeployStage
Type: AWS::IAM::Policy
Properties:
PolicyName: s3-access
PolicyName: deploy-stage-access-${AWS::StackName}
Roles:
- !Ref DeployRoleName
PolicyDocument:
Expand Down

0 comments on commit 01a2d19

Please sign in to comment.