Commit 8de6c850 authored by Georgi Petkov's avatar Georgi Petkov
Browse files

chore: trying to replace the old terraform providers in staging.yml

parent b28bf6b4
Pipeline #32690 passed with stages
in 24 seconds
......@@ -55,7 +55,12 @@ staging:
EOF
- kubectl create namespace ${NAMESPACE_SLUG} --dry-run -o yaml | kubectl
apply -f -
- 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}
......
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