diff --git a/docs/2.0/docs/pipelines/tutorials/deploying-to-aws-gov-cloud.mdx b/docs/2.0/docs/pipelines/tutorials/deploying-to-aws-gov-cloud.mdx index ac071bd97..d6416864f 100644 --- a/docs/2.0/docs/pipelines/tutorials/deploying-to-aws-gov-cloud.mdx +++ b/docs/2.0/docs/pipelines/tutorials/deploying-to-aws-gov-cloud.mdx @@ -148,7 +148,7 @@ terragrunt import "aws_iam_openid_connect_provider.gitlab" "ARN_OF_EXISTING_OIDC ## Testing Pipelines with the newly added GovCloud account -We'll validate pipelines by creating a new S3 bucket in the GovCloud account. +We'll validate pipelines by creating a new S3 bucket in the GovCloud account. Replace with your desired bucket name. Ensure the bucket name is unique. 1. Create a new folder in `s3-bucket-test` ```bash @@ -158,7 +158,7 @@ mkdir -p $$ACCOUNT_NAME$$/$$GOVCLOUD_REGION$$/s3-bucket-test/ 2. Add the following content to the `terragrunt.hcl` file: ```hcl title="$$ACCOUNT_NAME$$/$$GOVCLOUD_REGION$$/s3-bucket-test/terragrunt.hcl" terraform { - source = "git::https://github.com/gruntwork-io/terraform-aws-service-catalog.git//.//modules/data-stores/s3-bucket?ref=v0.118.19" + source = "github.com/gruntwork-io/terragrunt-scale-catalog//modules/aws/s3-bucket?ref=v1.3.0" } include "root" { @@ -166,14 +166,7 @@ include "root" { } inputs = { - # -------------------------------------------------------------------------------------------------------------------- - # Required input variables - # -------------------------------------------------------------------------------------------------------------------- - - # Description: What to name the S3 bucket. Note that S3 bucket names must be globally unique across all AWS users! - # Type: string - primary_bucket = "$$TEST_BUCKET_NAME$$" # TODO: fill in value, ensure it is globally unique - + name = "$$S3_BUCKET_NAME$$" } ``` diff --git a/docs/2.0/docs/pipelines/tutorials/deploying-your-first-infrastructure-change.mdx b/docs/2.0/docs/pipelines/tutorials/deploying-your-first-infrastructure-change.mdx index 1e5dc1285..c64f1386d 100644 --- a/docs/2.0/docs/pipelines/tutorials/deploying-your-first-infrastructure-change.mdx +++ b/docs/2.0/docs/pipelines/tutorials/deploying-your-first-infrastructure-change.mdx @@ -62,12 +62,8 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl 3. Add the Terragrunt code below to the newly created `terragrunt.hcl` file to define the S3 bucket. Replace with your desired bucket name. Ensure the bucket name is unique. ```hcl title="$$ACCOUNT_NAME$$/$$REGION$$/data-storage/s3/terragrunt.hcl" - # ------------------------------------------------------------------------------------------------------ - # DEPLOY GRUNTWORK's S3-BUCKET MODULE - # ------------------------------------------------------------------------------------------------------ - terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-service-catalog.git//modules/data-stores/s3-bucket?ref=v0.116.1" + source = "github.com/gruntwork-io/terragrunt-scale-catalog//modules/aws/s3-bucket?ref=v1.3.0" } include "root" { @@ -75,7 +71,7 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl } inputs = { - primary_bucket = "$$S3_BUCKET_NAME$$" + name = "$$S3_BUCKET_NAME$$" } ``` @@ -113,10 +109,6 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl 3. Add the Terragrunt code below to define the Resource Group. ```hcl title="$$SUBSCRIPTION_NAME$$/$$LOCATION$$/resource-groups/$$RESOURCE_GROUP_NAME$$/resource-group/terragrunt.hcl" - # ------------------------------------------------------------------------------------------------------ - # DEPLOY GRUNTWORK's AZURE RESOURCE GROUP MODULE - # ------------------------------------------------------------------------------------------------------ - include "root" { path = find_in_parent_folders("root.hcl") } @@ -134,10 +126,6 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl 4. Add the Terragrunt code below to define the Storage Account with a dependency on the Resource Group. Replace with your desired storage account name. Ensure the name is unique and follows Azure naming conventions (lowercase letters and numbers only, 3-24 characters). ```hcl title="$$SUBSCRIPTION_NAME$$/$$LOCATION$$/resource-groups/$$RESOURCE_GROUP_NAME$$/data-storage/storage-account/terragrunt.hcl" - # ------------------------------------------------------------------------------------------------------ - # DEPLOY GRUNTWORK's AZURE STORAGE ACCOUNT MODULE - # ------------------------------------------------------------------------------------------------------ - include "root" { path = find_in_parent_folders("root.hcl") }