mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-10 17:09:27 -04:00
do terraform stuff in terraform dir
This commit is contained in:
parent
b205b238ef
commit
d88b1ae82e
1 changed files with 2 additions and 0 deletions
2
.github/actions/e2e_emergency_ssh/action.yml
vendored
2
.github/actions/e2e_emergency_ssh/action.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue