This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "location": { | |
| "value": "Australia East" | |
| }, | |
| "vmList": { | |
| "value": "vm01,vm02,vm03" | |
| }, |
This file contains hidden or 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 | |
| set -e | |
| #The “set –e” allows an exception to throw where it finds the error | |
| #and then the halt execution. Error message and line number displayed (in lieu of me using more robust error handling logic) | |
| # Execute this script your Hugo site directory (e.g mine is /%fullcanoicalpath%/nicklittle | |
| # Using AWS CLI V2, setup using `aws configure sso` FIRST | |
| #Variable Declaration, add your CloudFront distribtuion ID, S3 bucket name, and AWS Profile Name |
OlderNewer