You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CloudFormation Stack Sets cannot be used to deploy SAM templates because Stack Sets do not support CloudFormation Macro Transform definitions in templates
BuildSAM module has support for a ApplySAMTranslate property to "pre-transform" the SAM template into vanilla CloudFormation suitable for use with Stack Sets
Note that due to #16 this functionality is only specifically useful -- for cases where a Stack Set needs to be deployed across many accounts but not many regions
tomwwright
added
type/debt
Technical debt that needs to be addressed in the future
and removed
type/feature
Feature or functionality that is well-formed and can be implemented and closed
labels
Oct 15, 2020
CloudFormation Stack Sets cannot be used to deploy SAM templates because Stack Sets do not support CloudFormation Macro
Transform
definitions in templateshttps://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/template-macros.html
The solution here is to "pre-transform" the template with the SAM library
https://pypi.org/project/aws-sam-translator/
https://github.com/aws/serverless-application-model/blob/develop/bin/sam-translate.py
Once rendered into a regular CloudFormation template it can be deployed in a Stack Set
This functionality is important to Little Orange as it intends to deploy lots of functionality via Stack Sets
The text was updated successfully, but these errors were encountered: