A Terraform module to create an A Record in AWS Route53 and validate ACM
module "route53acm" {
source = "KamranBiglari/route53acm/aws"
version = "~> 1.0"
domain = "yourdomain.com"
endpoint = "apigateway.dev"
record = {
type = "CNAME"
ttl = 60
records = ["d-1234567890.execute-api.us-east-1.amazonaws.com"]
}
tags = {
Name = "apigateway.dev"
Environment = "dev"
Team = "devops"
}
}
Name | Version |
---|---|
terraform | >= 1.0.11 |
aws | >= 4.8.0 |
Name | Version |
---|---|
aws | >= 4.8.0 |
No modules.
Name | Type |
---|---|
aws_acm_certificate.this | resource |
aws_route53_record.endpoint | resource |
aws_route53_record.this | resource |
aws_route53_zone.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
domain | Domain name | string |
n/a | yes |
endpoint | Prefix of endpoint name | string |
n/a | yes |
record | Endpoint record | any |
null |
no |
tags | A mapping of tags to assign. | map(string) |
{} |
no |
Name | Description |
---|---|
certificate_arn | n/a |
domain | n/a |
endpoint | n/a |
fqdn | n/a |