-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release adds support for creating Modules using the CFN CLI * Initialize a Module project with `cfn init --artifact-type MODULE --type-name <type-name>` * For example: `cfn init --artifact-type MODULE --type-name My::Test::Example::MODULE` * Using `cfn init` without parameters will now first ask if you want to create a resource or a module. If you choose to create a module, it will create an example module template under fragments/sample.json which you can use as a starting point to make your changes. * Use `cfn validate` to validate your module before submitting * Use `cfn submit` to register your module, making it available for use by CloudFormation in your AWS account * Find detailed documentation about creating Modules [here](docs.aws.amazon.com/cloudformation-cli/latest/userguide/modules.html) Backwards-incompatible changes: * To use `cfn init` without going into interactive mode, you now need to specify the artifact type. So, to initialize a resource project, you would use * `cfn init --artifact-type RESOURCE --type-name <type-name>` * or for short: `cfn init -a r -t <type-name>`
- Loading branch information
1 parent
55c2ad0
commit d33aae9
Showing
62 changed files
with
2,937 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ __pycache__/ | |
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
build | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"AWSTemplateFormatVersion": "2010-09-09", | ||
"Description": "A secure S3 Bucket. The features are Versioning and DeletionPolicy.", | ||
"Parameters": { | ||
"BucketName": { | ||
"Description": "Name for the bucket", | ||
"Type": "String" | ||
} | ||
}, | ||
"Resources": { | ||
"S3Bucket": { | ||
"Type": "AWS::S3::Bucket", | ||
"DeletionPolicy": "Retain", | ||
"Properties": { | ||
"BucketName": { | ||
"Ref": "BucketName" | ||
}, | ||
"VersioningConfiguration": { | ||
"Status": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import logging | ||
|
||
__version__ = "0.1.14" | ||
__version__ = "0.2.0" | ||
|
||
logging.getLogger(__name__).addHandler(logging.NullHandler()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"AWSTemplateFormatVersion": "2010-09-09", | ||
"Description": "A secure S3 Bucket. The features are Versioning and DeletionPolicy.", | ||
"Parameters": { | ||
"BucketName": { | ||
"Description": "Name for the bucket", | ||
"Type": "String" | ||
} | ||
}, | ||
"Resources": { | ||
"S3Bucket": { | ||
"Type": "AWS::S3::Bucket", | ||
"DeletionPolicy": "Retain", | ||
"Properties": { | ||
"BucketName": { | ||
"Ref": "BucketName" | ||
}, | ||
"VersioningConfiguration": { | ||
"Status": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.