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

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lc}}
+
 
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record
 
  aws_route53_record
 
  aws_route53_record
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"
 
   ttl    = 300
 
   ttl    = 300
   records = [aws_eip.lb.public_ip]
+
   [[records]] = [aws_eip.lb.public_ip]
 
  }
 
  }
  
 +
== Example records ==
 +
* <code>[[aws_eip.lb.public_ip]]</code>
 +
* <code>[[aws_instance.your_instance_name.private_ip]]</code>
  
[[Error: no matching Route53Zone found]]
+
== Errors ==
[[Error: Your query returned no results. Please change your search criteria and try again.]]
+
* <code>[[Error: no matching Route53Zone found]]</code>
 +
* <code>[[Error: Your query returned no results. Please change your search criteria and try again.]]</code>
 +
* <code>[[Error: Incorrect attribute value type]]</code>
  
 
== Related ==
 
== Related ==
 
* [[AWS Route53]]
 
* [[AWS Route53]]
* <code>[[aws_route53_zone]]</code>
+
* <code>[[Terraform resource: aws route53 zone]]</code>
 +
* <code>[[aws_service_discovery_service]]</code>
 +
* <code>[[v=spf1 include:amazonses.com -all]]</code>
 +
* [[Terraform resource: cloudflare_record]]
 +
* [[aws_acm_certificate_validation]]
  
 
== See also ==
 
== See also ==
 +
* {{tf route53}}
 
* {{tf aws}}
 
* {{tf aws}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 12:12, 12 August 2024

Advertising: