-
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.
Appliance Static Routing Resource #182
- Loading branch information
1 parent
b260343
commit d75b661
Showing
15 changed files
with
1,137 additions
and
18 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
examples/data-sources/meraki_networks_appliance_static_routes/data-source.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,18 @@ | ||
|
||
data "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
network_id = "string" | ||
} | ||
|
||
output "meraki_networks_appliance_static_routes_example" { | ||
value = data.meraki_networks_appliance_static_routes.example.items | ||
} | ||
|
||
data "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
network_id = "string" | ||
} | ||
|
||
output "meraki_networks_appliance_static_routes_example" { | ||
value = data.meraki_networks_appliance_static_routes.example.item | ||
} |
1 change: 1 addition & 0 deletions
1
examples/resources/meraki_networks_appliance_static_routes/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_appliance_static_routes.example "network_id,static_route_id" |
12 changes: 12 additions & 0 deletions
12
examples/resources/meraki_networks_appliance_static_routes/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,12 @@ | ||
|
||
resource "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
gateway_ip = "1.2.3.5" | ||
name = "My route" | ||
network_id = "string" | ||
subnet = "192.168.1.0/24" | ||
} | ||
|
||
output "meraki_networks_appliance_static_routes_example" { | ||
value = meraki_networks_appliance_static_routes.example | ||
} |
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
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
1 change: 1 addition & 0 deletions
1
examples/samples/resources/meraki_networks_appliance_static_routes/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_appliance_static_routes.example "network_id,static_route_id" |
12 changes: 12 additions & 0 deletions
12
examples/samples/resources/meraki_networks_appliance_static_routes/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,12 @@ | ||
|
||
resource "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
gateway_ip = "1.2.3.5" | ||
name = "My route" | ||
network_id = "string" | ||
subnet = "192.168.1.0/24" | ||
} | ||
|
||
output "meraki_networks_appliance_static_routes_example" { | ||
value = meraki_networks_appliance_static_routes.example | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ terraform { | |
source = "hashicorp.com/edu/meraki" | ||
} | ||
} | ||
} | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
|
Oops, something went wrong.