We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc61cbd commit 807e9e7Copy full SHA for 807e9e7
resources/s3-stack.yaml
@@ -2,15 +2,23 @@ AWSTemplateFormatVersion: '2010-09-09'
2
Transform: AWS::Serverless-2016-10-31
3
4
Parameters:
5
- ConfigFile:
+ Environment:
6
Type: String
7
+ Description: Path to the configuration file
8
+ Region:
9
+ Type: String
10
+ Description: Region in which we are setting up
11
+
12
13
Resources:
14
15
S3Bucket:
16
Type: AWS::S3::Bucket
17
Properties:
- BucketName: !Sub 'raw-transactions-${ConfigFile.EnvironmentType}-${Region}'
18
+ BucketName: !Sub
19
+ - 'raw-transactions-${env}-${region}'
20
+ - env: !Ref Environment
21
+ region: !Ref Region
22
23
Outputs:
24
S3BucketArn:
0 commit comments