From 65182d58423f005de1b6650982bd23941892438b Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 29 Jul 2025 12:19:33 -0400 Subject: [PATCH] update doc --- rolesanywhere/README.md | 4 ++-- rolesanywhere/main.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rolesanywhere/README.md b/rolesanywhere/README.md index f52f197..3334100 100644 --- a/rolesanywhere/README.md +++ b/rolesanywhere/README.md @@ -18,7 +18,7 @@ tf-apply -target=aws_iam_policy.mypolicy Creating a role with one attached policy. ```hcl module "myrole2" { - source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role.git" + source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role//rolesanywhere?ref=tf-ugprade" role_name = "my-role2" attached_policies = [ data.aws_iam_policy.aws-managed-readonlyaccess.arn ] contact_group_email = "group-email-address@census.gov" @@ -35,7 +35,7 @@ data "aws_iam_document_policy" "my-policy-1" { } module "myrole3" { - source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role.git" + source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role//rolesanywhere?ref=tf-ugprade" role_name = "my-role3" attached_policies = [ data.aws_iam_policy.aws-managed-readonlyaccess.arn ] contact_group_email = "group-email-address@census.gov" diff --git a/rolesanywhere/main.tf b/rolesanywhere/main.tf index f4ba8ad..ef0c5e9 100644 --- a/rolesanywhere/main.tf +++ b/rolesanywhere/main.tf @@ -18,7 +18,7 @@ * Creating a role with one attached policy. * ```hcl * module "myrole2" { -* source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role.git" +* source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role//rolesanywhere?ref=tf-ugprade" * role_name = "my-role2" * attached_policies = [ data.aws_iam_policy.aws-managed-readonlyaccess.arn ] * contact_group_email = "group-email-address@census.gov" @@ -35,7 +35,7 @@ * } * * module "myrole3" { -* source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role.git" +* source = "git@github.e.it.census.gov:terraform-modules/aws-iam-role//rolesanywhere?ref=tf-ugprade" * role_name = "my-role3" * attached_policies = [ data.aws_iam_policy.aws-managed-readonlyaccess.arn ] * contact_group_email = "group-email-address@census.gov"