Skip to content

Commit ca9b324

Browse files
authored
fix: Switching to TGS catalog for tutorial (#2841)
1 parent 65103ff commit ca9b324

File tree

2 files changed

+5
-24
lines changed

2 files changed

+5
-24
lines changed

docs/2.0/docs/pipelines/tutorials/deploying-to-aws-gov-cloud.mdx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ terragrunt import "aws_iam_openid_connect_provider.gitlab" "ARN_OF_EXISTING_OIDC
148148

149149
## Testing Pipelines with the newly added GovCloud account
150150

151-
We'll validate pipelines by creating a new S3 bucket in the GovCloud account.
151+
We'll validate pipelines by creating a new S3 bucket in the GovCloud account. Replace <CustomizableValue id='S3_BUCKET_NAME'/> with your desired bucket name. Ensure the bucket name is unique.
152152

153153
1. Create a new folder in `s3-bucket-test`
154154
```bash
@@ -158,22 +158,15 @@ mkdir -p $$ACCOUNT_NAME$$/$$GOVCLOUD_REGION$$/s3-bucket-test/
158158
2. Add the following content to the `terragrunt.hcl` file:
159159
```hcl title="$$ACCOUNT_NAME$$/$$GOVCLOUD_REGION$$/s3-bucket-test/terragrunt.hcl"
160160
terraform {
161-
source = "git::https://github.com/gruntwork-io/terraform-aws-service-catalog.git//.//modules/data-stores/s3-bucket?ref=v0.118.19"
161+
source = "github.com/gruntwork-io/terragrunt-scale-catalog//modules/aws/s3-bucket?ref=v1.3.0"
162162
}
163163
164164
include "root" {
165165
path = find_in_parent_folders("root.hcl")
166166
}
167167
168168
inputs = {
169-
# --------------------------------------------------------------------------------------------------------------------
170-
# Required input variables
171-
# --------------------------------------------------------------------------------------------------------------------
172-
173-
# Description: What to name the S3 bucket. Note that S3 bucket names must be globally unique across all AWS users!
174-
# Type: string
175-
primary_bucket = "$$TEST_BUCKET_NAME$$" # TODO: fill in value, ensure it is globally unique
176-
169+
name = "$$S3_BUCKET_NAME$$"
177170
}
178171
```
179172

docs/2.0/docs/pipelines/tutorials/deploying-your-first-infrastructure-change.mdx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,16 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl
6262
3. Add the Terragrunt code below to the newly created `terragrunt.hcl` file to define the S3 bucket. Replace <CustomizableValue id='S3_BUCKET_NAME'/> with your desired bucket name. Ensure the bucket name is unique.
6363

6464
```hcl title="$$ACCOUNT_NAME$$/$$REGION$$/data-storage/s3/terragrunt.hcl"
65-
# ------------------------------------------------------------------------------------------------------
66-
# DEPLOY GRUNTWORK's S3-BUCKET MODULE
67-
# ------------------------------------------------------------------------------------------------------
68-
6965
terraform {
70-
source = "git::git@github.com:gruntwork-io/terraform-aws-service-catalog.git//modules/data-stores/s3-bucket?ref=v0.116.1"
66+
source = "github.com/gruntwork-io/terragrunt-scale-catalog//modules/aws/s3-bucket?ref=v1.3.0"
7167
}
7268
7369
include "root" {
7470
path = find_in_parent_folders("root.hcl")
7571
}
7672
7773
inputs = {
78-
primary_bucket = "$$S3_BUCKET_NAME$$"
74+
name = "$$S3_BUCKET_NAME$$"
7975
}
8076
```
8177

@@ -113,10 +109,6 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl
113109
3. Add the Terragrunt code below to define the Resource Group.
114110

115111
```hcl title="$$SUBSCRIPTION_NAME$$/$$LOCATION$$/resource-groups/$$RESOURCE_GROUP_NAME$$/resource-group/terragrunt.hcl"
116-
# ------------------------------------------------------------------------------------------------------
117-
# DEPLOY GRUNTWORK's AZURE RESOURCE GROUP MODULE
118-
# ------------------------------------------------------------------------------------------------------
119-
120112
include "root" {
121113
path = find_in_parent_folders("root.hcl")
122114
}
@@ -134,10 +126,6 @@ The default `bootstrap` Terragrunt stack provided in the installation guide incl
134126
4. Add the Terragrunt code below to define the Storage Account with a dependency on the Resource Group. Replace <CustomizableValue id='STORAGE_ACCOUNT_NAME'/> with your desired storage account name. Ensure the name is unique and follows Azure naming conventions (lowercase letters and numbers only, 3-24 characters).
135127

136128
```hcl title="$$SUBSCRIPTION_NAME$$/$$LOCATION$$/resource-groups/$$RESOURCE_GROUP_NAME$$/data-storage/storage-account/terragrunt.hcl"
137-
# ------------------------------------------------------------------------------------------------------
138-
# DEPLOY GRUNTWORK's AZURE STORAGE ACCOUNT MODULE
139-
# ------------------------------------------------------------------------------------------------------
140-
141129
include "root" {
142130
path = find_in_parent_folders("root.hcl")
143131
}

0 commit comments

Comments
 (0)