Skip to content

Commit c88c586

Browse files
authored
Merge pull request #356 from maekawataiki/fix/cloudformation
Fix CloudFormation
2 parents 13e3301 + bab0ebf commit c88c586

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

amplify/backend/auth/amplifyIdentityBrokerAuth/amplifyIdentityBrokerAuth-cloudformation-template.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,14 @@ Resources:
879879
],
880880
],
881881
]
882+
- PolicyName: brokeraue6c0c3e3_sns_pass_role_policy
883+
PolicyDocument:
884+
Version: 2012-10-17
885+
Statement:
886+
- Effect: Allow
887+
Action:
888+
- "iam:PassRole"
889+
Resource: !GetAtt SNSRole.Arn
882890
MFALambda:
883891
# Lambda which sets MFA config values
884892
# Depends on MFALambdaRole for role ARN

amplify/backend/hosting/S3AndCloudFront/template.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
"ServerSideEncryptionConfiguration": [
3232
{
3333
"ServerSideEncryptionByDefault": {
34-
"SSEAlgorithm": "aws:kms",
35-
"KMSMasterKeyID": "KMS-KEY-ARN"
34+
"SSEAlgorithm": "AES256"
3635
}
3736
}
3837
]
@@ -141,12 +140,13 @@
141140
],
142141
"Properties": {
143142
"DistributionConfig": {
143+
"HttpVersion": "http2",
144144
"Origins": [
145145
{
146146
"DomainName": {
147147
"Fn::GetAtt": [
148148
"S3Bucket",
149-
"DomainName"
149+
"RegionalDomainName"
150150
]
151151
},
152152
"Id": "hostingS3Bucket",

0 commit comments

Comments
 (0)