From 55ced23d4efde603efd71e0bd27401eb5530c8b3 Mon Sep 17 00:00:00 2001 From: Pat Heard Date: Tue, 9 Apr 2024 14:50:37 +0000 Subject: [PATCH] fix: update import statement group references --- .../iam_identity_center/platform_articles.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/terragrunt/org_account/iam_identity_center/platform_articles.tf b/terragrunt/org_account/iam_identity_center/platform_articles.tf index b0a252de..5309afed 100644 --- a/terragrunt/org_account/iam_identity_center/platform_articles.tf +++ b/terragrunt/org_account/iam_identity_center/platform_articles.tf @@ -73,40 +73,40 @@ resource "aws_ssoadmin_account_assignment" "articles_devs_platform_list_manager" # import { to = aws_identitystore_group.articles_devs - id = "2c2df578-9041-7052-74b1-a2d362f212bb" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb" } import { to = aws_identitystore_group.articles_vpn - id = "dccd4518-30d1-7014-0e65-d503dc3c4b75" + id = "${local.sso_identity_store_id}/dccd4518-30d1-7014-0e65-d503dc3c4b75" } import { to = aws_ssoadmin_account_assignment.articles_devs_staging["AWSAdministratorAccess"] - id = "2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,729164266357,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_administrator_access},${local.sso_instance_arn}" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,729164266357,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_administrator_access},${local.sso_instance_arn}" } import { to = aws_ssoadmin_account_assignment.articles_devs_staging["AWSReadOnlyAccess"] - id = "2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,729164266357,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_read_only_access},${local.sso_instance_arn}" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,729164266357,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_read_only_access},${local.sso_instance_arn}" } import { to = aws_ssoadmin_account_assignment.articles_devs_production["AWSAdministratorAccess"] - id = "2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,472286471787,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_administrator_access},${local.sso_instance_arn}" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,472286471787,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_administrator_access},${local.sso_instance_arn}" } import { to = aws_ssoadmin_account_assignment.articles_devs_production["AWSReadOnlyAccess"] - id = "2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,472286471787,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_read_only_access},${local.sso_instance_arn}" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,472286471787,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_read_only_access},${local.sso_instance_arn}" } import { to = aws_ssoadmin_account_assignment.articles_devs_platform_list_manager["AWSAdministratorAccess"] - id = "2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,762579868088,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_administrator_access},${local.sso_instance_arn}" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,762579868088,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_administrator_access},${local.sso_instance_arn}" } import { to = aws_ssoadmin_account_assignment.articles_devs_platform_list_manager["AWSReadOnlyAccess"] - id = "2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,762579868088,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_read_only_access},${local.sso_instance_arn}" + id = "${local.sso_identity_store_id}/2c2df578-9041-7052-74b1-a2d362f212bb,GROUP,762579868088,AWS_ACCOUNT,${data.aws_ssoadmin_permission_set.aws_read_only_access},${local.sso_instance_arn}" }