This template registers two versions of a module and sets the second version as the default version for CloudFormation to use. The `DependsOn` attribute is used to ensure that CloudFormation provisions version one before version two.

ModuleVersion1
AWS::CloudFormation::ModuleVersion


ModuleVersion2
AWS::CloudFormation::ModuleVersion


ModuleDefaultVersion
AWS::CloudFormation::ModuleDefaultVersion


CloudFormation Template

Share Template