Would be great for native support of AWS SAM Templates using the Transform attribute.
This requires Sceptre:
Should solve issue #277 and #197
We would really like SAM / ChangeSets on create to be added.
Package and deploy lambda code to S3
Maybe this is obvious, but I just wanted to point out that the aws cli already does this, so if we were willing to add awscli as a dependency, we might be able to lean on their implementation rather than having to rewrite it. https://github.com/aws/aws-cli/blob/develop/awscli/customizations/cloudformation/package.py
Hasn't this been implemented with the following command in V2?
create Creates a stack or a change set
execute Executes a Change Set
Now that change sets are implemented there is one small thing that is preventing the deployment of SAM templates using Sceptre. We need Sceptre to include the CAPABILITY_AUTO_EXPAND capability permission so that it is allowed to execute the transformation (see issue #538). I tested this and can now successfully deploy SAM templates using Sceptre.
To achieve this I added the CAPABILITY_AUTO_EXPAND to the capabilities list for the create stack, update stack and create change set plan actions.
That's great @kkessels would you be able to propose a PR for the CAPABILITY_AUTO_EXPAND addition?
I submitted the PR #586 for getting SAM templates working.
@theseanything
Package and deploy lambda code to S3
Not available as at 2.1.0, right? (inline code works though)
Where are we tracking the relevant issue?
how to use SAM template is really not clear, it seems we have to use the output generated by sam package command?
Most helpful comment
We would really like SAM / ChangeSets on create to be added.