Skip to content

Commit

Permalink
Update CodeConnection references
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Dec 20, 2024
1 parent 1c65444 commit a5104e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions devops/oxbow-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,13 @@ Resources:
- !Sub ${PipelineArtifactStore.Arn}/*
Version: "2012-10-17"
PolicyName: ArtifactStoreFullAccess
# To allow the pipeline to use a CodeStar Connection
# To allow the pipeline to use a CodeConnection
- PolicyDocument:
Statement:
- Action: codestar-connections:*
- Action: codeconnections:*
Condition:
ForAllValues:StringEquals:
codestar-connections:PassedToService: codepipeline.amazonaws.com
codeconnections:PassedToService: codepipeline.amazonaws.com
Effect: Allow
Resource: !Ref CodeStarConnectionArn
Version: "2012-10-17"
Expand Down
6 changes: 3 additions & 3 deletions devops/porter-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -605,13 +605,13 @@ Resources:
- !Sub ${PipelineArtifactStore.Arn}/*
Version: "2012-10-17"
PolicyName: ArtifactStoreFullAccess
# To allow the pipeline to use a CodeStar Connection
# To allow the pipeline to use a CodeConnection
- PolicyDocument:
Statement:
- Action: codestar-connections:*
- Action: codeconnections:*
Condition:
ForAllValues:StringEquals:
codestar-connections:PassedToService: codepipeline.amazonaws.com
codeconnections:PassedToService: codepipeline.amazonaws.com
Effect: Allow
Resource: !Ref CodeStarConnectionArn
Version: "2012-10-17"
Expand Down
12 changes: 6 additions & 6 deletions spire/cd/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Metadata:
InfrastructureStorageStackName:
default: Storage stack name
CodeStarConnectionArn:
default: CodeStar Connection ARN
default: CodeConnection ARN

Parameters:
InfrastructureStorageStackName:
Expand All @@ -45,7 +45,7 @@ Parameters:
CodeStarConnectionArn:
Type: String
Description: >-
The Arn of a previously-created and configured CodeStar Connection, which
The Arn of a previously-created and configured CodeConnection, which
has access to the any Git repositories used as sources in the template
Resources:
Expand Down Expand Up @@ -490,17 +490,17 @@ Resources:
- !Ref ProductionApprovalsSnsTopic
Version: "2012-10-17"
PolicyName: SnsApprovalsPolicy
# To allow the pipeline to use a CodeStar Connection
# To allow the pipeline to use a CodeConnection
- PolicyDocument:
Statement:
- Action: codestar-connections:*
- Action: codeconnections:*
Condition:
ForAllValues:StringEquals:
codestar-connections:PassedToService: codepipeline.amazonaws.com
codeconnections:PassedToService: codepipeline.amazonaws.com
Effect: Allow
Resource: !Ref CodeStarConnectionArn
Version: "2012-10-17"
PolicyName: CodeStarConnectionPolicy
PolicyName: CodeConnectionPolicy
# Allow CodePipeline to manipulate CloudFormation root stacks
- PolicyDocument:
Statement:
Expand Down

0 comments on commit a5104e7

Please sign in to comment.