August 2019
Beginner
608 pages
16h 7m
English
The GitLab module itself also has outputs that are defined. These are used in the ansible_host declarations in the top-level main.tf file.
The load balancer Fully Qualified Domain Name (FQDN)is as follows:
output "lb_address"{ value ="${aws_elb.lb.dns_name}" }
The bastion FQDN is as follows:
output "bastionhost_fqdn" { value= "${aws_instance.bastion_host.public_dns}" }
The private IP of the bastion host is as follows:
output "bastionhost_private_ip" { value= "${aws_instance.bastion_host.private_ip}" }
The private IP of the GitLab instance is as follows:
output "gitlab" { value= "${aws_instance.bastion_host.private_ip}" }
The FQDN of the GitLab instance is as follows:
output ...
Read now
Unlock full access