Skip to content

v0.2.0

Compare
Choose a tag to compare
@MalikAtalla-AWS MalikAtalla-AWS released this 24 Nov 21:16
d33aae9

Modules Support

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

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>

Other changes:

  • Create temporary credential for each invocation and limit duration to 15 mins
  • Schema properties can now have multiple types or refs