Last active
January 18, 2022 00:27
-
-
Save vfarcic/34009f4c65683dd3a82081fa8d76cd85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 --raw registry_name) | |
export RESOURCE_GROUP=$(\ | |
terraform output --raw resource_group) | |
export REGION=$(terraform output --raw region) | |
########### | |
# Destroy # | |
########### | |
terraform destroy | |
cd ../../ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment