File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -472,19 +472,18 @@ Resources:
472472 aws:SourceAccount : !Ref "AWS::AccountId"
473473 ArnLike :
474474 aws:SourceArn : !GetAtt TrustStoreBucket.Arn
475- # add this in once cpt-ui gets released to all environments
476- # - Effect: Allow
477- # Principal:
478- # Service: logging.s3.amazonaws.com
479- # Action:
480- # - s3:PutObject*
481- # Resource:
482- # - !Join ["", [!GetAtt AuditLoggingBucket.Arn, "/static-content/*"]]
483- # Condition:
484- # StringEquals:
485- # aws:SourceAccount: !Ref "AWS::AccountId"
486- # ArnLike:
487- # aws:SourceArn: !ImportValue "cpt-ui-shared-resources:StaticContentBucket:Arn"
475+ - Effect : Allow
476+ Principal :
477+ Service : logging.s3.amazonaws.com
478+ Action :
479+ - s3:PutObject*
480+ Resource :
481+ - !Join ["", [!GetAtt AuditLoggingBucket.Arn, "/static-content/*"]]
482+ Condition :
483+ StringEquals :
484+ aws:SourceAccount : !Ref "AWS::AccountId"
485+ ArnLike :
486+ aws:SourceArn : !ImportValue "cpt-ui-stateful-resources:StaticContentBucket:Arn"
488487 # endregion
489488
490489 ALBLoggingBucket :
You can’t perform that action at this time.
0 commit comments