Skip to content

Commit 435066b

Browse files
committed
change s3 bucket ARN to be valid
1 parent d06339a commit 435066b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

template.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ Resources:
102102
- s3:ListBucketMultipartUploads
103103
- s3:PutObject
104104
Resource:
105-
- !Sub arn:aws:s3:::${Region}-${Environment}-fraud-detection-data/processed/
106105
- !Sub arn:aws:s3:::${Region}-${Environment}-fraud-detection-data/*
107106
- Effect: Allow
108107
Action:
@@ -117,7 +116,7 @@ Resources:
117116
DeliveryStreamType: DirectPut
118117
ExtendedS3DestinationConfiguration:
119118
RoleARN: !GetAtt FirehoseRole.Arn
120-
BucketARN: !Sub arn:aws:s3:::${Region}-${Environment}-fraud-detection-data/processed/
119+
BucketARN: !Sub arn:aws:s3:::${Region}-${Environment}-fraud-detection-data
121120
Prefix: processed-data/
122121
ErrorOutputPrefix: failed-data/
123122
ProcessingConfiguration:
@@ -133,5 +132,5 @@ Outputs:
133132
Value: !Ref KinesisStream
134133
Description: Name of the Kinesis stream created
135134
BucketARN:
136-
Value: !Sub arn:aws:s3:::${Region}-${Environment}-fraud-detection-data/processed/
135+
Value: !Sub arn:aws:s3:::${Region}-${Environment}-fraud-detection-data/
137136
Description: ARN of the S3 bucket where processed data will be stored

0 commit comments

Comments
 (0)