Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • auto-apply-for-backports
  • deploy-refactor
  • destroy-pipeline
  • destroy-plan
  • fix-readme-path
  • main
  • no-rules-in-job-templates
  • subdir
  • 0.0.0-alpha1
  • 0.1.0
  • 0.1.0-alpha1
  • 0.1.0-alpha10
  • 0.1.0-alpha11
  • 0.1.0-alpha12
  • 0.1.0-alpha2
  • 0.1.0-alpha3
  • 0.1.0-alpha4
  • 0.1.0-alpha5
  • 0.1.0-alpha6
  • 0.1.0-alpha7
  • 0.1.0-alpha8
  • 0.1.0-alpha9
  • 0.10.0
  • 0.10.0-rc1
  • 0.10.0-rc2
  • 0.11.0
  • 0.11.0-rc1
  • 0.12.0
  • 0.13.0
  • 0.14.0
  • 0.15.0
  • 0.16.0
  • 0.17.0
  • 0.18.0
  • 0.18.0-rc1
  • 0.18.0-rc2
  • 0.18.0-rc3
  • 0.18.0-rc4
  • 0.18.0-rc5
  • 0.19.0
  • 0.19.0-rc1
  • 0.2.0
  • 0.20.0
  • 0.21.0
  • 0.22.0
  • 0.22.0-rc1
  • 0.22.0-rc2
  • 0.22.0-rc3
  • 0.22.0-rc4
  • 0.23.0
  • 0.24.0
  • 0.24.0-rc1
  • 0.25.0
  • 0.26.0
  • 0.27.0
  • 0.28.0
  • 0.29.0
  • 0.3.0
  • 0.3.0-alpha1
  • 0.3.0-alpha10
  • 0.3.0-alpha2
  • 0.3.0-alpha3
  • 0.3.0-alpha4
  • 0.3.0-alpha5
  • 0.3.0-alpha6
  • 0.3.0-alpha7
  • 0.3.0-alpha8
  • 0.3.0-alpha9
  • 0.30.0
  • 0.31.0
  • 0.32.0
  • 0.33.0
  • 0.34.0
  • 0.34.0-rc1
  • 0.35.0
  • 0.35.0-rc1
  • 0.35.0-rc2
  • 0.35.0-rc3
  • 0.35.0-rc4
  • 0.35.0-rc5
  • 0.35.0-rc6
  • 0.36.0
  • 0.37.0
  • 0.37.0-rc2
  • 0.37.0-rc3
  • 0.37.0-rc4
  • 0.37.0-rc5
  • 0.37.0-rc6
  • 0.37.0-rc7
  • 0.38.0
  • 0.39.0
  • 0.39.0-rc1
  • 0.39.0-rc2
  • 0.4.0
  • 0.4.0-alpha1
  • 0.40.0
  • 0.40.0-rc1
  • 0.40.0-rc2
  • 0.40.0-rc3
  • 0.40.0-rc4
  • 0.40.0-rc5
  • 0.40.0-rc6
  • 0.40.0-rc7
  • 0.41.0
  • 0.42.0
  • 0.42.0-rc1
  • 0.42.0-rc2
  • 0.42.0-rc3
108 results

Target

Select target project
  • components/opentofu
1 result
Select Git revision
  • auto-apply-for-backports
  • deploy-refactor
  • destroy-pipeline
  • destroy-plan
  • fix-readme-path
  • main
  • no-rules-in-job-templates
  • subdir
  • 0.0.0-alpha1
  • 0.1.0
  • 0.1.0-alpha1
  • 0.1.0-alpha10
  • 0.1.0-alpha11
  • 0.1.0-alpha12
  • 0.1.0-alpha2
  • 0.1.0-alpha3
  • 0.1.0-alpha4
  • 0.1.0-alpha5
  • 0.1.0-alpha6
  • 0.1.0-alpha7
  • 0.1.0-alpha8
  • 0.1.0-alpha9
  • 0.10.0
  • 0.10.0-rc1
  • 0.10.0-rc2
  • 0.11.0
  • 0.11.0-rc1
  • 0.12.0
  • 0.13.0
  • 0.14.0
  • 0.15.0
  • 0.16.0
  • 0.17.0
  • 0.18.0
  • 0.18.0-rc1
  • 0.18.0-rc2
  • 0.18.0-rc3
  • 0.18.0-rc4
  • 0.18.0-rc5
  • 0.19.0
  • 0.19.0-rc1
  • 0.2.0
  • 0.20.0
  • 0.21.0
  • 0.22.0
  • 0.22.0-rc1
  • 0.22.0-rc2
  • 0.22.0-rc3
  • 0.22.0-rc4
  • 0.23.0
  • 0.24.0
  • 0.24.0-rc1
  • 0.25.0
  • 0.26.0
  • 0.27.0
  • 0.28.0
  • 0.29.0
  • 0.3.0
  • 0.3.0-alpha1
  • 0.3.0-alpha10
  • 0.3.0-alpha2
  • 0.3.0-alpha3
  • 0.3.0-alpha4
  • 0.3.0-alpha5
  • 0.3.0-alpha6
  • 0.3.0-alpha7
  • 0.3.0-alpha8
  • 0.3.0-alpha9
  • 0.30.0
  • 0.31.0
  • 0.32.0
  • 0.33.0
  • 0.34.0
  • 0.34.0-rc1
  • 0.35.0
  • 0.35.0-rc1
  • 0.35.0-rc2
  • 0.35.0-rc3
  • 0.35.0-rc4
  • 0.35.0-rc5
  • 0.35.0-rc6
  • 0.36.0
  • 0.37.0
  • 0.37.0-rc2
  • 0.37.0-rc3
  • 0.37.0-rc4
  • 0.37.0-rc5
  • 0.37.0-rc6
  • 0.37.0-rc7
  • 0.38.0
  • 0.39.0
  • 0.39.0-rc1
  • 0.39.0-rc2
  • 0.4.0
  • 0.4.0-alpha1
  • 0.40.0
  • 0.40.0-rc1
  • 0.40.0-rc2
  • 0.40.0-rc3
  • 0.40.0-rc4
  • 0.40.0-rc5
  • 0.40.0-rc6
  • 0.40.0-rc7
  • 0.41.0
  • 0.42.0
  • 0.42.0-rc1
  • 0.42.0-rc2
  • 0.42.0-rc3
108 results
Show changes
Commits on Source (2)
......@@ -175,6 +175,16 @@ include:
stages: [validate, build, deploy]
```
#### Working with encrypted states locally
To locally work with encrypted states that have been auto encrypted by the component you can
manually do what the component does:
Copy the encryption setup from [the `configure_encryption_for_tofu` function](/src/gitlab-tofu.sh#L310)
into a temporary file called `encryption.tf` or expose it in the `TF_ENCRYPTION` variable - make sure to
correctly set your passphrase the match the value from GitLab CI. Then you can simply continue using your
regular `tofu` tooling.
### Configure `id_tokens`
> [!note]
......
......@@ -177,6 +177,16 @@ include:
stages: [validate, build, deploy]
```
#### Working with encrypted states locally
To locally work with encrypted states that have been auto encrypted by the component you can
manually do what the component does:
Copy the encryption setup from [the `configure_encryption_for_tofu` function](/src/gitlab-tofu.sh#L310)
into a temporary file called `encryption.tf` or expose it in the `TF_ENCRYPTION` variable - make sure to
correctly set your passphrase the match the value from GitLab CI. Then you can simply continue using your
regular `tofu` tooling.
### Configure `id_tokens`
> [!note]
......