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
#!/bin/bash | |
###################################################### | |
# Utility script to download latest Hashicorp | |
# binaries and move into /usr/local/bin. Uses their | |
# releases APIs. | |
# | |
# Requires sudo password unless sudoers is configured. | |
# | |
# Can be renamed to installLatestTerraform.sh or | |
# installLatestPacker.sh. If not then specify |
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
#!/bin/bash | |
subscriptionId=$(az account show --query id --output tsv) | |
read -r -d '' policyRule <<'EOF' | |
{ | |
"if": { | |
"allOf": [ | |
{ | |
"field": "type", |
NewerOlder