Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CI stuff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
CI stuff
Commits
530c39a7
Commit
530c39a7
authored
4 months ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Replace Terraform with OpenTofu.
parent
84ec8f06
No related branches found
No related tags found
No related merge requests found
Pipeline
#4239
passed
4 months ago
Stage: build
Stage: deploy
Stage: .post
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/terraform.yml
+9
-9
9 additions, 9 deletions
templates/terraform.yml
with
9 additions
and
9 deletions
templates/terraform.yml
+
9
−
9
View file @
530c39a7
...
...
@@ -5,10 +5,10 @@ include:
.tf_template
:
image
:
registry.gitlab.com/
gitlab-org/terraform-images/stable:latest
image
:
registry.gitlab.com/
components/opentofu/gitlab-opentofu:latest-debian
before_script
:
-
cd ${TF_ROOT}
-
t
erraform
version
-
t
ofu
version
cache
:
paths
:
-
${TF_ROOT}/.terraform
...
...
@@ -25,26 +25,26 @@ include:
extends
:
.tf_template
stage
:
test
script
:
-
gitlab-t
erraform
validate
-
gitlab-t
ofu
validate
.tf_fmt
:
extends
:
.tf_template
stage
:
test
script
:
-
gitlab-t
erraform
fmt
-
gitlab-t
ofu
fmt
.tf_validate_fmt
:
extends
:
.tf_template
stage
:
test
script
:
-
gitlab-t
erraform
validate
-
gitlab-t
erraform
fmt
-
gitlab-t
ofu
validate
-
gitlab-t
ofu
fmt
.tf_plan
:
extends
:
.tf_template
script
:
-
gitlab-t
erraform
plan
-
gitlab-t
erraform
plan-json
-
gitlab-t
ofu
plan
-
gitlab-t
ofu
plan-json
artifacts
:
name
:
plan
paths
:
...
...
@@ -55,5 +55,5 @@ include:
.tf_apply
:
extends
:
.tf_template
script
:
-
gitlab-t
erraform
apply
-
gitlab-t
ofu
apply
when
:
manual
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment