Based on the following Terraform example.
Assumes:
- Azure credentials are passed as environment variables
- See
ARM_*
arguments here
- See
cp terraform.tfvars.sample terraform.tfvars
Amend the values for
resource_group_name
bastion_name
export ARM_CLIENT_ID=xxx
export ARM_CLIENT_SECRET=xxx
export ARM_SUBSCRIPTION_ID=xxx
export ARM_TENANT_ID=xxx
Replace occurrences of
xxx
above with appropriate values
./create-vault.sh
./destroy-vault.sh
This action is workflow dispatched with inputs.