File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ data "aws_acm_certificate" "validation_cert" {
1515 most_recent = true
1616}
1717
18+ data "aws_kms_alias" "networking_ssm_key" {
19+ name = " alias/${ var . environment } -networking-ssm-parameters"
20+ }
21+
1822data "aws_ssm_parameter" "mtls_api_client_cert" {
1923 name = " /${ var . environment } /mtls/api_client_cert"
2024}
Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ resource "aws_iam_policy" "api_infrastructure" {
5959 " kms:List*" ,
6060 " kms:Describe*" ,
6161 " kms:GetKeyPolicy*" ,
62+ " kms:GetKeyRotationStatus" ,
6263
6364 # Cloudwatch permissions
6465 " logs:Describe*" ,
66+ " logs:ListTagsForResource" ,
6567
6668 # EC2 permissions
6769 " ec2:Describe*" ,
@@ -83,6 +85,7 @@ resource "aws_iam_policy" "api_infrastructure" {
8385 " acm:ListCertificates" ,
8486 " acm:DescribeCertificate" ,
8587 " acm:GetCertificate" ,
88+ " acm:ListTagsForCertificate" ,
8689 ],
8790
8891
You can’t perform that action at this time.
0 commit comments