Skip to content

Commit a3adc7e

Browse files
committed
Add pipelines settings content, missing icons
1 parent 25ce143 commit a3adc7e

File tree

8 files changed

+89
-21
lines changed

8 files changed

+89
-21
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Pipelines Configuration
22

3-
This page is under construction. In the mean time, checkout the [Pipelines Configuration Reference Page](/docs/2.0/reference/pipelines/configurations.md) for a list of all available configuration options.
3+
[Full Pipelines Configuration Reference](/docs/2.0/reference/pipelines/configurations.md)
44

5+
import PipelinesConfig from '/docs/2.0/reference/pipelines/language_auth_partial.mdx'
56

6-
<!--
7-
e.g. TF vs Tofu, deploy branch name etc.
8-
This is different from reference content because we can also add a few extra paragraphs explaining things, not just a raw list
7+
<PipelinesConfig />
98

10-
-->
9+
10+
## Terraform & OpenTofu
11+
12+
You can customize whether to invoke Terraform or OpenTofu in your Pipeline via the [tf-binary](/2.0/reference/pipelines/configurations#tf-binary) configuration. The version of the `tf-binary` and Terragrunt are configured via [mise.toml](/2.0/reference/pipelines/configurations#example-mise-configuration) inside your repository

docs/2.0/reference/pipelines/index.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
11
# Overview
22

3-
## Configuration Language Transition
3+
import PipelinesConfig from './language_auth_partial.mdx'
44

5-
Pipelines configurations are currently undergoing a transition from YAML configurations to new HCL [Configurations as Code](./configurations-as-code.md). These new configurations will offer a richer configuration experience, but are not yet required for use. [YAML configurations](./configurations.md) will continue to work as expected for the time being.
6-
7-
YAML configurations are read by Pipelines when HCL configurations are not present, and the Pipelines binary falls back to interpretting YAML configurations as if they were defined in the HCL configuration system in this scenario.
8-
9-
This means that if you have a `.gruntwork/config.yml` file in your repository, you can continue to use it as you have been, and Pipelines will continue to work as expected.
10-
11-
If you do introduce any HCL configurations into your `.gruntwork` directory or introduce a `gruntwork.hcl` file into a directory, Pipelines will begin to use the HCL configuration system instead of the YAML configuration system.
12-
13-
## Authentication
14-
15-
Core pipelines functionally generally requires only a small amount of configuration. The most critical configuration for the CI/CD pipeline is how to authenticate with AWS, and that is covered in one of two ways:
16-
17-
* With the YAML system pipelines expects each top-level folder in the repository to correspond to an account in `accounts.hcl` and the existance of appropriate OIDC roles to enable pipeliens to assume the respective role for infra changes in those folders. As such, very little of the YAML configuration requires customization.
18-
19-
* With the HCL system users can flexibly configure pipelines to authenticate to various AWS accounts to match arbitrary folder structures. The bulk of the HCL configuration language we define is to support this flexibility.
5+
<PipelinesConfig />
206

217
## Other Configuration
228

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Configuration Language Transition
2+
3+
Pipelines configurations are currently undergoing a transition from YAML configurations to new HCL [Configurations as Code](./configurations-as-code.md). These new configurations will offer a richer configuration experience, but are not yet required for use. [YAML configurations](./configurations.md) will continue to work as expected for the time being.
4+
5+
YAML configurations are read by Pipelines when HCL configurations are not present, and the Pipelines binary falls back to interpretting YAML configurations as if they were defined in the HCL configuration system in this scenario.
6+
7+
This means that if you have a `.gruntwork/config.yml` file in your repository, you can continue to use it as you have been, and Pipelines will continue to work as expected.
8+
9+
If you do introduce any HCL configurations into your `.gruntwork` directory or introduce a `gruntwork.hcl` file into a directory, Pipelines will begin to use the HCL configuration system instead of the YAML configuration system.
10+
11+
## Authentication
12+
13+
Core pipelines functionally generally requires only a small amount of configuration. The most critical configuration for the CI/CD pipeline is how to authenticate with AWS, and that is covered in one of two ways:
14+
15+
* With the YAML system pipelines expects each top-level folder in the repository to correspond to an account in `accounts.hcl` and the existance of appropriate OIDC roles to enable pipeliens to assume the respective role for infra changes in those folders. As such, very little of the YAML configuration requires customization.
16+
17+
* With the HCL system users can flexibly configure pipelines to authenticate to various AWS accounts to match arbitrary folder structures. The bulk of the HCL configuration language we define is to support this flexibility.
Lines changed: 1 addition & 0 deletions
Loading
255 KB
Loading

static/img/courses/authors/vijin.png

88.4 KB
Loading

static/img/courses/kodekloud.svg

Lines changed: 1 addition & 0 deletions
Loading

static/img/courses/opentofu-icon.svg

Lines changed: 61 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)