I am trying to use template configuration with aws cloudformation (using aws codepipeline). The idea is to use different configuration file for same SAM template for different stack or change set (test or prod stack). I did all the configuration like
Template* build-output::ciSamTemplate.yml
Template configuration build-output::ciDevTagConfig.json
But I am getting error "Template configuration is not valid". My template configuration file has below minimal configuration.
{
"Parameters" : {
"env" : "dev",
"apiStage" : "tagDev"
},
"StackPolicy" : {
"Statement" : [
{
"Effect" : "Allow",
"NotAction" : "Update:Delete",
"Principal": "*",
"Resource" : "*"
}
]
}
}
I am not sure what is causing this template configuration file to fail? I don't know how can i debug this ?