Public wildcard certificate managed by ACM.
Let's assume you have created a hosted zone for widdix.net
. This module creates a certificate for the following (sub)domain names:
widdix.net
*.widdix.net
Keep in mind that
*.widdix.net
includes only one subdomain level. E.g.www.widdix.net
is included, butwww.test.widdix.net
is not.
Install Node.js and npm first!
npm i @cfn-modules/acm-wildcard-certificate-public
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
Certificate:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
HostedZoneModule: !GetAtt 'HostedZone.Outputs.StackName' # required
TemplateURL: './node_modules/@cfn-modules/acm-wildcard-certificate-public/module.yml'
none
Name | Description | Default | Required? | Allowed values |
---|---|---|---|---|
HostedZoneModule | Stack name of module implementing HostedZone | yes |
Name | Interface | Description | Exported? |
---|---|---|---|
ModuleId | global | Id of the module | no |
ModuleVersion | global | Version of the module | no |
StackName | global | Name of the stack (used to pass module references) | no |
Arn | ExposeArn | Certificate ARN | yes |