do terraform stuff in terraform dir

This commit is contained in:
miampf 2025-02-18 15:30:51 +01:00
parent b205b238ef
commit d88b1ae82e
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -18,9 +18,11 @@ runs:
KUBECONFIG: ${{ inputs.kubeconfig }} KUBECONFIG: ${{ inputs.kubeconfig }}
run: | run: |
# Activate emergency ssh access to the cluster # Activate emergency ssh access to the cluster
pushd ./constellation-terraform
echo "emergency_ssh = true" >> terraform.tfvars echo "emergency_ssh = true" >> terraform.tfvars
terraform apply -auto-approve terraform apply -auto-approve
lb="$(terraform output -raw loadbalancer_address)" lb="$(terraform output -raw loadbalancer_address)"
popd
# write ssh config # write ssh config
cat > ssh_config <<EOF cat > ssh_config <<EOF