A list of all the region names and locations for Azure
You can recreate the list anytime using this command:
az account list-locations -o table| # EC2 Cfn Metadata. | |
| Metadata: | |
| AWS::CloudFormation::Init: | |
| # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-init.html | |
| # Our cfn-init config set rules, divided into logical sections to make reading it easier, hopefully :) | |
| configSets: | |
| myCfnConfigSet: | |
| - "configure_cfn" | |
| - "install_software" | |
| - "generate_secrets" |
| console.log('Loading function'); | |
| const https = require('https'); | |
| const url = require('url'); | |
| // to get the slack hook url, go into slack admin and create a new "Incoming Webhook" integration | |
| const slack_url = 'https://hooks.slack.com/services/...'; | |
| const slack_req_opts = url.parse(slack_url); | |
| slack_req_opts.method = 'POST'; | |
| slack_req_opts.headers = {'Content-Type': 'application/json'}; |