-
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.
resource meraki_networks_appliance_traffic_shaping_uplink_selection e…
…rror - on updates when state file has entry #92
- Loading branch information
1 parent
9be383e
commit 1f15178
Showing
5 changed files
with
106 additions
and
12 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...esources/meraki_networks_appliance_traffic_shaping_custom_performance_classes/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,31 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
source = "hashicorp.com/edu/meraki" | ||
version = "0.2.5-alpha" | ||
} | ||
} | ||
|
||
required_version = ">= 1.2.0" | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
|
||
resource "meraki_networks_appliance_traffic_shaping_custom_performance_classes" "example" { | ||
|
||
network_id = "L_828099381482775486" | ||
parameters = { | ||
|
||
max_jitter = 100 | ||
max_latency = 100 | ||
max_loss_percentage = 5 | ||
name = "myCustomPerformanceClass" | ||
} | ||
} | ||
|
||
output "meraki_networks_appliance_traffic_shaping_custom_performance_classes_example" { | ||
value = meraki_networks_appliance_traffic_shaping_custom_performance_classes.example | ||
} |
1 change: 1 addition & 0 deletions
1
...es/samples/resources/meraki_networks_appliance_traffic_shaping_uplink_selection/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_traffic_shaping_uplink_selection.example "network_id" |
38 changes: 38 additions & 0 deletions
38
.../samples/resources/meraki_networks_appliance_traffic_shaping_uplink_selection/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,38 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
source = "hashicorp.com/edu/meraki" | ||
version = "0.2.5-alpha" | ||
} | ||
} | ||
|
||
required_version = ">= 1.2.0" | ||
} | ||
|
||
provider meraki { | ||
meraki_debug = "true" | ||
} | ||
|
||
|
||
# data "meraki_networks" "my_networks" { | ||
# provider = meraki | ||
# organization_id = "828099381482762270" | ||
|
||
# } | ||
|
||
resource "meraki_networks_appliance_traffic_shaping_uplink_selection" "this" { | ||
network_id = "L_828099381482775486" | ||
default_uplink = "wan1" | ||
active_active_auto_vpn_enabled = true | ||
load_balancing_enabled = true | ||
failover_and_failback = { | ||
immediate = { | ||
enabled = false | ||
} | ||
} | ||
} | ||
|
||
|
||
output "meraki_networks_appliance_traffic_shaping_uplink_selection_example" { | ||
value = meraki_networks_appliance_traffic_shaping_uplink_selection.this | ||
} |
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