mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 08:20:15 -05:00
do terraform stuff in terraform dir
This commit is contained in:
parent
b205b238ef
commit
d88b1ae82e
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…
x
Reference in New Issue
Block a user