cfn-modules: AWS Certificate Manager wildcard certificate (public)

August 8, 2020 ยท View on GitHub

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, but www.test.widdix.net is not.

Install

Install Node.js and npm first!

npm i @cfn-modules/acm-wildcard-certificate-public

Usage

---
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'

Examples

none

Parameters

Name Description Default Required? Allowed values
HostedZoneModule Stack name of module implementing HostedZone yes

Outputs

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