Skip to content

Commit f6bf5f3

Browse files
committed
fix: Make schedule policies work in multiple regions
1 parent 7b2b484 commit f6bf5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ec2-instance-state/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module "cloud_custodian_lambda" {
102102
"cache_dir": "s3://${local.prefix}ec2-instance-state-${local.account_id}/cache",
103103
"cache_period": 15
104104
},
105-
"role": "arn:aws:iam::${local.account_id}:role/custodian-dev-ec2-instance-state-lambda",
105+
"role": "arn:aws:iam::${local.account_id}:role/${local.prefix}ec2-instance-state-lambda",
106106
"events": [
107107
"terminated"
108108
]

0 commit comments

Comments
 (0)