Skip to content

Commit

Permalink
fmt fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Fink <finken@us.ibm.com>
  • Loading branch information
finken2 committed Nov 15, 2023
1 parent 63e527f commit 9f50d40
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/satellite-vmware/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# satellite-vmware

**Note: this is currently under development, and not yet fully tested.**
**Note: this is currently under development, and not yet fully tested.**

Use this terrafrom automation to set up a Satellite location on IBM Cloud with hosts in VMware Cloud Director.

Expand Down
4 changes: 2 additions & 2 deletions examples/satellite-vmware/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module "ibm_vmware_solutions_shared_instance" {
network_name = var.dhcp_network_name
}

# Create the firewall rule to access the Internet
# Create the firewall rule to access the Internet
resource "vcd_nsxv_firewall_rule" "rule_internet" {
edge_gateway = module.ibm_vmware_solutions_shared_instance.edge_gateway_name
name = "${var.dhcp_network_name}-Internet"
Expand Down Expand Up @@ -92,7 +92,7 @@ resource "vcd_nsxv_firewall_rule" "rule_internet_ssh" {
}
}

# Create the firewall to access IBM Cloud services over the IBM Cloud private network
# Create the firewall to access IBM Cloud services over the IBM Cloud private network
resource "vcd_nsxv_firewall_rule" "rule_ibm_private" {
edge_gateway = module.ibm_vmware_solutions_shared_instance.edge_gateway_name
name = "${var.dhcp_network_name}-IBM-Private"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ output "edge_gateway_id" {
}

output "external_network_name_1" {
value = element([ for net in data.vcd_edgegateway.edge.external_network : net.name if !tolist(net.subnet)[0].use_for_default_route ], 0)
value = element([for net in data.vcd_edgegateway.edge.external_network : net.name if !tolist(net.subnet)[0].use_for_default_route], 0)
}

output "external_network_name_2" {
value = element([ for net in data.vcd_edgegateway.edge.external_network : net.name if tolist(net.subnet)[0].use_for_default_route ], 0)
value = element([for net in data.vcd_edgegateway.edge.external_network : net.name if tolist(net.subnet)[0].use_for_default_route], 0)
}

output "default_external_network_ip" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
variable "vdc_edge_gateway_name" {
description = "vCloud Director virtual datacenter edge gateway."
default = ""
default = ""
}

variable "network_name" {
description = "Name of your existing network that will be used for the VMs"
default = ""
default = ""
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
vcd = {
source = "vmware/vcd"
source = "vmware/vcd"
version = ">= 3.10.0"
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/satellite-vmware/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.1.5"
required_version = ">= 1.1.9"
required_providers {
vcd = {
source = "vmware/vcd"
Expand Down

0 comments on commit 9f50d40

Please sign in to comment.