Commit 5309adee authored by Sohel Saiyed's avatar Sohel Saiyed


parent bcc6df19
Pipeline #25714 failed with stages
in 14 minutes and 49 seconds
......@@ -69,9 +69,16 @@ eval echo aws_access_key_id=${TF_AWS_ACCESS_KEY_ID} >> ~/.aws/credentials
eval echo aws_secret_access_key=${TF_AWS_SECRET_ACCESS_KEY} >> ~/.aws/credentials
terraform init
echo "before" ${TF_VAR_rancher2_url}
echo "before" ${TF_VAR_rancher2_access_key}
echo "before" ${TF_VAR_rancher2_secret_key}
echo yes | terraform apply -target=rancher2_cluster.aae-cluster
echo "after" ${TF_VAR_rancher2_url}
echo "after" ${TF_VAR_rancher2_access_key}
echo "after" ${TF_VAR_rancher2_secret_key}
export KUBECONFIG=$PWD/.terraform/kubeconfig
echo "$(terraform output kube_config)" > $KUBECONFIG
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