beninanutshell / wam-tf-kind

2 stars 1 forks source link

The bootstrap script 4-terraform.sh stuck #1

Open cscotti opened 1 year ago

cscotti commented 1 year ago

1/ The bootstrap script 4-terraform.sh stuck because of a prompt command

~/repo/wam-tf-kind/iac $> terraform plan provider.keycloak.client_id Enter a value: The value "admin" is not set.

Same for "provider.keycloak.url"

2/ Moreover, some files are empty. I note that there are initialize in the ./5-extras.sh in func "sealed_secret"

Error: expected "content" to not be an empty string, got │ │ with k8s_manifest.gandi, │ on traefik.tf line 17, in resource "k8s_manifest" "gandi": │ 17: resource "k8s_manifest" "gandi" { │ ╵ ╷ │ Error: expected "content" to not be an empty string, got │ │ with k8s_manifest.secret_traefik_auth, │ on traefik.tf line 41, in resource "k8s_manifest" "secret_traefik_auth": │ 41: resource "k8s_manifest" "secret_traefik_auth" {

cscotti commented 1 year ago

I do not know how that the two files were empty. I did a checkout to restore both files from the repo and relaunch the terraform plan