Skip to content

Instantly share code, notes, and snippets.

@vfarcic

vfarcic/aci.sh

Created Jul 9, 2020
Embed
What would you like to do?
# Source: https://gist.github.com/34009f4c65683dd3a82081fa8d76cd85
##########
# Create #
##########
# Only if you did not yet clone that repository
git clone \
https://github.com/vfarcic/devops-catalog-code.git
cd devops-catalog-code
git pull
cd terraform-aci
az login
terraform init
terraform apply
export REGISTRY_NAME=$(\
terraform output registry_name)
export RESOURCE_GROUP=$(\
terraform output resource_group)
export REGION=$(terraform output region)
###########
# Destroy #
###########
terraform destroy
cd ../../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.