Skip to content

Commit

Permalink
revert bucket names
Browse files Browse the repository at this point in the history
  • Loading branch information
adnahassan committed Oct 23, 2024
1 parent 08e873a commit 99d35ca
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion iac/main/resources/athena.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AthenaWorkgroupBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-athena-workgroup-new
BucketName: !Sub ${Environment}-dap-athena-workgroup
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-athena-workgroup/log
Expand Down
2 changes: 1 addition & 1 deletion iac/main/resources/cdn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DAPAnalystsFilesBucket:
Condition: IsQuicksightEnvironment
Properties:
AccessControl: Private
BucketName: !Sub '${Environment}-dap-analysts-files-new'
BucketName: !Sub '${Environment}-dap-analysts-files'
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-analysts-assets/log
Expand Down
8 changes: 4 additions & 4 deletions iac/main/resources/global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GlobalLogBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub '${Environment}-dap-s3-logs-new'
BucketName: !Sub '${Environment}-dap-s3-logs'
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
Expand Down Expand Up @@ -55,7 +55,7 @@ GlobalNonEventBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub '${Environment}-dap-s3-non-event-new'
BucketName: !Sub '${Environment}-dap-s3-non-event'
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-s3-non-event/log
Expand Down Expand Up @@ -100,7 +100,7 @@ VPCFlowLogsBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub '${Environment}-dap-vpc-flow-logs-new'
BucketName: !Sub '${Environment}-dap-vpc-flow-logs'
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-s3-flow-log/log
Expand Down Expand Up @@ -717,7 +717,7 @@ TrailBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub '${Environment}-dap-cloud-trail-new'
BucketName: !Sub '${Environment}-dap-cloud-trail'
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: cloudtrail/trail
Expand Down
2 changes: 1 addition & 1 deletion iac/main/resources/manual-reference-data-ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GlueJobResultsBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-glue-job-process-results-new
BucketName: !Sub ${Environment}-dap-glue-job-process-results
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-glue-job-process-results/log
Expand Down
2 changes: 1 addition & 1 deletion iac/main/resources/raw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ RawLayerBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-raw-layer-new
BucketName: !Sub ${Environment}-dap-raw-layer
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-raw-layer/log
Expand Down
2 changes: 1 addition & 1 deletion iac/main/resources/redshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ FlywayFilesBucket:
Type: AWS::S3::Bucket
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-flyway-files-new
BucketName: !Sub ${Environment}-dap-flyway-files
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-flyway-files/log
Expand Down
2 changes: 1 addition & 1 deletion iac/main/resources/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ StageLayerBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-stage-layer-new
BucketName: !Sub ${Environment}-dap-stage-layer
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-stage-layer/log
Expand Down
6 changes: 3 additions & 3 deletions iac/main/resources/state-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ELTMetadataBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-elt-metadata-new
BucketName: !Sub ${Environment}-dap-elt-metadata
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-elt-metadata/log
Expand Down Expand Up @@ -83,7 +83,7 @@ StateMachineResultsBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-step-function-process-results-new
BucketName: !Sub ${Environment}-dap-step-function-process-results
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-step-function-process-results/log
Expand Down Expand Up @@ -323,7 +323,7 @@ DataQualityMetricsBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-data-quality-metrics-new
BucketName: !Sub ${Environment}-dap-data-quality-metrics
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-data-quality-metrics/log
Expand Down
2 changes: 1 addition & 1 deletion iac/main/resources/sustainability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SustainabilityBucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-sustainability-new
BucketName: !Sub ${Environment}-dap-sustainability
LoggingConfiguration:
DestinationBucketName: !Ref GlobalLogBucket
LogFilePrefix: dap-sustainability/log
Expand Down
2 changes: 1 addition & 1 deletion iac/quicksight-access/resources/quicksight-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ QuickSightLogBucket:
Condition: IsQuicksightEnvironment
Properties:
AccessControl: Private
BucketName: !Sub '${Environment}-dap-quicksight-s3-logs-new'
BucketName: !Sub '${Environment}-dap-quicksight-s3-logs'
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ QuicksightExportBucket:
Condition: IsQuicksightEnvironment
Properties:
AccessControl: Private
BucketName: !Sub ${Environment}-dap-quicksight-exports-new
BucketName: !Sub ${Environment}-dap-quicksight-exports
# can't use !Ref GlobalLogBucket here as GlobalLogBucket is in the main stack
LoggingConfiguration:
DestinationBucketName: !Sub ${Environment}-dap-s3-logs
Expand Down

0 comments on commit 99d35ca

Please sign in to comment.