Terraform addon monitoring fix (#14994)

Fixes a problem with concurrency inside of an aws account (multiple
fleets using the monitoring module).
This commit is contained in:
Robert Fairburn 2023-11-07 10:59:26 -06:00 committed by GitHub
parent eacf9cb3c0
commit 91063d8385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,7 @@ resource "aws_iam_policy" "cron_monitoring_lambda" {
resource "aws_iam_role" "cron_monitoring_lambda" {
count = var.cron_monitoring == null ? 0 : 1
name = "cron-monitoring-lambda"
name = "${var.customer_prefix}-cron-monitoring-lambda"
assume_role_policy = data.aws_iam_policy_document.cron_monitoring_lambda_assume_role.json
}