Skip to content

Conversation

yhakbar
Copy link
Contributor

@yhakbar yhakbar commented Sep 26, 2025

Breaking down installation guide to avoid assuming AWS usage.

Copy link

vercel bot commented Sep 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Oct 7, 2025 1:05am

Copy link
Contributor

coderabbitai bot commented Sep 26, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch yousif/dev-1100-break-down-setup-installation-to-avoid-assuming-aws

Comment @coderabbitai help to get the list of available commands and usage tips.

@yhakbar yhakbar changed the title docs: Breaking down installation guide to void assuming AWS docs: Breaking down installation guide to avoid assuming AWS Sep 26, 2025
@yhakbar yhakbar force-pushed the yousif/dev-1100-break-down-setup-installation-to-avoid-assuming-aws branch from d4aa2e7 to 14a3786 Compare September 30, 2025 20:35
@yhakbar yhakbar force-pushed the yousif/dev-1096-break-down-architecture-to-avoid-assuming-aws branch from dba5367 to 5c77938 Compare October 6, 2025 15:36
@yhakbar yhakbar force-pushed the yousif/dev-1100-break-down-setup-installation-to-avoid-assuming-aws branch from a9bfa94 to 7a28fbb Compare October 6, 2025 17:51
@yhakbar yhakbar force-pushed the yousif/dev-1100-break-down-setup-installation-to-avoid-assuming-aws branch from 20a0f47 to 0216063 Compare October 6, 2025 20:11
@yhakbar yhakbar changed the base branch from yousif/dev-1096-break-down-architecture-to-avoid-assuming-aws to pipelines-v4 October 6, 2025 20:11
@yhakbar yhakbar force-pushed the yousif/dev-1100-break-down-setup-installation-to-avoid-assuming-aws branch from 0216063 to df85b9e Compare October 6, 2025 20:16
@yhakbar yhakbar marked this pull request as ready for review October 6, 2025 20:18

By default, Account Factory includes the following components:

- 📋 An HTML form for generating workflow inputs: `.github/workflows/account-factory-inputs.html`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think these icons are a bit of an AI-callsign, and is not a pattern mirrored elsewhere in our docs. Whilst I like a good emoji, I'm not sure these help

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I know you didn't add these! Just a whilst-your-in-there thing

6. **Create `.gitlab-ci.yml`** to configure your GitLab CI/CD pipeline.
7. **Commit and push** your changes to activate Pipelines.

## Ensure OIDC configuration and JWKS are publicly accessible
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit odd to have this headline come BEFORE the next headline of "prerequisites" - feels like this belongs under that headline?


This step only applies if you are using a self-hosted GitLab instance that is not accessible from the public internet. If you are using GitLab.com or a self-hosted instance that is publicly accessible, you can skip this step.

1. [Follow GitLab's instructions](https://docs.gitlab.com/ci/cloud_services/aws/#configure-a-non-public-gitlab-instance) for hosting your OIDC configuration and JWKS in a public location (e.g. S3 Bucket). This is necessary for both Gruntwork and the AWS OIDC provider to access the GitLab OIDC configuration and JWKS when authenticating JWT's generated by your custom instance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some AWS-specific assumptions in this section


:::

## Configuring SCM Access
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this page is now specific to GitLab and doesn't have to cater to both github and gitlab, maybe we just say GitLab here?

Suggested change
## Configuring SCM Access
## Configuring GitLab Access


## Configuring SCM Access

Pipelines needs the ability to interact with Source Control Management (SCM) platforms to fetch resources (e.g. IaC code, reusable CI/CD code and the Pipelines binary itself).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Pipelines needs the ability to interact with Source Control Management (SCM) platforms to fetch resources (e.g. IaC code, reusable CI/CD code and the Pipelines binary itself).
Pipelines needs the ability to interact with GitLab to fetch resources (e.g. IaC code, reusable CI/CD code and the Pipelines binary itself).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section also feels like something got lost - we say "we need machine users" with a link to the doc, but nothing else. Maybe something more concrete like "To create machine users, follow our guide [here]" (or similar)


If you don't have a `root.hcl` file, you might need to customize the bootstrapping process, as the Terragrunt scale catalog expects a `root.hcl` file in the root of the project. Please contact [Gruntwork support](/support) for assistance if you need help.

For each AWS account that needs bootstrapping, we'll use Boilerplate to scaffold the necessary content.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be missing an instruction here to tell the user to run this boilerplate command in each account folder or similar?

For each environment, you'll want to define a [`filter` block](/2.0/reference/pipelines/configurations-as-code/api#filter-block) that tells Pipelines which units are part of that environment. You'll also want to define an [`authentication` block](/2.0/reference/pipelines/configurations-as-code/api#authentication-block) that tells Pipelines how to authenticate with your cloud provider(s) for that environment.

<Tabs>
<TabItem value="aws" label="AWS" default>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest using a groupId here so the choice of cloud is synced across the doc

@@ -0,0 +1,867 @@
# Bootstrap Pipelines in an Existing Repository
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a significant amount of duplicated content between GitHub/GitLab pages. What do you think of factoring that out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started digging into this here, but it's proving annoying because the code snippets are interfering with MDX component parsing, and I don't want to have to put every code block in a separate file.
#2784

Will do what I can, but I'd like to defer that work in the interest of getting this merged.

Copy link
Contributor Author

@yhakbar yhakbar Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed the issues involved in abstracting away logic into components, requiring work to avoid issues related to backticks and curly braces interfering with MDX parsing.

@yhakbar yhakbar merged commit a5c3da3 into pipelines-v4 Oct 7, 2025
7 checks passed
@yhakbar yhakbar deleted the yousif/dev-1100-break-down-setup-installation-to-avoid-assuming-aws branch October 7, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants