Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions docs/2.0/docs/pipelines/tutorials/deploying-to-aws-gov-cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <CustomizableValue id='S3_BUCKET_NAME'/> with your desired bucket name. Ensure the bucket name is unique.

1. Create a new folder in `s3-bucket-test`
```bash
Expand All @@ -158,22 +158,15 @@ 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" {
path = find_in_parent_folders("root.hcl")
}

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$$"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,16 @@ 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 <CustomizableValue id='S3_BUCKET_NAME'/> 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" {
path = find_in_parent_folders("root.hcl")
}

inputs = {
primary_bucket = "$$S3_BUCKET_NAME$$"
name = "$$S3_BUCKET_NAME$$"
}
```

Expand Down Expand Up @@ -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")
}
Expand All @@ -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 <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).

```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")
}
Expand Down