diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a264ef4d76ecb942f13e15f4963191f67ce5a723..a433005f88fb6f09723955c475953385f92d54f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -133,7 +133,7 @@ check-elastic: variables: TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/elastic TF_VAR_ec_apikey: $EC_API_KEY - TF_var_ec_version: $EC_VERSION + TF_VAR_ec_version: $EC_VERSION before_script: - | export TF_VAR_psc_connection_id=$(cat ${CI_PROJECT_DIR}/pscConnectionId.env | grep GCP_PSC_CONNECTION_ID | cut -d = -f2) @@ -165,6 +165,7 @@ apply-elastic: variables: TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/elastic TF_VAR_ec_apikey: $EC_API_KEY + TF_VAR_ec_version: $EC_VERSION before_script: - | export TF_VAR_psc_connection_id=$(cat ${CI_PROJECT_DIR}/pscConnectionId.env | grep GCP_PSC_CONNECTION_ID | cut -d = -f2) @@ -232,6 +233,7 @@ destroy-elastic: variables: TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/elastic TF_VAR_ec_apikey: $EC_API_KEY + TF_VAR_ec_version: $EC_VERSION before_script: - | export TF_VAR_psc_connection_id=$(cat ${CI_PROJECT_DIR}/pscConnectionId.env | grep GCP_PSC_CONNECTION_ID | cut -d = -f2) @@ -253,7 +255,6 @@ destroy-gke: entrypoint: [""] variables: TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/gke - TF_VAR_ec_apikey: $EC_API_KEY TF_VAR_project_id: $GCP_PROJECT_ID TF_VAR_region: $GCP_REGION TF_VAR_vpc_network_name: $GCP_NETWORK_NAME