Amazon web services 我想使用cloudfomation运行aws cli命令
我可以使用aws cli创建/删除cloudformation堆栈,但我想反向操作,如使用cloudformation堆栈运行aws cli命令,请尝试以以下方式使用任何命令:Amazon web services 我想使用cloudfomation运行aws cli命令,amazon-web-services,Amazon Web Services,我可以使用aws cli创建/删除cloudformation堆栈,但我想反向操作,如使用cloudformation堆栈运行aws cli命令,请尝试以以下方式使用任何命令: "AWS::CloudFormation::Init" : { "configSets" : { "ascending" : [ "config1" , "config2" ], "descending" : [ "config2" , "config1" ] },
"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" : "~"
}
}
}
}