Difference between revisions of "Terraform resource: aws route53 record"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
type = "A" | type = "A" | ||
ttl = 300 | ttl = 300 | ||
− | records = [aws_eip.lb.public_ip] | + | [[records]] = [aws_eip.lb.public_ip] |
} | } | ||
Revision as of 08:07, 2 February 2023
aws_route53_record
Contents
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] }
Errors
Error: no matching Route53Zone found Error: Your query returned no results. Please change your search criteria and try again. Error: Incorrect attribute value type
Related
See also
aws route53
: [zone
|record
]- Terraform AWS: provider, resources, modules, data sources, VPC, IAM, Net, EC2, S3, Route53, ACM, CloudWatch, SES, RDS, ECS,
awscc, autoscaling, EKS
Advertising: