Terraform module to provision route 53 alias to elastic load balancer.
Go to file
flavien 1d5a79bf4f
continuous-integration/drone/push Build is passing Details
Merge pull request 'merge after manual testing' (#1) from beta into main
Reviewed-on: #1
2022-09-28 11:28:01 +02:00
.drone.yml feat(initial release): first version of the module 2022-09-21 15:09:58 +02:00
.gitignore Initial commit 2022-09-21 14:57:21 +02:00
.pre-commit-config.yaml feat(initial release): first version of the module 2022-09-21 15:09:58 +02:00
.releaserc.json feat(initial release): first version of the module 2022-09-21 15:09:58 +02:00
README.md docs(delete useless doc): delete useless doc 2022-09-28 11:26:56 +02:00
main.tf feat(input changed): change input from elb name to dns name 2022-09-28 11:02:31 +02:00
outputs.tf feat(initial release): first version of the module 2022-09-21 15:09:58 +02:00
variables.tf feat(input changed): change input from elb name to dns name 2022-09-28 11:02:31 +02:00

README.md

aws_elb_alias terraform module

Terraform module to provision route 53 alias to elastic load balancer.
If the env is not "prd" a subdomain will be used as: "env.domain.com".
To launch instances and expose an elastic load balancer: aws_servers_module

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_route53_record.env-ns resource
aws_route53_record.www resource
aws_route53_zone.env resource
aws_elb_hosted_zone_id.main data source
aws_route53_zone.main data source

Inputs

Name Description Type Default Required
domain Domain name to use string n/a yes
elb_dns_name Dns name of the load balancer to alias string n/a yes
env Environment of the deployment string n/a yes
tags General tags to apply to all the resources map(string) {} no

Outputs

Name Description
alias_url The domain name