Difference between revisions of "Terraform resource: aws route53 record"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
== Official example ==
 
== Official example ==
 
  resource "aws_route53_record" "www" {
 
  resource "aws_route53_record" "www" {
   zone_id = aws_route53_zone.primary.zone_id
+
   [[zone_id]] = aws_route53_zone.primary.zone_id
 
   name    = "www.example.com"
 
   name    = "www.example.com"
 
   type    = "A"
 
   type    = "A"

Revision as of 07:57, 2 February 2023

aws_route53_record

Official example

resource "aws_route53_record" "www" {
  zone_id = aws_route53_zone.primary.zone_id
  name    = "www.example.com"
  type    = "A"
  ttl     = 300
  records = [aws_eip.lb.public_ip]
}


Error: no matching Route53Zone found
Error: Your query returned no results. Please change your search criteria and try again.

Related

See also

Advertising: