Skip to content

Commit

Permalink
Merge branch 'main' into 22922-additionalCloudWatchMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Jan 25, 2024
2 parents ec923e5 + c17dbde commit 16ea04e
Show file tree
Hide file tree
Showing 21 changed files with 467 additions and 84 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,116 @@
}
}
},
"SecretEncryptionKey40C82244": {
"Type": "AWS::KMS::Key",
"Properties": {
"KeyPolicy": {
"Statement": [
{
"Action": "kms:*",
"Effect": "Allow",
"Principal": {
"AWS": {
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":iam::",
{
"Ref": "AWS::AccountId"
},
":root"
]
]
}
},
"Resource": "*"
},
{
"Action": [
"kms:CreateGrant",
"kms:Decrypt",
"kms:DescribeKey",
"kms:Encrypt",
"kms:GenerateDataKey*",
"kms:ReEncrypt*"
],
"Condition": {
"StringEquals": {
"kms:ViaService": {
"Fn::Join": [
"",
[
"secretsmanager.",
{
"Ref": "AWS::Region"
},
".amazonaws.com"
]
]
}
}
},
"Effect": "Allow",
"Principal": {
"AWS": {
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":iam::",
{
"Ref": "AWS::AccountId"
},
":root"
]
]
}
},
"Resource": "*"
},
{
"Action": "kms:Decrypt",
"Condition": {
"StringEquals": {
"kms:ViaService": {
"Fn::Join": [
"",
[
"secretsmanager.",
{
"Ref": "AWS::Region"
},
".amazonaws.com"
]
]
}
}
},
"Effect": "Allow",
"Principal": {
"AWS": {
"Fn::GetAtt": [
"dbProxyIAMRole662F3AB8",
"Arn"
]
}
},
"Resource": "*"
}
],
"Version": "2012-10-17"
}
},
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"dbInstanceSubnetGroupD062EC9E": {
"Type": "AWS::RDS::DBSubnetGroup",
"Properties": {
Expand Down Expand Up @@ -471,6 +581,12 @@
"GenerateStringKey": "password",
"PasswordLength": 30,
"SecretStringTemplate": "{\"username\":\"master\"}"
},
"KmsKeyId": {
"Fn::GetAtt": [
"SecretEncryptionKey40C82244",
"Arn"
]
}
},
"UpdateReplacePolicy": "Delete",
Expand Down Expand Up @@ -567,6 +683,16 @@
"Resource": {
"Ref": "dbInstanceSecretAttachment88CFBDAE"
}
},
{
"Action": "kms:Decrypt",
"Effect": "Allow",
"Resource": {
"Fn::GetAtt": [
"SecretEncryptionKey40C82244",
"Arn"
]
}
}
],
"Version": "2012-10-17"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 16ea04e

Please sign in to comment.