0
我可以創建/刪除使用AWS-CLI一個cloudformation堆AWS-CLI命令,但我想要扭轉,像採用cloudformation堆我想要運行使用cloudfomation
我可以創建/刪除使用AWS-CLI一個cloudformation堆AWS-CLI命令,但我想要扭轉,像採用cloudformation堆我想要運行使用cloudfomation
嘗試使用在任何命令運行AWS CLI命令的採用以下方式:
"AWS::CloudFormation::Init" : {
"configSets" : {
"ascending" : [ "config1" , "config2" ],
"descending" : [ "config2" , "config1" ]
},
"config1" : {
"commands" : {
"test" : {
"command" : "echo \"$CFNTEST\" > test.txt",
"env" : { "CFNTEST" : "I come from config1." },
"cwd" : "~"
}
}
},
"config2" : {
"commands" : {
"test" : {
"command" : "echo \"$CFNTEST\" > test.txt",
"env" : { "CFNTEST" : "I come from config2" },
"cwd" : "~"
}
}
}
}