I use sceptre to launch multiple stacks for dev/prod environments. However, one of the stacks is too long: templateBody' failed to satisfy constraint: Member must have length less than or equal to 51200 How can I use sceptre from s3 to solve this issue?
The template I have is a jinja file where I populate the permissions policy with a for loop. That's why it's quite long
I also tried to run sceptre generate EC/TEST/elasticsearch.yaml | aws s3 cp - s3://my-bucket/template.yaml However, Sceptre generate produces malformed YAML file ['AWSTemplateFormatVersion: \'2010-09-09\'\nDescription: ElasticSearch dev service stack\n\nPara
Hey @laur1s - sceptre should upload the template to s3 for you for this reason. What is the command you are using?
I use sceptre launch
Strange... Can you run sceptre validate EC?
It only produces error that the template is too long at 'templateBody' failed to satisfy constraint: Member must have length less than or equal to 51200 If I make my template shorter by removing some arguments from elasticsearch policy it works
@laur1s have you defined template_bucket_name in your sceptre group config?
@laur1s yes sorry got ahead of myself @craighurley is correct you will need to specify template_bucket_name - in this case it probably hasn't been specified.
Thanks @craighurley and @ngfgrant . That's the issue I had
Most helpful comment
@laur1s have you defined
template_bucket_namein your sceptre group config?