Skip to content

Commit 446e52f

Browse files
authored
changed cloudwatch access log bucket name to meet character requirements (#626)
* changed cloudwatch access log bucket name to meet character requirements * shortened cloudwatch bucket name
1 parent 14edaa0 commit 446e52f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

infrastructure/stacks/api-layer/s3_buckets.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module "s3_dq_metrics_bucket" {
6060

6161
module "s3_cloudtrail_bucket" {
6262
source = "../../modules/s3"
63-
bucket_name = "eli-cloudwatch-logs"
63+
bucket_name = "eli-cloudwatch"
6464
environment = var.environment
6565
project_name = var.project_name
6666
stack_name = local.stack_name

infrastructure/stacks/iams-developer-roles/github_actions_policies.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ resource "aws_iam_policy" "s3_management" {
235235
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-dq-metrics/*",
236236
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-dq-metrics-access-logs",
237237
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-dq-metrics-access-logs/*",
238-
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch-logs",
239-
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch-logs/*",
240-
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch-logs-access-logs",
241-
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch-logs-access-logs/*",
238+
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch",
239+
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch/*",
240+
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch-access-logs",
241+
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-eli-cloudwatch-access-logs/*",
242242
]
243243
}
244244
]

0 commit comments

Comments
 (0)