Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from ministryofjustice/fix-policy-naming
Browse files Browse the repository at this point in the history
fix: changes policy name to name_prefix
  • Loading branch information
roblevi authored Aug 24, 2022
2 parents 66084fd + 5139615 commit 0b7496c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app_account_role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion data_account_role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b7496c

Please sign in to comment.