aws cloudformation create-stack --stack-name myteststack --template-body file:////home//local//test//sampletemplate.json
Base on AWS Cloud Formation documentation, we can use Nested Cloud Formation. However, it only says call the Nested Cloud Formation template by uploading the template JSON file to S3 bucket.
Is there other way to pass the Nested Cloud Formation template? Something like: (I guess..)
aws cloudformation create-stack --stack-name myteststack --template-body file:////home//local//test//main-template.json file:////home//local//test//nested-template.json