Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Feb 8, 2024
1 parent 8cc7d06 commit 41cb1f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions cloudformation/cloudwatch-rum/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ Resources:
# https://docs.aws.amazon.com/ja_jp/aws-managed-policy/latest/reference/AmazonCloudWatchRUMFullAccess.html
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonCloudWatchRUMFullAccess
Metadata:
guard:
SuppressedRules:
- IAM_NO_INLINE_POLICY_CHECK

CWRumAppMonitor:
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html
Expand Down
7 changes: 3 additions & 4 deletions cloudformation/static-web-site-distribution/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Resources:
Status: Enabled
Prefix: "replicated/"
LoggingConfiguration:
DestinationBucketName: !Ref ReplicationLogBucket
DestinationBucketName: !Ref ContentS3BucketReplica
LogFilePrefix: "logs/"

ContentBucketPolicy:
Expand All @@ -61,7 +61,7 @@ Resources:
Bool:
"aws:SecureTransport": false
NumericLessThan:
"s3:TlsVersion": "1.2"
"s3:TlsVersion": "1.3"
Principal: "*"

ContentBucketReplicationRole:
Expand Down Expand Up @@ -115,7 +115,6 @@ Resources:
- S3_BUCKET_REPLICATION_ENABLED
- S3_BUCKET_LOGGING_ENABLED


ContentBucketReplicaPolicy:
Type: AWS::S3::BucketPolicy
Properties:
Expand All @@ -133,5 +132,5 @@ Resources:
Bool:
"aws:SecureTransport": false
NumericLessThan:
"s3:TlsVersion": "1.2"
"s3:TlsVersion": "1.3"
Principal: "*"

0 comments on commit 41cb1f1

Please sign in to comment.