AWS Route53 hosted zone accessible inside VPC only. For a public accessible hosted zone look at the route53-hosted-zone-public module.
Install Node.js and npm first!
npm i @cfn-modules/route53-hosted-zone-private
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
HostedZone:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
VpcModule: !GetAtt 'Vpc.Outputs.StackName' # required
Name: 'local.widdix.de' # required
TemplateURL: './node_modules/@cfn-modules/route53-hosted-zone-private/module.yml'
none
Name | Description | Default | Required? | Allowed values |
---|---|---|---|---|
VpcModule | Stack name of vpc module | yes | ||
Name | The name of the domain (hosted zone) | yes |