diff --git a/app_account_role.tf b/app_account_role.tf index d1c9394..971019a 100644 --- a/app_account_role.tf +++ b/app_account_role.tf @@ -28,7 +28,7 @@ module "app_account_role" { ############################################################################### resource "aws_iam_policy" "manage_apps" { - name = "ManageApplicationResources" + name_prefix = "ManageApplicationResources" description = "Policy to permit management of ${var.resource_prefix} application resources" policy = data.aws_iam_policy_document.manage_apps.json tags = var.tags diff --git a/data_account_role.tf b/data_account_role.tf index 641787c..ade0231 100644 --- a/data_account_role.tf +++ b/data_account_role.tf @@ -28,7 +28,7 @@ module "data_account_role" { ############################################################################### resource "aws_iam_policy" "manage_data_account" { - name = "ManageDataAccountResources" + name_prefix = "ManageDataAccountResources" description = "Policy to permit management of ${var.resource_prefix} data account resources" policy = data.aws_iam_policy_document.manage_data_account.json tags = var.tags