Skip to content

Commit

Permalink
feat: remove esxi_server_dns variable as we're configuring DNS on the…
Browse files Browse the repository at this point in the history
… bastion host

Signed-off-by: Chris Privitere <[email protected]>
  • Loading branch information
cprivitere committed Oct 2, 2024
1 parent 17b7bba commit 08c9c3a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module "vcf_metal_devices" {
esxi_assigned_vlans = [for r in module.metal_vrf_gateways_w_dynamic_neighbor : r.vlan_uuid]
for_each = var.esxi_devices
metal_metro = var.metro
esxi_dns_server = var.esxi_dns_server
esxi_dns_server = cidrhost(var.vcf_vrf_networks["bastion"].subnet, 2)
esxi_domain = var.esxi_domain
esxi_management_gateway = var.esxi_management_gateway
esxi_management_ip = each.value.mgmt_ip
Expand Down
1 change: 0 additions & 1 deletion terraform.tfvars.example
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ esxi_devices = {
esxi_network_space = "172.16.0.0/16"
esxi_management_subnet = "255.255.255.0" # Management Network Subnet Mask for VMK0
esxi_management_gateway = "172.16.11.1" # Management Network Gateway for default TCP/IP Stack
esxi_dns_server = "172.16.9.2" # DNS Server to be configured in ESXi
esxi_domain = "sfo.rainpole.io" # Domain Name to be configured in ESXi FQDN along with name above
esxi_mgmt_vlan = "1611" # VLAN ID of Management VLAN for ESXi Management Network portgroup/VMK0
esxi_ntp_server = "pool.ntp.org" # NTP Server to be configured in ESXi
Expand Down
4 changes: 0 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ variable "esxi_management_gateway" {
type = string
description = "Management Network Gateway for ESXi default TCP/IP Stack (vcf-ems-deployment-parameter.xlsx > Hosts and Networks Sheet > F8)"
}
variable "esxi_dns_server" {
type = string
description = "DNS Server to be configured in ESXi (vcf-ems-deployment-parameter.xlsx > Deploy Parameters Sheet > F6:G6)"
}
variable "esxi_domain" {
type = string
description = "Domain Name to be configured in ESXi FQDN along with name in Map above (vcf-ems-deployment-parameter.xlsx > Deploy Parameters Sheet > J6:K6)"
Expand Down

0 comments on commit 08c9c3a

Please sign in to comment.