Skip to content

Commit

Permalink
Add account id to bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jun 16, 2024
1 parent c17ca1f commit 59e92ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
AWS_ROLE_TO_ASSUME: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/coderunner-pipeline-role
REPOSITORY_NAME: coderunner
CLOUDFORMATION_ROLE_ARN: arn:aws:iam::254837279431:role/coderunner-cloudformation-role
CODERUNNER_BUCKET: coderunner
CODERUNNER_BUCKET: coderunner-${{ secrets.AWS_ACCOUNT_ID }}

jobs:
unit-test:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Resources:
CodeRunnerBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: coderunner
BucketName: !Sub 'coderunner-${AWS::AccountId}'

ClusterCredentials:
Type: AWS::SecretsManager::Secret
Expand Down

0 comments on commit 59e92ae

Please sign in to comment.