Skip to content

Commit

Permalink
removed AWS codecommit (#623)
Browse files Browse the repository at this point in the history
Removing codecommit and replacing by S3
  • Loading branch information
mridehalgh authored Aug 27, 2024
1 parent 193f650 commit db49913
Show file tree
Hide file tree
Showing 15 changed files with 269 additions and 303 deletions.
14 changes: 2 additions & 12 deletions aws/cloudformation-templates/base/_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Parameters:
Description: Retail Demo Store source deployment type
AllowedValues:
- "GitHub"
- "CodeCommit"
Default: "CodeCommit"
- "S3"
Default: "S3"

CreateOpenSearchServiceLinkedRole:
Type: String
Expand Down Expand Up @@ -249,16 +249,6 @@ Resources:
PinpointSMSLongCode: !Ref PinpointSMSLongCode
GoogleAnalyticsMeasurementId: !Ref GoogleAnalyticsMeasurementId

# CodeCommit Repository
CodeCommitRepository:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub https://s3.amazonaws.com/${ResourceBucket}/${ResourceBucketRelativePath}cloudformation-templates/base/codecommit.yaml
Parameters:
ResourceBucket: !Ref ResourceBucket
ResourceBucketRelativePath: !Ref ResourceBucketRelativePath
SourceDeploymentType: !Ref SourceDeploymentType

# Pinpoint Resources
Pinpoint:
Type: AWS::CloudFormation::Stack
Expand Down
55 changes: 0 additions & 55 deletions aws/cloudformation-templates/base/codecommit.yaml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Resources:
ResourceBucket: !Ref ResourceBucket
ResourceBucketRelativePath: !Ref ResourceBucketRelativePath
CreateOpenSearchServiceLinkedRole: "No" # DO NOT CHANGE - should be managed by EE module in the "IAM Service Linked Roles" field
SourceDeploymentType: "CodeCommit" # DO NOT CHANGE
SourceDeploymentType: "S3" # DO NOT CHANGE
GitHubRepo: "retail-demo-store" # N/A SO DO NOT CHANGE
GitHubBranch: "master" # N/A SO DO NOT CHANGE
GitHubToken: "dummy" # N/A SO DO NOT CHANGE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Resources:
ResourceBucket: !Ref ResourceBucket
ResourceBucketRelativePath: !Ref ResourceBucketRelativePath
CreateElasticsearchServiceLinkedRole: "No" # DO NOT CHANGE - should be managed by EE module in the "IAM Service Linked Roles" field
SourceDeploymentType: "CodeCommit" # DO NOT CHANGE
SourceDeploymentType: "S3" # DO NOT CHANGE
GitHubRepo: "retail-demo-store" # N/A SO DO NOT CHANGE
GitHubBranch: "master" # N/A SO DO NOT CHANGE
GitHubToken: "dummy" # N/A SO DO NOT CHANGE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Resources:
ResourceBucket: !Ref ResourceBucket
ResourceBucketRelativePath: !Ref ResourceBucketRelativePath
CreateElasticsearchServiceLinkedRole: "No" # DO NOT CHANGE - should be managed by EE module in the "IAM Service Linked Roles" field
SourceDeploymentType: "CodeCommit" # DO NOT CHANGE
SourceDeploymentType: "S3" # DO NOT CHANGE
GitHubRepo: "retail-demo-store" # N/A SO DO NOT CHANGE
GitHubBranch: "master" # N/A SO DO NOT CHANGE
GitHubToken: "dummy" # N/A SO DO NOT CHANGE
Expand Down
Loading

0 comments on commit db49913

Please sign in to comment.