mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-18 12:24:32 -05:00
0ba810240f
* integrate automatic iam creation in e2e test * fix typo * break long line comments * fix semvers * correct bracing
18 lines
521 B
YAML
18 lines
521 B
YAML
name: Delete IAM configuration
|
|
description: Delete previously created IAM configuration.
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Delete IAM configuration
|
|
shell: bash
|
|
run: |
|
|
if [[ -f constellation-iam-terraform/terraform.tfstate ]]; then
|
|
echo "IAM Terraform state file exists, deleting..."
|
|
cd constellation-iam-terraform
|
|
terraform destroy -auto-approve
|
|
else
|
|
echo "IAM Terraform state file does not exist, exiting..."
|
|
exit 0
|
|
fi
|