-
Notifications
You must be signed in to change notification settings - Fork 43
Make gov cloud docs work with referenced templates #2749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
oredavids
merged 1 commit into
pipelines-v4
from
ore/dev-1037-update-github-devops-foundations-templates-to-use-pipelines
Oct 3, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ First, you'll need to install [mise](https://mise.jdx.dev/), a powerful environm | |
|
||
4. Edit the `vars.yaml` file to customize it for your environment. If using a custom GitLab instance, update any custom instance variables. | ||
|
||
5. `cd` to the root of <CustomizableValue id="REPOSITORY_NAME" /> where you wish to install Gruntwork Pipelines. Run the boilerplate tool to generate your repository structure: | ||
5. `cd` to the root of <CustomizableValue id="REPOSITORY_NAME" /> where you wish to install Gruntwork Pipelines. Run the boilerplate tool to generate your repository structure: | ||
```bash | ||
boilerplate --template-url "[email protected]:gruntwork-io/terraform-aws-architecture-catalog.git//templates/gitlab-pipelines-infrastructure-live-root/?ref=v3.1.0" --output-folder . --var-file vars.yaml --non-interactive | ||
``` | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,18 +47,13 @@ Fundamentally, there are three places where the GovCloud partition must be set: | |
|
||
This section covers the Pipelines configuration required to deploy an AWS S3 bucket to AWS GovCloud. | ||
|
||
1. Add the account configuration to the bottom of your root-folder `accounts.yml` file. | ||
|
||
```hcl title="accounts.yml" | ||
$$ACCOUNT_NAME$$: | ||
id: "$$ACCOUNT_ID$$" | ||
``` | ||
2. Create a `vars.yaml` file on your local machine with the following content: | ||
1. Create a `vars.yaml` file on your local machine with the following content: | ||
|
||
<Tabs> | ||
<TabItem value="GitHub" label="GitHub" default> | ||
```yaml title="vars.yaml" | ||
AccountName: "$$ACCOUNT_NAME$$" | ||
AccountId: "$$ACCOUNT_ID$$" | ||
GitHubOrganization: "$$GITHUB_ORGANIZATION$$" | ||
GitHubRepository: "$$GITHUB_REPOSITORY$$" | ||
DeployBranchName: main # Change this to your default branch from which terragrunt apply should be run by pipelines | ||
|
@@ -71,6 +66,7 @@ This section covers the Pipelines configuration required to deploy an AWS S3 buc | |
<TabItem value="GitLab" label="GitLab"> | ||
```yaml title="vars.yaml" | ||
AccountName: "$$ACCOUNT_NAME$$" | ||
AccountId: "$$ACCOUNT_ID$$" | ||
GitLabGroup: "$$GITLAB_GROUP$$" | ||
GitLabProject: "$$GITLAB_PROJECT$$" | ||
DeployBranchName: main # Change this to your default branch from which terragrunt apply should be run by pipelines | ||
|
@@ -84,15 +80,17 @@ This section covers the Pipelines configuration required to deploy an AWS S3 buc | |
|
||
3. We'll now use that `vars.yaml` file as input to [boilerplate](https://github.com/gruntwork-io/boilerplate) to generate the Terragrunt code for the OIDC Provider and IAM roles. From the root of your repository, run the following command: | ||
|
||
<!-- TODO: Update the version of the architecture catalog templates below --> | ||
|
||
<Tabs> | ||
<TabItem value="GitHub" label="GitHub"> | ||
```bash | ||
boilerplate --template-url "[email protected]:gruntwork-io/terraform-aws-architecture-catalog.git//templates/github-actions-single-account-setup?ref=main" --output-folder . --var-file vars.yaml --non-interactive | ||
boilerplate --template-url "[email protected]:gruntwork-io/terraform-aws-architecture-catalog.git//templates/github-actions-single-account-setup?ref=X.Y.Z" --output-folder . --var-file vars.yaml --non-interactive | ||
``` | ||
</TabItem> | ||
<TabItem value="GitLab" label="GitLab"> | ||
```bash | ||
boilerplate --template-url "[email protected]:gruntwork-io/terraform-aws-architecture-catalog.git//templates/gitlab-pipelines-single-account-setup?ref=main" --output-folder . --var-file vars.yaml --non-interactive | ||
boilerplate --template-url "[email protected]:gruntwork-io/terraform-aws-architecture-catalog.git//templates/gitlab-pipelines-single-account-setup?ref=X.Y.Z" --output-folder . --var-file vars.yaml --non-interactive | ||
``` | ||
</TabItem> | ||
</Tabs> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.