From 185036deebb151577b0b9855b321db1f0137a9bb Mon Sep 17 00:00:00 2001 From: xpk Date: Mon, 17 Jul 2023 21:50:41 +0800 Subject: [PATCH] UPD: fine-grained billing access --- .../roles_iam_resources/cloudhealth-role.tf | 258 +++++++++--------- 1 file changed, 133 insertions(+), 125 deletions(-) diff --git a/modules/security_identity_compliance/roles_iam_resources/cloudhealth-role.tf b/modules/security_identity_compliance/roles_iam_resources/cloudhealth-role.tf index 90d1024..01753ee 100644 --- a/modules/security_identity_compliance/roles_iam_resources/cloudhealth-role.tf +++ b/modules/security_identity_compliance/roles_iam_resources/cloudhealth-role.tf @@ -1,7 +1,7 @@ -resource aws_iam_role cloudhealth-role { - count = var.create-cloudhealth-resources ? 1 : 0 - name = "CloudHealth-Role" - tags = var.default-tags +resource "aws_iam_role" "cloudhealth-role" { + count = var.create-cloudhealth-resources ? 1 : 0 + name = "CloudHealth-Role" + tags = var.default-tags assume_role_policy = <