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

add reserved range to output #124

Open
vchrisb opened this issue Feb 7, 2019 · 0 comments
Open

add reserved range to output #124

vchrisb opened this issue Feb 7, 2019 · 0 comments

Comments

@vchrisb
Copy link
Contributor

vchrisb commented Feb 7, 2019

the reserved range for the director network configuration is the only missing piece in output for configuring the tile, especially via templating a director.yml. cidrhost is very hand for that.

I can make a PR to add the following to the output:

output "subnet_mgmt_reserved" {
  value     = "${cidrhost(module.infra.ip_cidr_range, 1)}-${cidrhost(module.infra.ip_cidr_range, 9)}"
}

output "subnet_pas_reserved" {
  value     = "${cidrhost(module.pas.pas_subnet_ip_cidr_range, 1)}-${cidrhost(module.pas.pas_subnet_ip_cidr_range, 9)}"
}

output "subnet_pas_svc_reserved" {
  value     = "${cidrhost(module.pas.services_subnet_ip_cidr_range, 1)}-${cidrhost(module.pas.services_subnet_ip_cidr_range, 9)}"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants