Created
March 4, 2016 23:39
-
-
Save aws-scripting-guy/079843d363209f5980f0 to your computer and use it in GitHub Desktop.
aws cli file:// URI descriptor - call parent directory
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
# PowerShell | |
$regions = "eu-west-1" | |
foreach ($region in $regions) { | |
aws cloudformation create-stack ` | |
--parameters file://$PWD\..\templates\stack_parameters.json ` | |
--tags file://$PWD\..\templates\stack_tags.json ` | |
--stack-policy-body file://$PWD\..\templates\stack_policy.json ` | |
--template-body file://$PWD\..\templates\log_bucket_template.json ` | |
--stack-name "myStack" ` | |
--region $region ` | |
--debug | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment