New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change layout of Additional AWS Resources #994
Comments
@efekarakus Is there any specific reason we are spitting this into multiple file ? |
@FarmaanElahi They can all be in a single file :) Sorry, that wasn't clear enough from the description. We're working on adding a new command |
Merges the ["Metadata"](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html) section of two cfn templates under "addons/". Related to #994 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
We already merge the "Metadata" section, this PR adds the functionality to merge the "Parameters" section of two templates. Related to #994 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Enables merging the Mappings section of cfn templates under the "addons/" directory. Related #994 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Merges the `Conditions` section of two templates. Follows the same logic as `Parameters` and `Metadata`. Related to #994 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
As outlined in issue #915, addons templates currently don’t support Conditions.
For completeness, users can’t write
Description
,Metadata
,Mappings
,Conditions
, andTransform
sections into their addons template.The only supported sections are
Parameters
,Resources
, andOutputs
.Proposal
We propose changing the
addons/
directory structure to be one CFN template per addon.For example, if a user wants to add a DDB table and an S3 bucket addon, the file structure will be:
Where
mytable-ddb.yaml
andmybucket-s3.yaml
can be full CloudFormation templates.Behind the scenes, we will merge these two templates into one.
This should allow customers to add all the missing sections, and make it easier to write a new addon on their own.
The text was updated successfully, but these errors were encountered: