Commit 34a25286 authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

changed "net" to "network"

parent ebd86dd7
......@@ -10,14 +10,14 @@ variable "enable_dhcp" {}
data "openstack_networking_network_v2" "public_network" {name = var.public_network_name}
# creates dmznet
resource "openstack_networking_network_v2" "external_net" {
resource "openstack_networking_network_v2" "external_network" {
name = "${var.name}net"
admin_state_up = var.admin_state_up
}
resource "openstack_networking_subnet_v2" "external_subnet" {
name = "${var.name}subnet"
network_id = openstack_networking_network_v2.external_net.id
network_id = openstack_networking_network_v2.external_network.id
cidr = "192.168.100.0/24"
ip_version = 4
dns_nameservers = ["8.8.8.8"]
......
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