File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
infra/copilot/streamlit/addons Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,9 @@ Parameters:
11
11
12
12
Resources :
13
13
S3martsBucketAccessPolicy :
14
- Type : AWS::IAM::Policy
14
+ Type : AWS::IAM::ManagedPolicy
15
15
Properties :
16
- PolicyName : s3martsBucketPolicy
17
- # Attach this policy to the TaskRole provided by Copilot.
18
- Roles :
19
- - " pems-dev-streamlit-TaskRole-5Zuwi15thMkN"
16
+ Description : " Access to S3 marts bucket"
20
17
PolicyDocument :
21
18
Version : " 2012-10-17"
22
19
Statement :
@@ -30,6 +27,6 @@ Resources:
30
27
Resource : " arn:aws:s3:::caltrans-pems-prd-us-west-2-marts"
31
28
32
29
Outputs :
33
- S3martsAccessPolicyArn :
34
- Description : " The ARN of the S3 marts access policy"
30
+ S3martsBucketAccessPolicyArn :
31
+ Description : " The ARN of the S3 marts bucket access policy"
35
32
Value : !Ref S3martsBucketAccessPolicy
You can’t perform that action at this time.
0 commit comments