Difference between revisions of "Terraform resource: aws route53 record"
Jump to navigation
Jump to search
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
* 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 11: | Line 11: | ||
[[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> | ||
== Errors == | == Errors == | ||
− | + | * <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>[[ | + | * <code>[[Terraform resource: aws route53 zone]]</code> |
− | * <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 == |
Latest revision as of 12:12, 12 August 2024
aws_route53_record
Official example[edit]
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] }
Example records[edit]
Errors[edit]
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[edit]
- AWS Route53
Terraform resource: aws route53 zone
aws_service_discovery_service
v=spf1 include:amazonses.com -all
- Terraform resource: cloudflare_record
- aws_acm_certificate_validation
See also[edit]
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: