mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
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:
parent
eacf9cb3c0
commit
91063d8385
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user