-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- meraki_networks_switch_stacks_routing_interfaces - additional value…
…s in the API request #97 - networks_switch_dhcp_server_policy_arp_inspection_trusted_servers - inconsistency #96
- Loading branch information
1 parent
1f15178
commit dcb4179
Showing
8 changed files
with
124 additions
and
19 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...ources/meraki_networks_switch_dhcp_server_policy_arp_inspection_trusted_servers/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import meraki_networks_switch_dhcp_server_policy_arp_inspection_trusted_servers.example "network_id" |
29 changes: 29 additions & 0 deletions
29
...rces/meraki_networks_switch_dhcp_server_policy_arp_inspection_trusted_servers/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.5-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry | ||
} | ||
} | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
resource "meraki_networks_switch_dhcp_server_policy_arp_inspection_trusted_servers" "example" { | ||
|
||
ipv4 = { | ||
|
||
address = "1.2.3.4" | ||
} | ||
mac = "00:11:22:33:44:55" | ||
network_id = "L_828099381482771185" | ||
vlan = 100 | ||
} | ||
|
||
output "meraki_networks_switch_dhcp_server_policy_arp_inspection_trusted_servers_example" { | ||
value = meraki_networks_switch_dhcp_server_policy_arp_inspection_trusted_servers.example | ||
} |
1 change: 1 addition & 0 deletions
1
examples/samples/resources/meraki_networks_switch_stacks/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import meraki_networks_switch_stacks.example "network_id,switch_stack_id" |
25 changes: 25 additions & 0 deletions
25
examples/samples/resources/meraki_networks_switch_stacks/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.5-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry | ||
} | ||
} | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
|
||
resource "meraki_networks_switch_stacks" "example" { | ||
|
||
name = "A cool stack" | ||
network_id = "N_828099381482850157" | ||
serials = ["QBSB-AX45-LY9A", "QBSB-BNH2-KDXJ"] | ||
} | ||
|
||
output "meraki_networks_switch_stacks_example" { | ||
value = meraki_networks_switch_stacks.example | ||
} |
38 changes: 38 additions & 0 deletions
38
examples/samples/resources/meraki_networks_switch_stacks_routing_interfaces/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.5-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry | ||
} | ||
} | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
resource "meraki_networks_switch_stacks_routing_interfaces" "example" { | ||
|
||
default_gateway = "192.168.1.1" | ||
interface_ip = "192.168.1.2" | ||
ipv6 = { | ||
|
||
address = "1:2:3:4::1" | ||
assignment_mode = "static" | ||
gateway = "1:2:3:4::2" | ||
prefix = "1:2:3:4::/48" | ||
} | ||
multicast_routing = "disabled" | ||
name = "L3 interface" | ||
network_id = "L_828099381482775374" | ||
ospf_settings = { | ||
|
||
area = "0" | ||
cost = 1 | ||
is_passive_enabled = true | ||
} | ||
subnet = "192.168.1.0/24" | ||
switch_stack_id = "string" | ||
vlan_id = 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters