Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
Expose optional_ops_manager_public_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalai Wei authored and ciphercules committed Mar 15, 2019
1 parent 0fd4954 commit cb08254
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/ops_manager/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ output "optional_dns" {
value = "${element(concat(aws_route53_record.optional_ops_manager.*.name, list("")), 0)}"
}

output "optional_public_ip" {
value = "${element(concat(aws_eip.optional_ops_manager.*.public_ip, list("")), 0)}"
}

output "security_group_id" {
value = "${element(concat(aws_security_group.ops_manager_security_group.*.id, list("")), 0)}"
}
Expand Down
4 changes: 4 additions & 0 deletions terraforming-pas/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ output "optional_ops_manager_dns" {
value = "${module.ops_manager.optional_dns}"
}

output "optional_ops_manager_public_ip" {
value = "${module.ops_manager.optional_public_ip}"
}

output "env_dns_zone_name_servers" {
value = "${module.infra.name_servers}"
}
Expand Down

0 comments on commit cb08254

Please sign in to comment.