puppetlabs-aws
puppetlabs-aws copied to clipboard
not able to create private hosted route53 zone and a record set
HI,
I am trying to create a private hosted route53 zone and a record set. manifest below for reference:
Setup private DNS for cm.test.com
route53_zone { 'Internal - cm.test.com': zone => 'cm.test.com', vpc_id => vpc-6107a005, ensure => present, }
private
route53_a_record { 'Internal - devops-haproxy-1a1.cm.test.com.': a_record => 'devops-haproxy-1a1.cm.test.com', ensure => present, zone => 'cm.test.com', vpc_id => vpc-6107a005, ttl => 3000, values => ['10.23.0.20'], }
getting following error:
[ec2-user@puppetmaster manifests]$ sudo puppet apply route53.pp --test --modulepath /etc/puppetlabs/code/environments/devopstest/modules 2015-11-17 03:46:43.042875 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C Error: Could not parse for environment devopstest: Syntax error at 'internal' at /etc/puppetlabs/code/environments/devopstest/manifests/route53.pp:9:21 on node puppetmaster
could you assist on this.
Thanks, Ram.
@ram2valar I'm afraid at the moment the route53 resources don't support being associated with a VPC as you have in your examples here. Zone also doesn't have a zone property (although you can use name here for that purpose).
I'll leave this open to track evetually adding support for VPC to Route53.
Related Issue #174 and pull request #157