Commit 84b95407 authored by Georgi Petkov's avatar Georgi Petkov
Browse files

chore: moving terraform providers switch down the line

parent 8de6c850
Pipeline #32692 passed with stages
in 28 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment