Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DevOps
Project Templates
Commits
84b95407
Commit
84b95407
authored
Oct 19, 2021
by
Georgi Petkov
Browse files
chore: moving terraform providers switch down the line
parent
8de6c850
Pipeline
#32692
passed with stages
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ci/staging.yml
View file @
84b95407
...
...
@@ -55,13 +55,13 @@ staging:
EOF
-
kubectl create namespace ${NAMESPACE_SLUG} --dry-run -o yaml | kubectl
apply -f -
-
terraform -v
-
terraform init
-
terraform providers
-
terraform state replace-provider "registry.terraform.io/-/kubernetes" "registry.terraform.io/hashicorp/kubernetes"
-
terraform state replace-provider "registry.terraform.io/-/null" "registry.terraform.io/hashicorp/null"
-
terraform state replace-provider "registry.terraform.io/-/template" "registry.terraform.io/hashicorp/template"
-
terraform -v
-
terraform providers
-
terraform init
-
terraform workspace new ${CI_PROJECT_NAME} ||
true
-
terraform workspace select ${CI_PROJECT_NAME}
-
terraform refresh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment