Skip to content

Commit

Permalink
clean access logging buckets in integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh committed Jan 5, 2022
1 parent 995cf8f commit f1cece2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ServerSideEncryptionConfiguration": [
{
"ServerSideEncryptionByDefault": {
"SSEAlgorithm": "AES256"
"SSEAlgorithm": "aws:kms"
}
}
]
Expand Down Expand Up @@ -153,8 +153,7 @@
"LoggingConfiguration": {
"DestinationBucketName": {
"Ref": "testiots3integrationS3LoggingBucket606446CC"
},
"LogFilePrefix": "logs"
}
},
"PublicAccessBlockConfiguration": {
"BlockPublicAcls": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ const props: IotToS3Props = {
bucketProps: {
encryption: BucketEncryption.KMS,
encryptionKey: existingKey,
removalPolicy: RemovalPolicy.DESTROY,
serverAccessLogsPrefix: 'logs'
removalPolicy: RemovalPolicy.DESTROY
},
loggingBucketProps: {
encryption: BucketEncryption.KMS_MANAGED,
removalPolicy: RemovalPolicy.DESTROY
}
};

Expand Down

0 comments on commit f1cece2

Please sign in to comment.