flavien
1d5a79bf4f
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #1 |
||
---|---|---|
.drone.yml | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.releaserc.json | ||
README.md | ||
main.tf | ||
outputs.tf | ||
variables.tf |
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 |