Commit 6ecd3279 authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

changed public-network to public_network in keeping with naming conventions

parent 9cbfe32a
......@@ -7,7 +7,7 @@ variable "enable_dhcp" {}
data "openstack_networking_network_v2" "public-network" {name = var.public_network_name}
data "openstack_networking_network_v2" "public_network" {name = var.public_network_name}
# creates dmznet
resource "openstack_networking_network_v2" "external_net" {
......@@ -28,7 +28,7 @@ resource "openstack_networking_subnet_v2" "external_subnet" {
resource "openstack_networking_router_v2" "router" {
name = "${var.name}router"
admin_state_up = var.admin_state_up
external_network_id = data.openstack_networking_network_v2.public-network.id
external_network_id = data.openstack_networking_network_v2.public_network.id
}
resource "openstack_networking_router_interface_v2" "router" {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment