Skip to content

Commit

Permalink
chore: add quotes to fix the invalid template for svc package for sta…
Browse files Browse the repository at this point in the history
…tic site (#5498)

Related: #5472 (comment)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
  • Loading branch information
KollaAdithya authored Nov 22, 2023
1 parent 382fe1a commit 262eefa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Resources:
!Sub "${AppName}-ArtifactKey"
Condition:
StringEquals:
kms:EncryptionContext:aws:s3:arn: arn:aws:s3:::stackset-bucket
kms:EncryptionContext:aws:s3:arn: "arn:aws:s3:::stackset-bucket"
kms:ViaService: !Sub 's3.${AWS::Region}.amazonaws.com'
- PolicyName: ServiceBucketAccess
PolicyDocument:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Resources:
!Sub "${AppName}-ArtifactKey"
Condition:
StringEquals:
kms:EncryptionContext:aws:s3:arn: arn:aws:s3:::stackset-bucket
kms:EncryptionContext:aws:s3:arn: "arn:aws:s3:::stackset-bucket"
kms:ViaService: !Sub 's3.${AWS::Region}.amazonaws.com'
- PolicyName: ServiceBucketAccess
PolicyDocument:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Resources:
!Sub "${AppName}-ArtifactKey"
Condition:
StringEquals:
kms:EncryptionContext:aws:s3:arn: arn:aws:s3:::{{.AssetMappingFileBucket}}
kms:EncryptionContext:aws:s3:arn: "arn:aws:s3:::{{.AssetMappingFileBucket}}"
kms:ViaService: !Sub 's3.${AWS::Region}.amazonaws.com'
- PolicyName: ServiceBucketAccess
PolicyDocument:
Expand Down

0 comments on commit 262eefa

Please sign in to comment.