Skip to content

Commit 48bdbef

Browse files
authored
Updated subnet example (#157)
* Updated README.md * Updated subnet example Co-authored-by: Du'An Lightfoot <[email protected]>
1 parent 6f4f4ee commit 48bdbef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/subnet/subnet.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ resource "aci_bridge_domain" "bd_for_subnet" {
1111
}
1212

1313
resource "aci_subnet" "demosubnet" {
14-
name = "10.0.3.28/27"
15-
bridge_domain_dn = "${aci_bridge_domain.bd_for_subnet.id}"
14+
parent_dn = "${aci_bridge_domain.bd_for_subnet.id}"
1615
ip = "10.0.3.28/27"
17-
scope = "private"
16+
scope = ["private"]
1817
description = "This subject is created by terraform"
1918
ctrl = "unspecified"
2019
preferred = "no"

0 commit comments

Comments
 (0)