You've already forked Projects
adding zed-lake project
This commit is contained in:
12
zed-lake/zed-iac/cloudformation/zed-instance-create
Normal file
12
zed-lake/zed-iac/cloudformation/zed-instance-create
Normal file
@@ -0,0 +1,12 @@
|
||||
aws cloudformation create-stack \
|
||||
--stack-name zed-lake-$(uuidgen) \
|
||||
--template-body file://zed_stack.yaml \
|
||||
--parameters \
|
||||
ParameterKey=AmiId,ParameterValue=ami-0abcde123456 \
|
||||
ParameterKey=CloudConfig,ParameterValue="$(cat ../../zed-lake.yaml | base64 -w 0)" \
|
||||
ParameterKey=UniqueSuffix,ParameterValue=$(tr -dc 'a-z0-9' < /dev/urandom | head -c 10) \
|
||||
--capabilities CAPABILITY_NAMED_IAM
|
||||
|
||||
aws cloudformation describe-stacks \
|
||||
--stack-name my-zed-lake-stack-<unique-id> \
|
||||
--query 'Stacks[0].Outputs'
|
||||
Reference in New Issue
Block a user