diff --git a/internal/provider/data_source_meraki_appliance_cellular_firewall_rules_test.go b/internal/provider/data_source_meraki_appliance_cellular_firewall_rules_test.go
index ea5f8d6..7b7e5d3 100644
--- a/internal/provider/data_source_meraki_appliance_cellular_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_cellular_firewall_rules_test.go
@@ -78,17 +78,17 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceCellularFirewallRulesConfig() string {
config := `resource "meraki_appliance_cellular_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "192.168.1.0/24"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_cidr = "Any"` + "\n"
- config += ` src_port = "Any"` + "\n"
- config += ` syslog_enabled = false` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "192.168.1.0/24"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_cidr = "Any"` + "\n"
+ config += ` src_port = "Any"` + "\n"
+ config += ` syslog_enabled = false` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_connectivity_monitoring_destinations_test.go b/internal/provider/data_source_meraki_appliance_connectivity_monitoring_destinations_test.go
index 3414d77..7b998ad 100644
--- a/internal/provider/data_source_meraki_appliance_connectivity_monitoring_destinations_test.go
+++ b/internal/provider/data_source_meraki_appliance_connectivity_monitoring_destinations_test.go
@@ -73,12 +73,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceConnectivityMonitoringDestinationsConfig() string {
config := `resource "meraki_appliance_connectivity_monitoring_destinations" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` destinations = [{` + "\n"
- config += ` default = true` + "\n"
- config += ` description = "Google"` + "\n"
- config += ` ip = "1.2.3.4"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` destinations = [{` + "\n"
+ config += ` default = true` + "\n"
+ config += ` description = "Google"` + "\n"
+ config += ` ip = "1.2.3.4"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_content_filtering_test.go b/internal/provider/data_source_meraki_appliance_content_filtering_test.go
index 5477408..da792ad 100644
--- a/internal/provider/data_source_meraki_appliance_content_filtering_test.go
+++ b/internal/provider/data_source_meraki_appliance_content_filtering_test.go
@@ -70,11 +70,11 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceContentFilteringConfig() string {
config := `resource "meraki_appliance_content_filtering" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` url_category_list_size = "topSites"` + "\n"
- config += ` allowed_url_patterns = ["http://www.example.org"]` + "\n"
- config += ` blocked_url_categories = ["meraki:contentFiltering/category/C1"]` + "\n"
- config += ` blocked_url_patterns = ["http://www.example.com"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` url_category_list_size = "topSites"` + "\n"
+ config += ` allowed_url_patterns = ["http://www.example.org"]` + "\n"
+ config += ` blocked_url_categories = ["meraki:contentFiltering/category/C1"]` + "\n"
+ config += ` blocked_url_patterns = ["http://www.example.com"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_firewall_settings_test.go b/internal/provider/data_source_meraki_appliance_firewall_settings_test.go
index 3bf0008..87bc15c 100644
--- a/internal/provider/data_source_meraki_appliance_firewall_settings_test.go
+++ b/internal/provider/data_source_meraki_appliance_firewall_settings_test.go
@@ -71,8 +71,8 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceFirewallSettingsConfig() string {
config := `resource "meraki_appliance_firewall_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` spoofing_protection_ip_source_guard_mode = "block"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` spoofing_protection_ip_source_guard_mode = "block"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_firewalled_service_test.go b/internal/provider/data_source_meraki_appliance_firewalled_service_test.go
index 5df3a5e..a09dd9e 100644
--- a/internal/provider/data_source_meraki_appliance_firewalled_service_test.go
+++ b/internal/provider/data_source_meraki_appliance_firewalled_service_test.go
@@ -73,10 +73,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceFirewalledServiceConfig() string {
config := `resource "meraki_appliance_firewalled_service" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` service = "ICMP"` + "\n"
- config += ` access = "restricted"` + "\n"
- config += ` allowed_ips = ["123.123.123.1"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` service = "ICMP"` + "\n"
+ config += ` access = "restricted"` + "\n"
+ config += ` allowed_ips = ["123.123.123.1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_inbound_cellular_firewall_rules_test.go b/internal/provider/data_source_meraki_appliance_inbound_cellular_firewall_rules_test.go
index 449598e..893fea3 100644
--- a/internal/provider/data_source_meraki_appliance_inbound_cellular_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_inbound_cellular_firewall_rules_test.go
@@ -78,17 +78,17 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceInboundCellularFirewallRulesConfig() string {
config := `resource "meraki_appliance_inbound_cellular_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "2001::1/64"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_cidr = "Any"` + "\n"
- config += ` src_port = "Any"` + "\n"
- config += ` syslog_enabled = false` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "2001::1/64"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_cidr = "Any"` + "\n"
+ config += ` src_port = "Any"` + "\n"
+ config += ` syslog_enabled = false` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_inbound_firewall_rules_test.go b/internal/provider/data_source_meraki_appliance_inbound_firewall_rules_test.go
index fb1924c..69a081c 100644
--- a/internal/provider/data_source_meraki_appliance_inbound_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_inbound_firewall_rules_test.go
@@ -78,17 +78,17 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceInboundFirewallRulesConfig() string {
config := `resource "meraki_appliance_inbound_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "192.168.1.0/24"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_cidr = "Any"` + "\n"
- config += ` src_port = "Any"` + "\n"
- config += ` syslog_enabled = false` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "192.168.1.0/24"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_cidr = "Any"` + "\n"
+ config += ` src_port = "Any"` + "\n"
+ config += ` syslog_enabled = false` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_l3_firewall_rules_test.go b/internal/provider/data_source_meraki_appliance_l3_firewall_rules_test.go
index 64d50dc..c0b5c45 100644
--- a/internal/provider/data_source_meraki_appliance_l3_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_l3_firewall_rules_test.go
@@ -78,17 +78,17 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceL3FirewallRulesConfig() string {
config := `resource "meraki_appliance_l3_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "192.168.1.0/24"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_cidr = "Any"` + "\n"
- config += ` src_port = "Any"` + "\n"
- config += ` syslog_enabled = false` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "192.168.1.0/24"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_cidr = "Any"` + "\n"
+ config += ` src_port = "Any"` + "\n"
+ config += ` syslog_enabled = false` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_l7_firewall_rules_test.go b/internal/provider/data_source_meraki_appliance_l7_firewall_rules_test.go
index 8a1eae2..9f3670c 100644
--- a/internal/provider/data_source_meraki_appliance_l7_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_l7_firewall_rules_test.go
@@ -73,12 +73,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceL7FirewallRulesConfig() string {
config := `resource "meraki_appliance_l7_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_network_security_intrusion_test.go b/internal/provider/data_source_meraki_appliance_network_security_intrusion_test.go
index a95747b..c811c71 100644
--- a/internal/provider/data_source_meraki_appliance_network_security_intrusion_test.go
+++ b/internal/provider/data_source_meraki_appliance_network_security_intrusion_test.go
@@ -78,12 +78,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceNetworkSecurityIntrusionConfig() string {
config := `resource "meraki_appliance_network_security_intrusion" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` ids_rulesets = "balanced"` + "\n"
- config += ` mode = "prevention"` + "\n"
- config += ` protected_networks_use_default = false` + "\n"
- config += ` protected_networks_excluded_cidr = ["10.0.0.0/8"]` + "\n"
- config += ` protected_networks_included_cidr = ["10.0.0.0/8"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` ids_rulesets = "balanced"` + "\n"
+ config += ` mode = "prevention"` + "\n"
+ config += ` protected_networks_use_default = false` + "\n"
+ config += ` protected_networks_excluded_cidr = ["10.0.0.0/8"]` + "\n"
+ config += ` protected_networks_included_cidr = ["10.0.0.0/8"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_one_to_many_nat_rules_test.go b/internal/provider/data_source_meraki_appliance_one_to_many_nat_rules_test.go
index 61637cc..ca307a8 100644
--- a/internal/provider/data_source_meraki_appliance_one_to_many_nat_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_one_to_many_nat_rules_test.go
@@ -78,19 +78,19 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceOneToManyNATRulesConfig() string {
config := `resource "meraki_appliance_one_to_many_nat_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` public_ip = "146.11.11.13"` + "\n"
- config += ` uplink = "internet1"` + "\n"
- config += ` port_rules = [{` + "\n"
- config += ` local_ip = "192.168.128.1"` + "\n"
- config += ` local_port = "443"` + "\n"
- config += ` name = "Rule 1"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` public_port = "9443"` + "\n"
- config += ` allowed_ips = ["any"]` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` public_ip = "146.11.11.13"` + "\n"
+ config += ` uplink = "internet1"` + "\n"
+ config += ` port_rules = [{` + "\n"
+ config += ` local_ip = "192.168.128.1"` + "\n"
+ config += ` local_port = "443"` + "\n"
+ config += ` name = "Rule 1"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` public_port = "9443"` + "\n"
+ config += ` allowed_ips = ["any"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_one_to_one_nat_rules_test.go b/internal/provider/data_source_meraki_appliance_one_to_one_nat_rules_test.go
index 8ffac29..a876ec9 100644
--- a/internal/provider/data_source_meraki_appliance_one_to_one_nat_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_one_to_one_nat_rules_test.go
@@ -77,18 +77,18 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceOneToOneNATRulesConfig() string {
config := `resource "meraki_appliance_one_to_one_nat_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` lan_ip = "192.168.128.22"` + "\n"
- config += ` name = "Service behind NAT"` + "\n"
- config += ` public_ip = "146.12.3.33"` + "\n"
- config += ` uplink = "internet1"` + "\n"
- config += ` allowed_inbound = [{` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` allowed_ips = ["10.82.112.0/24"]` + "\n"
- config += ` destination_ports = ["80"]` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` lan_ip = "192.168.128.22"` + "\n"
+ config += ` name = "Service behind NAT"` + "\n"
+ config += ` public_ip = "146.12.3.33"` + "\n"
+ config += ` uplink = "internet1"` + "\n"
+ config += ` allowed_inbound = [{` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` allowed_ips = ["10.82.112.0/24"]` + "\n"
+ config += ` destination_ports = ["80"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_organization_security_intrusion_test.go b/internal/provider/data_source_meraki_appliance_organization_security_intrusion_test.go
index b8391e3..62365b0 100644
--- a/internal/provider/data_source_meraki_appliance_organization_security_intrusion_test.go
+++ b/internal/provider/data_source_meraki_appliance_organization_security_intrusion_test.go
@@ -69,11 +69,11 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiApplianceOrganizationSecurityIntrusionConfig() string {
config := `resource "meraki_appliance_organization_security_intrusion" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` allowed_rules = [{` + "\n"
- config += ` message = "SQL sa login failed"` + "\n"
- config += ` rule_id = "meraki:intrusion/snort/GID/01/SID/688"` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` allowed_rules = [{` + "\n"
+ config += ` message = "SQL sa login failed"` + "\n"
+ config += ` rule_id = "meraki:intrusion/snort/GID/01/SID/688"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_port_forwarding_rules_test.go b/internal/provider/data_source_meraki_appliance_port_forwarding_rules_test.go
index f7cae2d..1f65064 100644
--- a/internal/provider/data_source_meraki_appliance_port_forwarding_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_port_forwarding_rules_test.go
@@ -77,16 +77,16 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiAppliancePortForwardingRulesConfig() string {
config := `resource "meraki_appliance_port_forwarding_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` lan_ip = "192.168.128.1"` + "\n"
- config += ` local_port = "442-443"` + "\n"
- config += ` name = "Description of Port Forwarding Rule"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` public_port = "8100-8101"` + "\n"
- config += ` uplink = "both"` + "\n"
- config += ` allowed_ips = ["any"]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` lan_ip = "192.168.128.1"` + "\n"
+ config += ` local_port = "442-443"` + "\n"
+ config += ` name = "Description of Port Forwarding Rule"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` public_port = "8100-8101"` + "\n"
+ config += ` uplink = "both"` + "\n"
+ config += ` allowed_ips = ["any"]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_port_test.go b/internal/provider/data_source_meraki_appliance_port_test.go
index e47f28d..7d3f4f6 100644
--- a/internal/provider/data_source_meraki_appliance_port_test.go
+++ b/internal/provider/data_source_meraki_appliance_port_test.go
@@ -85,13 +85,13 @@ resource "meraki_appliance_vlans_settings" "test" {
func testAccDataSourceMerakiAppliancePortConfig() string {
config := `resource "meraki_appliance_port" "test" {` + "\n"
- config += ` network_id = meraki_appliance_vlans_settings.test.network_id` + "\n"
- config += ` port_id = "12"` + "\n"
- config += ` access_policy = "open"` + "\n"
- config += ` drop_untagged_traffic = false` + "\n"
- config += ` enabled = true` + "\n"
- config += ` type = "access"` + "\n"
- config += ` vlan = 1` + "\n"
+ config += ` network_id = meraki_appliance_vlans_settings.test.network_id` + "\n"
+ config += ` port_id = "12"` + "\n"
+ config += ` access_policy = "open"` + "\n"
+ config += ` drop_untagged_traffic = false` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` type = "access"` + "\n"
+ config += ` vlan = 1` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_prefix_delegated_static_test.go b/internal/provider/data_source_meraki_appliance_prefix_delegated_static_test.go
index 2d048b2..d839b43 100644
--- a/internal/provider/data_source_meraki_appliance_prefix_delegated_static_test.go
+++ b/internal/provider/data_source_meraki_appliance_prefix_delegated_static_test.go
@@ -74,11 +74,11 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiAppliancePrefixDelegatedStaticConfig() string {
config := `resource "meraki_appliance_prefix_delegated_static" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` description = "Prefix on WAN 1 of Long Island Office network"` + "\n"
- config += ` prefix = "2002:db8:3c4d:15::/64"` + "\n"
- config += ` origin_type = "internet"` + "\n"
- config += ` origin_interfaces = ["wan1"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` description = "Prefix on WAN 1 of Long Island Office network"` + "\n"
+ config += ` prefix = "2002:db8:3c4d:15::/64"` + "\n"
+ config += ` origin_type = "internet"` + "\n"
+ config += ` origin_interfaces = ["wan1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_radio_settings_test.go b/internal/provider/data_source_meraki_appliance_radio_settings_test.go
index db5d92e..823b043 100644
--- a/internal/provider/data_source_meraki_appliance_radio_settings_test.go
+++ b/internal/provider/data_source_meraki_appliance_radio_settings_test.go
@@ -80,12 +80,12 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceRadioSettingsConfig() string {
config := `resource "meraki_appliance_radio_settings" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` five_ghz_settings_channel = 40` + "\n"
- config += ` five_ghz_settings_channel_width = 20` + "\n"
- config += ` five_ghz_settings_target_power = 15` + "\n"
- config += ` two_four_ghz_settings_channel = 11` + "\n"
- config += ` two_four_ghz_settings_target_power = 5` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` five_ghz_settings_channel = 40` + "\n"
+ config += ` five_ghz_settings_channel_width = 20` + "\n"
+ config += ` five_ghz_settings_target_power = 15` + "\n"
+ config += ` two_four_ghz_settings_channel = 11` + "\n"
+ config += ` two_four_ghz_settings_target_power = 5` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_rf_profile_test.go b/internal/provider/data_source_meraki_appliance_rf_profile_test.go
index 19ebf46..f1437df 100644
--- a/internal/provider/data_source_meraki_appliance_rf_profile_test.go
+++ b/internal/provider/data_source_meraki_appliance_rf_profile_test.go
@@ -88,20 +88,20 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceRFProfileConfig() string {
config := `resource "meraki_appliance_rf_profile" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` name = "MX RF Profile"` + "\n"
- config += ` five_ghz_settings_ax_enabled = true` + "\n"
- config += ` five_ghz_settings_min_bitrate = 48` + "\n"
- config += ` per_ssid_settings_1_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_2_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_3_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_4_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
- config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
- config += ` two_four_ghz_settings_min_bitrate = 12` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` name = "MX RF Profile"` + "\n"
+ config += ` five_ghz_settings_ax_enabled = true` + "\n"
+ config += ` five_ghz_settings_min_bitrate = 48` + "\n"
+ config += ` per_ssid_settings_1_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_2_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_3_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_4_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_min_bitrate = 12` + "\n"
config += `}` + "\n"
config += `
@@ -116,20 +116,20 @@ func testAccDataSourceMerakiApplianceRFProfileConfig() string {
func testAccNamedDataSourceMerakiApplianceRFProfileConfig() string {
config := `resource "meraki_appliance_rf_profile" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` name = "MX RF Profile"` + "\n"
- config += ` five_ghz_settings_ax_enabled = true` + "\n"
- config += ` five_ghz_settings_min_bitrate = 48` + "\n"
- config += ` per_ssid_settings_1_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_2_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_3_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_4_band_operation_mode = "dual"` + "\n"
- config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
- config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
- config += ` two_four_ghz_settings_min_bitrate = 12` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` name = "MX RF Profile"` + "\n"
+ config += ` five_ghz_settings_ax_enabled = true` + "\n"
+ config += ` five_ghz_settings_min_bitrate = 48` + "\n"
+ config += ` per_ssid_settings_1_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_2_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_3_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_4_band_operation_mode = "dual"` + "\n"
+ config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_min_bitrate = 12` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_security_malware_test.go b/internal/provider/data_source_meraki_appliance_security_malware_test.go
index bd34aa5..23d5164 100644
--- a/internal/provider/data_source_meraki_appliance_security_malware_test.go
+++ b/internal/provider/data_source_meraki_appliance_security_malware_test.go
@@ -78,16 +78,16 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceSecurityMalwareConfig() string {
config := `resource "meraki_appliance_security_malware" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` mode = "enabled"` + "\n"
- config += ` allowed_files = [{` + "\n"
- config += ` comment = "allow ZIP file"` + "\n"
- config += ` sha256 = "e82c5f7d75004727e1f3b94426b9a11c8bc4c312a9170ac9a73abace40aef503"` + "\n"
- config += ` }]` + "\n"
- config += ` allowed_urls = [{` + "\n"
- config += ` comment = "allow help.com.au"` + "\n"
- config += ` url = "help.com.au"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` mode = "enabled"` + "\n"
+ config += ` allowed_files = [{` + "\n"
+ config += ` comment = "allow ZIP file"` + "\n"
+ config += ` sha256 = "e82c5f7d75004727e1f3b94426b9a11c8bc4c312a9170ac9a73abace40aef503"` + "\n"
+ config += ` }]` + "\n"
+ config += ` allowed_urls = [{` + "\n"
+ config += ` comment = "allow help.com.au"` + "\n"
+ config += ` url = "help.com.au"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_settings_test.go b/internal/provider/data_source_meraki_appliance_settings_test.go
index 029856c..90c4b20 100644
--- a/internal/provider/data_source_meraki_appliance_settings_test.go
+++ b/internal/provider/data_source_meraki_appliance_settings_test.go
@@ -74,11 +74,11 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceSettingsConfig() string {
config := `resource "meraki_appliance_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` client_tracking_method = "MAC address"` + "\n"
- config += ` deployment_mode = "routed"` + "\n"
- config += ` dynamic_dns_enabled = true` + "\n"
- config += ` dynamic_dns_prefix = "test"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` client_tracking_method = "MAC address"` + "\n"
+ config += ` deployment_mode = "routed"` + "\n"
+ config += ` dynamic_dns_enabled = true` + "\n"
+ config += ` dynamic_dns_prefix = "test"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_single_lan_test.go b/internal/provider/data_source_meraki_appliance_single_lan_test.go
index 37d284c..754c77f 100644
--- a/internal/provider/data_source_meraki_appliance_single_lan_test.go
+++ b/internal/provider/data_source_meraki_appliance_single_lan_test.go
@@ -74,11 +74,11 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceSingleLANConfig() string {
config := `resource "meraki_appliance_single_lan" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` appliance_ip = "192.168.128.1"` + "\n"
- config += ` subnet = "192.168.128.0/24"` + "\n"
- config += ` ipv6_enabled = true` + "\n"
- config += ` mandatory_dhcp_enabled = false` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` appliance_ip = "192.168.128.1"` + "\n"
+ config += ` subnet = "192.168.128.0/24"` + "\n"
+ config += ` ipv6_enabled = true` + "\n"
+ config += ` mandatory_dhcp_enabled = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_site_to_site_vpn_test.go b/internal/provider/data_source_meraki_appliance_site_to_site_vpn_test.go
index 86838ae..2cc62e0 100644
--- a/internal/provider/data_source_meraki_appliance_site_to_site_vpn_test.go
+++ b/internal/provider/data_source_meraki_appliance_site_to_site_vpn_test.go
@@ -73,12 +73,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceSiteToSiteVPNConfig() string {
config := `resource "meraki_appliance_site_to_site_vpn" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` mode = "hub"` + "\n"
- config += ` subnets = [{` + "\n"
- config += ` local_subnet = "192.168.128.0/24"` + "\n"
- config += ` use_vpn = true` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` mode = "hub"` + "\n"
+ config += ` subnets = [{` + "\n"
+ config += ` local_subnet = "192.168.128.0/24"` + "\n"
+ config += ` use_vpn = true` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_ssid_test.go b/internal/provider/data_source_meraki_appliance_ssid_test.go
index 74455a2..6281ec4 100644
--- a/internal/provider/data_source_meraki_appliance_ssid_test.go
+++ b/internal/provider/data_source_meraki_appliance_ssid_test.go
@@ -83,18 +83,18 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceSSIDConfig() string {
config := `resource "meraki_appliance_ssid" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` number = "1"` + "\n"
- config += ` auth_mode = "8021x-radius"` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "My SSID"` + "\n"
- config += ` visible = true` + "\n"
- config += ` wpa_encryption_mode = "WPA2 only"` + "\n"
- config += ` radius_servers = [{` + "\n"
- config += ` host = "0.0.0.0"` + "\n"
- config += ` port = 1000` + "\n"
- config += ` secret = "secret"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` number = "1"` + "\n"
+ config += ` auth_mode = "8021x-radius"` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "My SSID"` + "\n"
+ config += ` visible = true` + "\n"
+ config += ` wpa_encryption_mode = "WPA2 only"` + "\n"
+ config += ` radius_servers = [{` + "\n"
+ config += ` host = "0.0.0.0"` + "\n"
+ config += ` port = 1000` + "\n"
+ config += ` secret = "secret"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_static_route_test.go b/internal/provider/data_source_meraki_appliance_static_route_test.go
index 2c19361..8f53b6e 100644
--- a/internal/provider/data_source_meraki_appliance_static_route_test.go
+++ b/internal/provider/data_source_meraki_appliance_static_route_test.go
@@ -73,10 +73,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceStaticRouteConfig() string {
config := `resource "meraki_appliance_static_route" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` gateway_ip = "192.168.128.254"` + "\n"
- config += ` name = "My route"` + "\n"
- config += ` subnet = "5.5.5.0/24"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` gateway_ip = "192.168.128.254"` + "\n"
+ config += ` name = "My route"` + "\n"
+ config += ` subnet = "5.5.5.0/24"` + "\n"
config += `}` + "\n"
config += `
@@ -91,10 +91,10 @@ func testAccDataSourceMerakiApplianceStaticRouteConfig() string {
func testAccNamedDataSourceMerakiApplianceStaticRouteConfig() string {
config := `resource "meraki_appliance_static_route" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` gateway_ip = "192.168.128.254"` + "\n"
- config += ` name = "My route"` + "\n"
- config += ` subnet = "5.5.5.0/24"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` gateway_ip = "192.168.128.254"` + "\n"
+ config += ` name = "My route"` + "\n"
+ config += ` subnet = "5.5.5.0/24"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_third_party_vpn_peers_test.go b/internal/provider/data_source_meraki_appliance_third_party_vpn_peers_test.go
index 3d83049..771fa30 100644
--- a/internal/provider/data_source_meraki_appliance_third_party_vpn_peers_test.go
+++ b/internal/provider/data_source_meraki_appliance_third_party_vpn_peers_test.go
@@ -81,26 +81,26 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiApplianceThirdPartyVPNPeersConfig() string {
config := `resource "meraki_appliance_third_party_vpn_peers" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` peers = [{` + "\n"
- config += ` ike_version = "2"` + "\n"
- config += ` local_id = "myMXId@meraki.com"` + "\n"
- config += ` name = "Peer Name"` + "\n"
- config += ` public_ip = "123.123.123.1"` + "\n"
- config += ` remote_id = "miles@meraki.com"` + "\n"
- config += ` secret = "Sample Password"` + "\n"
- config += ` ipsec_policies_child_lifetime = 28800` + "\n"
- config += ` ipsec_policies_ike_lifetime = 28800` + "\n"
- config += ` ipsec_policies_child_auth_algo = ["sha1"]` + "\n"
- config += ` ipsec_policies_child_cipher_algo = ["aes128"]` + "\n"
- config += ` ipsec_policies_child_pfs_group = ["disabled"]` + "\n"
- config += ` ipsec_policies_ike_auth_algo = ["sha1"]` + "\n"
- config += ` ipsec_policies_ike_cipher_algo = ["tripledes"]` + "\n"
- config += ` ipsec_policies_ike_diffie_hellman_group = ["group2"]` + "\n"
- config += ` ipsec_policies_ike_prf_algo = ["prfsha1"]` + "\n"
- config += ` network_tags = ["none"]` + "\n"
- config += ` private_subnets = ["192.168.1.0/24"]` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` peers = [{` + "\n"
+ config += ` ike_version = "2"` + "\n"
+ config += ` local_id = "myMXId@meraki.com"` + "\n"
+ config += ` name = "Peer Name"` + "\n"
+ config += ` public_ip = "123.123.123.1"` + "\n"
+ config += ` remote_id = "miles@meraki.com"` + "\n"
+ config += ` secret = "Sample Password"` + "\n"
+ config += ` ipsec_policies_child_lifetime = 28800` + "\n"
+ config += ` ipsec_policies_ike_lifetime = 28800` + "\n"
+ config += ` ipsec_policies_child_auth_algo = ["sha1"]` + "\n"
+ config += ` ipsec_policies_child_cipher_algo = ["aes128"]` + "\n"
+ config += ` ipsec_policies_child_pfs_group = ["disabled"]` + "\n"
+ config += ` ipsec_policies_ike_auth_algo = ["sha1"]` + "\n"
+ config += ` ipsec_policies_ike_cipher_algo = ["tripledes"]` + "\n"
+ config += ` ipsec_policies_ike_diffie_hellman_group = ["group2"]` + "\n"
+ config += ` ipsec_policies_ike_prf_algo = ["prfsha1"]` + "\n"
+ config += ` network_tags = ["none"]` + "\n"
+ config += ` private_subnets = ["192.168.1.0/24"]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_traffic_shaping_custom_performance_class_test.go b/internal/provider/data_source_meraki_appliance_traffic_shaping_custom_performance_class_test.go
index a1a47f2..cfc1017 100644
--- a/internal/provider/data_source_meraki_appliance_traffic_shaping_custom_performance_class_test.go
+++ b/internal/provider/data_source_meraki_appliance_traffic_shaping_custom_performance_class_test.go
@@ -79,11 +79,11 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceTrafficShapingCustomPerformanceClassConfig() string {
config := `resource "meraki_appliance_traffic_shaping_custom_performance_class" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` max_jitter = 100` + "\n"
- config += ` max_latency = 100` + "\n"
- config += ` max_loss_percentage = 5` + "\n"
- config += ` name = "myCustomPerformanceClass"` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` max_jitter = 100` + "\n"
+ config += ` max_latency = 100` + "\n"
+ config += ` max_loss_percentage = 5` + "\n"
+ config += ` name = "myCustomPerformanceClass"` + "\n"
config += `}` + "\n"
config += `
@@ -98,11 +98,11 @@ func testAccDataSourceMerakiApplianceTrafficShapingCustomPerformanceClassConfig(
func testAccNamedDataSourceMerakiApplianceTrafficShapingCustomPerformanceClassConfig() string {
config := `resource "meraki_appliance_traffic_shaping_custom_performance_class" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` max_jitter = 100` + "\n"
- config += ` max_latency = 100` + "\n"
- config += ` max_loss_percentage = 5` + "\n"
- config += ` name = "myCustomPerformanceClass"` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` max_jitter = 100` + "\n"
+ config += ` max_latency = 100` + "\n"
+ config += ` max_loss_percentage = 5` + "\n"
+ config += ` name = "myCustomPerformanceClass"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_traffic_shaping_rules_test.go b/internal/provider/data_source_meraki_appliance_traffic_shaping_rules_test.go
index de4c7db..a42ce5a 100644
--- a/internal/provider/data_source_meraki_appliance_traffic_shaping_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_traffic_shaping_rules_test.go
@@ -78,19 +78,19 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceTrafficShapingRulesConfig() string {
config := `resource "meraki_appliance_traffic_shaping_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` default_rules_enabled = true` + "\n"
- config += ` rules = [{` + "\n"
- config += ` dscp_tag_value = 0` + "\n"
- config += ` priority = "normal"` + "\n"
- config += ` per_client_bandwidth_limit_settings = "custom"` + "\n"
- config += ` per_client_bandwidth_limit_down = 1000000` + "\n"
- config += ` per_client_bandwidth_limit_up = 1000000` + "\n"
- config += ` definitions = [{` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` default_rules_enabled = true` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` dscp_tag_value = 0` + "\n"
+ config += ` priority = "normal"` + "\n"
+ config += ` per_client_bandwidth_limit_settings = "custom"` + "\n"
+ config += ` per_client_bandwidth_limit_down = 1000000` + "\n"
+ config += ` per_client_bandwidth_limit_up = 1000000` + "\n"
+ config += ` definitions = [{` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_traffic_shaping_test.go b/internal/provider/data_source_meraki_appliance_traffic_shaping_test.go
index fb56b77..9d0ade5 100644
--- a/internal/provider/data_source_meraki_appliance_traffic_shaping_test.go
+++ b/internal/provider/data_source_meraki_appliance_traffic_shaping_test.go
@@ -72,9 +72,9 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceTrafficShapingConfig() string {
config := `resource "meraki_appliance_traffic_shaping" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` global_bandwidth_limit_down = 5120` + "\n"
- config += ` global_bandwidth_limit_up = 2048` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` global_bandwidth_limit_down = 5120` + "\n"
+ config += ` global_bandwidth_limit_up = 2048` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_bandwidth_test.go b/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_bandwidth_test.go
index cb8a047..3a89f0f 100644
--- a/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_bandwidth_test.go
+++ b/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_bandwidth_test.go
@@ -81,13 +81,13 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceTrafficShapingUplinkBandwidthConfig() string {
config := `resource "meraki_appliance_traffic_shaping_uplink_bandwidth" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` cellular_limit_down = 100000` + "\n"
- config += ` cellular_limit_up = 100000` + "\n"
- config += ` wan1_limit_down = 100000` + "\n"
- config += ` wan1_limit_up = 100000` + "\n"
- config += ` wan2_limit_down = 100000` + "\n"
- config += ` wan2_limit_up = 100000` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` cellular_limit_down = 100000` + "\n"
+ config += ` cellular_limit_up = 100000` + "\n"
+ config += ` wan1_limit_down = 100000` + "\n"
+ config += ` wan1_limit_up = 100000` + "\n"
+ config += ` wan2_limit_down = 100000` + "\n"
+ config += ` wan2_limit_up = 100000` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_selection_test.go b/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_selection_test.go
index be83991..87fb473 100644
--- a/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_selection_test.go
+++ b/internal/provider/data_source_meraki_appliance_traffic_shaping_uplink_selection_test.go
@@ -85,21 +85,21 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceTrafficShapingUplinkSelectionConfig() string {
config := `resource "meraki_appliance_traffic_shaping_uplink_selection" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` default_uplink = "wan1"` + "\n"
- config += ` load_balancing_enabled = true` + "\n"
- config += ` failover_and_failback_immediate_enabled = true` + "\n"
- config += ` wan_traffic_uplink_preferences = [{` + "\n"
- config += ` preferred_uplink = "wan1"` + "\n"
- config += ` traffic_filters = [{` + "\n"
- config += ` type = "custom"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` destination_cidr = "any"` + "\n"
- config += ` destination_port = "any"` + "\n"
- config += ` source_cidr = "any"` + "\n"
- config += ` source_port = "1-1024"` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` default_uplink = "wan1"` + "\n"
+ config += ` load_balancing_enabled = true` + "\n"
+ config += ` failover_and_failback_immediate_enabled = true` + "\n"
+ config += ` wan_traffic_uplink_preferences = [{` + "\n"
+ config += ` preferred_uplink = "wan1"` + "\n"
+ config += ` traffic_filters = [{` + "\n"
+ config += ` type = "custom"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` destination_cidr = "any"` + "\n"
+ config += ` destination_port = "any"` + "\n"
+ config += ` source_cidr = "any"` + "\n"
+ config += ` source_port = "1-1024"` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_traffic_shaping_vpn_exclusions_test.go b/internal/provider/data_source_meraki_appliance_traffic_shaping_vpn_exclusions_test.go
index 2775326..4d3410a 100644
--- a/internal/provider/data_source_meraki_appliance_traffic_shaping_vpn_exclusions_test.go
+++ b/internal/provider/data_source_meraki_appliance_traffic_shaping_vpn_exclusions_test.go
@@ -78,16 +78,16 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceTrafficShapingVPNExclusionsConfig() string {
config := `resource "meraki_appliance_traffic_shaping_vpn_exclusions" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` custom = [{` + "\n"
- config += ` destination = "192.168.3.0/24"` + "\n"
- config += ` port = "8000"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` }]` + "\n"
- config += ` major_applications = [{` + "\n"
- config += ` id = "meraki:vpnExclusion/application/2"` + "\n"
- config += ` name = "Office 365 Sharepoint"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` custom = [{` + "\n"
+ config += ` destination = "192.168.3.0/24"` + "\n"
+ config += ` port = "8000"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` }]` + "\n"
+ config += ` major_applications = [{` + "\n"
+ config += ` id = "meraki:vpnExclusion/application/2"` + "\n"
+ config += ` name = "Office 365 Sharepoint"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_uplinks_settings_test.go b/internal/provider/data_source_meraki_appliance_uplinks_settings_test.go
index ec9cdc1..ddb4eaa 100644
--- a/internal/provider/data_source_meraki_appliance_uplinks_settings_test.go
+++ b/internal/provider/data_source_meraki_appliance_uplinks_settings_test.go
@@ -95,29 +95,29 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceUplinksSettingsConfig() string {
config := `resource "meraki_appliance_uplinks_settings" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` interfaces_wan1_enabled = true` + "\n"
- config += ` interfaces_wan1_pppoe_enabled = true` + "\n"
- config += ` interfaces_wan1_pppoe_authentication_enabled = true` + "\n"
- config += ` interfaces_wan1_pppoe_authentication_password = "password"` + "\n"
- config += ` interfaces_wan1_pppoe_authentication_username = "username"` + "\n"
- config += ` interfaces_wan1_svis_ipv4_address = "9.10.11.10"` + "\n"
- config += ` interfaces_wan1_svis_ipv4_assignment_mode = "static"` + "\n"
- config += ` interfaces_wan1_svis_ipv6_address = "2001:2:3::4"` + "\n"
- config += ` interfaces_wan1_svis_ipv6_assignment_mode = "static"` + "\n"
- config += ` interfaces_wan1_vlan_tagging_enabled = true` + "\n"
- config += ` interfaces_wan1_vlan_tagging_vlan_id = 1` + "\n"
- config += ` interfaces_wan2_enabled = true` + "\n"
- config += ` interfaces_wan2_pppoe_enabled = true` + "\n"
- config += ` interfaces_wan2_pppoe_authentication_enabled = true` + "\n"
- config += ` interfaces_wan2_pppoe_authentication_password = "password"` + "\n"
- config += ` interfaces_wan2_pppoe_authentication_username = "username"` + "\n"
- config += ` interfaces_wan2_svis_ipv4_address = "9.10.11.10"` + "\n"
- config += ` interfaces_wan2_svis_ipv4_assignment_mode = "static"` + "\n"
- config += ` interfaces_wan2_svis_ipv6_address = "2001:2:3::4"` + "\n"
- config += ` interfaces_wan2_svis_ipv6_assignment_mode = "static"` + "\n"
- config += ` interfaces_wan2_vlan_tagging_enabled = true` + "\n"
- config += ` interfaces_wan2_vlan_tagging_vlan_id = 1` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` interfaces_wan1_enabled = true` + "\n"
+ config += ` interfaces_wan1_pppoe_enabled = true` + "\n"
+ config += ` interfaces_wan1_pppoe_authentication_enabled = true` + "\n"
+ config += ` interfaces_wan1_pppoe_authentication_password = "password"` + "\n"
+ config += ` interfaces_wan1_pppoe_authentication_username = "username"` + "\n"
+ config += ` interfaces_wan1_svis_ipv4_address = "9.10.11.10"` + "\n"
+ config += ` interfaces_wan1_svis_ipv4_assignment_mode = "static"` + "\n"
+ config += ` interfaces_wan1_svis_ipv6_address = "2001:2:3::4"` + "\n"
+ config += ` interfaces_wan1_svis_ipv6_assignment_mode = "static"` + "\n"
+ config += ` interfaces_wan1_vlan_tagging_enabled = true` + "\n"
+ config += ` interfaces_wan1_vlan_tagging_vlan_id = 1` + "\n"
+ config += ` interfaces_wan2_enabled = true` + "\n"
+ config += ` interfaces_wan2_pppoe_enabled = true` + "\n"
+ config += ` interfaces_wan2_pppoe_authentication_enabled = true` + "\n"
+ config += ` interfaces_wan2_pppoe_authentication_password = "password"` + "\n"
+ config += ` interfaces_wan2_pppoe_authentication_username = "username"` + "\n"
+ config += ` interfaces_wan2_svis_ipv4_address = "9.10.11.10"` + "\n"
+ config += ` interfaces_wan2_svis_ipv4_assignment_mode = "static"` + "\n"
+ config += ` interfaces_wan2_svis_ipv6_address = "2001:2:3::4"` + "\n"
+ config += ` interfaces_wan2_svis_ipv6_assignment_mode = "static"` + "\n"
+ config += ` interfaces_wan2_vlan_tagging_enabled = true` + "\n"
+ config += ` interfaces_wan2_vlan_tagging_vlan_id = 1` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_vlans_settings_test.go b/internal/provider/data_source_meraki_appliance_vlans_settings_test.go
index 2cd9beb..4c9f5b6 100644
--- a/internal/provider/data_source_meraki_appliance_vlans_settings_test.go
+++ b/internal/provider/data_source_meraki_appliance_vlans_settings_test.go
@@ -71,8 +71,8 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiApplianceVLANsSettingsConfig() string {
config := `resource "meraki_appliance_vlans_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` vlans_enabled = true` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` vlans_enabled = true` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_vpn_bgp_test.go b/internal/provider/data_source_meraki_appliance_vpn_bgp_test.go
index e9624b7..294a6fc 100644
--- a/internal/provider/data_source_meraki_appliance_vpn_bgp_test.go
+++ b/internal/provider/data_source_meraki_appliance_vpn_bgp_test.go
@@ -91,23 +91,23 @@ resource "meraki_appliance_site_to_site_vpn" "test" {
func testAccDataSourceMerakiApplianceVPNBGPConfig() string {
config := `resource "meraki_appliance_vpn_bgp" "test" {` + "\n"
- config += ` network_id = meraki_appliance_site_to_site_vpn.test.network_id` + "\n"
- config += ` as_number = 64515` + "\n"
- config += ` enabled = true` + "\n"
- config += ` ibgp_hold_timer = 120` + "\n"
- config += ` neighbors = [{` + "\n"
- config += ` allow_transit = true` + "\n"
- config += ` ebgp_hold_timer = 180` + "\n"
- config += ` ebgp_multihop = 2` + "\n"
- config += ` ip = "10.10.10.22"` + "\n"
- config += ` next_hop_ip = "1.2.3.4"` + "\n"
- config += ` receive_limit = 120` + "\n"
- config += ` remote_as_number = 64343` + "\n"
- config += ` source_interface = "wan1"` + "\n"
- config += ` authentication_password = "abc123"` + "\n"
- config += ` ipv6_address = "2002::1234:abcd:ffff:c0a8:101"` + "\n"
- config += ` ttl_security_enabled = false` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_appliance_site_to_site_vpn.test.network_id` + "\n"
+ config += ` as_number = 64515` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` ibgp_hold_timer = 120` + "\n"
+ config += ` neighbors = [{` + "\n"
+ config += ` allow_transit = true` + "\n"
+ config += ` ebgp_hold_timer = 180` + "\n"
+ config += ` ebgp_multihop = 2` + "\n"
+ config += ` ip = "10.10.10.22"` + "\n"
+ config += ` next_hop_ip = "1.2.3.4"` + "\n"
+ config += ` receive_limit = 120` + "\n"
+ config += ` remote_as_number = 64343` + "\n"
+ config += ` source_interface = "wan1"` + "\n"
+ config += ` authentication_password = "abc123"` + "\n"
+ config += ` ipv6_address = "2002::1234:abcd:ffff:c0a8:101"` + "\n"
+ config += ` ttl_security_enabled = false` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_vpn_firewall_rules_test.go b/internal/provider/data_source_meraki_appliance_vpn_firewall_rules_test.go
index a9a19b4..c969959 100644
--- a/internal/provider/data_source_meraki_appliance_vpn_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_appliance_vpn_firewall_rules_test.go
@@ -72,17 +72,17 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiApplianceVPNFirewallRulesConfig() string {
config := `resource "meraki_appliance_vpn_firewall_rules" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "192.168.1.0/24"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_cidr = "Any"` + "\n"
- config += ` src_port = "Any"` + "\n"
- config += ` syslog_enabled = false` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "192.168.1.0/24"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_cidr = "Any"` + "\n"
+ config += ` src_port = "Any"` + "\n"
+ config += ` syslog_enabled = false` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_appliance_warm_spare_test.go b/internal/provider/data_source_meraki_appliance_warm_spare_test.go
index 85fe9ac..b9769bc 100644
--- a/internal/provider/data_source_meraki_appliance_warm_spare_test.go
+++ b/internal/provider/data_source_meraki_appliance_warm_spare_test.go
@@ -80,12 +80,12 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiApplianceWarmSpareConfig() string {
config := `resource "meraki_appliance_warm_spare" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` spare_serial = var.test_appliance_2_serial` + "\n"
- config += ` uplink_mode = "virtual"` + "\n"
- config += ` virtual_ip1 = "1.2.3.4"` + "\n"
- config += ` virtual_ip2 = "2.3.4.5"` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.network_id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` spare_serial = var.test_appliance_2_serial` + "\n"
+ config += ` uplink_mode = "virtual"` + "\n"
+ config += ` virtual_ip1 = "1.2.3.4"` + "\n"
+ config += ` virtual_ip2 = "2.3.4.5"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_device_cellular_sims_test.go b/internal/provider/data_source_meraki_device_cellular_sims_test.go
index 6a49426..12ca7b8 100644
--- a/internal/provider/data_source_meraki_device_cellular_sims_test.go
+++ b/internal/provider/data_source_meraki_device_cellular_sims_test.go
@@ -88,22 +88,22 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiDeviceCellularSIMsConfig() string {
config := `resource "meraki_device_cellular_sims" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` sim_failover_enabled = true` + "\n"
- config += ` sim_failover_timeout = 300` + "\n"
- config += ` sim_ordering = ["sim1"]` + "\n"
- config += ` sims = [{` + "\n"
- config += ` is_primary = false` + "\n"
- config += ` sim_order = 3` + "\n"
- config += ` slot = "sim1"` + "\n"
- config += ` apns = [{` + "\n"
- config += ` name = "internet"` + "\n"
- config += ` authentication_password = "secret"` + "\n"
- config += ` authentication_type = "pap"` + "\n"
- config += ` authentication_username = "milesmeraki"` + "\n"
- config += ` allowed_ip_types = ["ipv4"]` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` sim_failover_enabled = true` + "\n"
+ config += ` sim_failover_timeout = 300` + "\n"
+ config += ` sim_ordering = ["sim1"]` + "\n"
+ config += ` sims = [{` + "\n"
+ config += ` is_primary = false` + "\n"
+ config += ` sim_order = 3` + "\n"
+ config += ` slot = "sim1"` + "\n"
+ config += ` apns = [{` + "\n"
+ config += ` name = "internet"` + "\n"
+ config += ` authentication_password = "secret"` + "\n"
+ config += ` authentication_type = "pap"` + "\n"
+ config += ` authentication_username = "milesmeraki"` + "\n"
+ config += ` allowed_ip_types = ["ipv4"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_device_management_interface_test.go b/internal/provider/data_source_meraki_device_management_interface_test.go
index f786154..c632778 100644
--- a/internal/provider/data_source_meraki_device_management_interface_test.go
+++ b/internal/provider/data_source_meraki_device_management_interface_test.go
@@ -81,13 +81,13 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiDeviceManagementInterfaceConfig() string {
config := `resource "meraki_device_management_interface" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` wan1_static_gateway_ip = "1.2.3.1"` + "\n"
- config += ` wan1_static_ip = "1.2.3.4"` + "\n"
- config += ` wan1_static_subnet_mask = "255.255.255.0"` + "\n"
- config += ` wan1_using_static_ip = true` + "\n"
- config += ` wan1_vlan = 7` + "\n"
- config += ` wan1_static_dns = ["1.2.3.2"]` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` wan1_static_gateway_ip = "1.2.3.1"` + "\n"
+ config += ` wan1_static_ip = "1.2.3.4"` + "\n"
+ config += ` wan1_static_subnet_mask = "255.255.255.0"` + "\n"
+ config += ` wan1_using_static_ip = true` + "\n"
+ config += ` wan1_vlan = 7` + "\n"
+ config += ` wan1_static_dns = ["1.2.3.2"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_device_test.go b/internal/provider/data_source_meraki_device_test.go
index c99658f..98dd286 100644
--- a/internal/provider/data_source_meraki_device_test.go
+++ b/internal/provider/data_source_meraki_device_test.go
@@ -80,13 +80,13 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiDeviceConfig() string {
config := `resource "meraki_device" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` address = "1600 Pennsylvania Ave"` + "\n"
- config += ` lat = 37.4180951010362` + "\n"
- config += ` lng = -122.098531723022` + "\n"
- config += ` name = "My AP"` + "\n"
- config += ` notes = "My AP's note"` + "\n"
- config += ` tags = ["recently-added"]` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` address = "1600 Pennsylvania Ave"` + "\n"
+ config += ` lat = 37.4180951010362` + "\n"
+ config += ` lng = -122.098531723022` + "\n"
+ config += ` name = "My AP"` + "\n"
+ config += ` notes = "My AP's note"` + "\n"
+ config += ` tags = ["recently-added"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_client_policy_test.go b/internal/provider/data_source_meraki_network_client_policy_test.go
index 67c4101..798629c 100644
--- a/internal/provider/data_source_meraki_network_client_policy_test.go
+++ b/internal/provider/data_source_meraki_network_client_policy_test.go
@@ -75,10 +75,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkClientPolicyConfig() string {
config := `resource "meraki_network_client_policy" "test" {` + "\n"
- config += ` network_id = meraki_network_vlan_profile.default.network_id` + "\n"
- config += ` client_id = 1.2.3.4` + "\n"
- config += ` device_policy = "Group policy"` + "\n"
- config += ` group_policy_id = "101"` + "\n"
+ config += ` network_id = meraki_network_vlan_profile.default.network_id` + "\n"
+ config += ` client_id = 1.2.3.4` + "\n"
+ config += ` device_policy = "Group policy"` + "\n"
+ config += ` group_policy_id = "101"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_client_splash_authorization_status_test.go b/internal/provider/data_source_meraki_network_client_splash_authorization_status_test.go
index 8cdcbfb..77ae26d 100644
--- a/internal/provider/data_source_meraki_network_client_splash_authorization_status_test.go
+++ b/internal/provider/data_source_meraki_network_client_splash_authorization_status_test.go
@@ -75,10 +75,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkClientSplashAuthorizationStatusConfig() string {
config := `resource "meraki_network_client_splash_authorization_status" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` client_id = "1.2.3.4"` + "\n"
- config += ` ssids_0_is_authorized = true` + "\n"
- config += ` ssids_2_is_authorized = false` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` client_id = "1.2.3.4"` + "\n"
+ config += ` ssids_0_is_authorized = true` + "\n"
+ config += ` ssids_2_is_authorized = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_firmware_upgrades_test.go b/internal/provider/data_source_meraki_network_firmware_upgrades_test.go
index e9158ba..ac50496 100644
--- a/internal/provider/data_source_meraki_network_firmware_upgrades_test.go
+++ b/internal/provider/data_source_meraki_network_firmware_upgrades_test.go
@@ -103,37 +103,37 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkFirmwareUpgradesConfig() string {
config := `resource "meraki_network_firmware_upgrades" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` timezone = "America/Los_Angeles"` + "\n"
- config += ` products_appliance_participate_in_next_beta_release = false` + "\n"
- config += ` products_appliance_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_appliance_next_upgrade_to_version_id = "1001"` + "\n"
- config += ` products_camera_participate_in_next_beta_release = false` + "\n"
- config += ` products_camera_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_camera_next_upgrade_to_version_id = "1003"` + "\n"
- config += ` products_cellular_gateway_participate_in_next_beta_release = false` + "\n"
- config += ` products_cellular_gateway_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_cellular_gateway_next_upgrade_to_version_id = "1004"` + "\n"
- config += ` products_secure_connect_participate_in_next_beta_release = false` + "\n"
- config += ` products_secure_connect_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_secure_connect_next_upgrade_to_version_id = "1007"` + "\n"
- config += ` products_sensor_participate_in_next_beta_release = false` + "\n"
- config += ` products_sensor_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_sensor_next_upgrade_to_version_id = "1005"` + "\n"
- config += ` products_switch_participate_in_next_beta_release = false` + "\n"
- config += ` products_switch_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_switch_next_upgrade_to_version_id = "1002"` + "\n"
- config += ` products_switch_catalyst_participate_in_next_beta_release = false` + "\n"
- config += ` products_switch_catalyst_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_switch_catalyst_next_upgrade_to_version_id = "1234"` + "\n"
- config += ` products_wireless_participate_in_next_beta_release = false` + "\n"
- config += ` products_wireless_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_wireless_next_upgrade_to_version_id = "1000"` + "\n"
- config += ` products_wireless_controller_participate_in_next_beta_release = false` + "\n"
- config += ` products_wireless_controller_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
- config += ` products_wireless_controller_next_upgrade_to_version_id = "1006"` + "\n"
- config += ` upgrade_window_day_of_week = "sun"` + "\n"
- config += ` upgrade_window_hour_of_day = "4:00"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` timezone = "America/Los_Angeles"` + "\n"
+ config += ` products_appliance_participate_in_next_beta_release = false` + "\n"
+ config += ` products_appliance_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_appliance_next_upgrade_to_version_id = "1001"` + "\n"
+ config += ` products_camera_participate_in_next_beta_release = false` + "\n"
+ config += ` products_camera_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_camera_next_upgrade_to_version_id = "1003"` + "\n"
+ config += ` products_cellular_gateway_participate_in_next_beta_release = false` + "\n"
+ config += ` products_cellular_gateway_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_cellular_gateway_next_upgrade_to_version_id = "1004"` + "\n"
+ config += ` products_secure_connect_participate_in_next_beta_release = false` + "\n"
+ config += ` products_secure_connect_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_secure_connect_next_upgrade_to_version_id = "1007"` + "\n"
+ config += ` products_sensor_participate_in_next_beta_release = false` + "\n"
+ config += ` products_sensor_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_sensor_next_upgrade_to_version_id = "1005"` + "\n"
+ config += ` products_switch_participate_in_next_beta_release = false` + "\n"
+ config += ` products_switch_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_switch_next_upgrade_to_version_id = "1002"` + "\n"
+ config += ` products_switch_catalyst_participate_in_next_beta_release = false` + "\n"
+ config += ` products_switch_catalyst_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_switch_catalyst_next_upgrade_to_version_id = "1234"` + "\n"
+ config += ` products_wireless_participate_in_next_beta_release = false` + "\n"
+ config += ` products_wireless_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_wireless_next_upgrade_to_version_id = "1000"` + "\n"
+ config += ` products_wireless_controller_participate_in_next_beta_release = false` + "\n"
+ config += ` products_wireless_controller_next_upgrade_time = "2019-03-17T17:22:52Z"` + "\n"
+ config += ` products_wireless_controller_next_upgrade_to_version_id = "1006"` + "\n"
+ config += ` upgrade_window_day_of_week = "sun"` + "\n"
+ config += ` upgrade_window_hour_of_day = "4:00"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_floor_plan_test.go b/internal/provider/data_source_meraki_network_floor_plan_test.go
index b2eafab..0146874 100644
--- a/internal/provider/data_source_meraki_network_floor_plan_test.go
+++ b/internal/provider/data_source_meraki_network_floor_plan_test.go
@@ -71,17 +71,17 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkFloorPlanConfig() string {
config := `resource "meraki_network_floor_plan" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` image_contents = "R0lGODdhAQABAIEAAP///wAAAAAAAAAAACwAAAAAAQABAAAIBAABBAQAOw=="` + "\n"
- config += ` name = "HQ Floor Plan"` + "\n"
- config += ` bottom_left_corner_lat = 37.770040510499996` + "\n"
- config += ` bottom_left_corner_lng = -122.38714009525` + "\n"
- config += ` bottom_right_corner_lat = 37.770040510499996` + "\n"
- config += ` bottom_right_corner_lng = -121.38714009525` + "\n"
- config += ` top_left_corner_lat = 38.770040510499996` + "\n"
- config += ` top_left_corner_lng = -122.38714009525` + "\n"
- config += ` top_right_corner_lat = 38.770040510499996` + "\n"
- config += ` top_right_corner_lng = -121.38714009525` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` image_contents = "R0lGODdhAQABAIEAAP///wAAAAAAAAAAACwAAAAAAQABAAAIBAABBAQAOw=="` + "\n"
+ config += ` name = "HQ Floor Plan"` + "\n"
+ config += ` bottom_left_corner_lat = 37.770040510499996` + "\n"
+ config += ` bottom_left_corner_lng = -122.38714009525` + "\n"
+ config += ` bottom_right_corner_lat = 37.770040510499996` + "\n"
+ config += ` bottom_right_corner_lng = -121.38714009525` + "\n"
+ config += ` top_left_corner_lat = 38.770040510499996` + "\n"
+ config += ` top_left_corner_lng = -122.38714009525` + "\n"
+ config += ` top_right_corner_lat = 38.770040510499996` + "\n"
+ config += ` top_right_corner_lng = -121.38714009525` + "\n"
config += `}` + "\n"
config += `
@@ -96,17 +96,17 @@ func testAccDataSourceMerakiNetworkFloorPlanConfig() string {
func testAccNamedDataSourceMerakiNetworkFloorPlanConfig() string {
config := `resource "meraki_network_floor_plan" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` image_contents = "R0lGODdhAQABAIEAAP///wAAAAAAAAAAACwAAAAAAQABAAAIBAABBAQAOw=="` + "\n"
- config += ` name = "HQ Floor Plan"` + "\n"
- config += ` bottom_left_corner_lat = 37.770040510499996` + "\n"
- config += ` bottom_left_corner_lng = -122.38714009525` + "\n"
- config += ` bottom_right_corner_lat = 37.770040510499996` + "\n"
- config += ` bottom_right_corner_lng = -121.38714009525` + "\n"
- config += ` top_left_corner_lat = 38.770040510499996` + "\n"
- config += ` top_left_corner_lng = -122.38714009525` + "\n"
- config += ` top_right_corner_lat = 38.770040510499996` + "\n"
- config += ` top_right_corner_lng = -121.38714009525` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` image_contents = "R0lGODdhAQABAIEAAP///wAAAAAAAAAAACwAAAAAAQABAAAIBAABBAQAOw=="` + "\n"
+ config += ` name = "HQ Floor Plan"` + "\n"
+ config += ` bottom_left_corner_lat = 37.770040510499996` + "\n"
+ config += ` bottom_left_corner_lng = -122.38714009525` + "\n"
+ config += ` bottom_right_corner_lat = 37.770040510499996` + "\n"
+ config += ` bottom_right_corner_lng = -121.38714009525` + "\n"
+ config += ` top_left_corner_lat = 38.770040510499996` + "\n"
+ config += ` top_left_corner_lng = -122.38714009525` + "\n"
+ config += ` top_right_corner_lat = 38.770040510499996` + "\n"
+ config += ` top_right_corner_lng = -121.38714009525` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_group_policy_test.go b/internal/provider/data_source_meraki_network_group_policy_test.go
index 65663bb..480b592 100644
--- a/internal/provider/data_source_meraki_network_group_policy_test.go
+++ b/internal/provider/data_source_meraki_network_group_policy_test.go
@@ -118,67 +118,67 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkGroupPolicyConfig() string {
config := `resource "meraki_network_group_policy" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "No video streaming"` + "\n"
- config += ` splash_auth_settings = "bypass"` + "\n"
- config += ` bandwidth_settings = "custom"` + "\n"
- config += ` bandwidth_limit_down = 1000000` + "\n"
- config += ` bandwidth_limit_up = 1000000` + "\n"
- config += ` bonjour_forwarding_settings = "custom"` + "\n"
- config += ` bonjour_forwarding_rules = [{` + "\n"
- config += ` description = "A simple bonjour rule"` + "\n"
- config += ` vlan_id = "1"` + "\n"
- config += ` services = ["All Services"]` + "\n"
- config += ` }]` + "\n"
- config += ` firewall_and_traffic_shaping_settings = "custom"` + "\n"
- config += ` l3_firewall_rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "192.168.1.0/24"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` }]` + "\n"
- config += ` l7_firewall_rules = [{` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
- config += ` traffic_shaping_rules = [{` + "\n"
- config += ` dscp_tag_value = 0` + "\n"
- config += ` pcp_tag_value = 0` + "\n"
- config += ` priority = "normal"` + "\n"
- config += ` per_client_bandwidth_limits_settings = "custom"` + "\n"
- config += ` per_client_bandwidth_limits_bandwidth_limits_limit_down = 1000000` + "\n"
- config += ` per_client_bandwidth_limits_bandwidth_limits_limit_up = 1000000` + "\n"
- config += ` definitions = [{` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
- config += ` scheduling_enabled = true` + "\n"
- config += ` scheduling_friday_active = true` + "\n"
- config += ` scheduling_friday_from = "09:00"` + "\n"
- config += ` scheduling_friday_to = "17:00"` + "\n"
- config += ` scheduling_monday_active = true` + "\n"
- config += ` scheduling_monday_from = "09:00"` + "\n"
- config += ` scheduling_monday_to = "17:00"` + "\n"
- config += ` scheduling_saturday_active = true` + "\n"
- config += ` scheduling_saturday_from = "09:00"` + "\n"
- config += ` scheduling_saturday_to = "17:00"` + "\n"
- config += ` scheduling_sunday_active = true` + "\n"
- config += ` scheduling_sunday_from = "09:00"` + "\n"
- config += ` scheduling_sunday_to = "17:00"` + "\n"
- config += ` scheduling_thursday_active = true` + "\n"
- config += ` scheduling_thursday_from = "09:00"` + "\n"
- config += ` scheduling_thursday_to = "17:00"` + "\n"
- config += ` scheduling_tuesday_active = true` + "\n"
- config += ` scheduling_tuesday_from = "09:00"` + "\n"
- config += ` scheduling_tuesday_to = "17:00"` + "\n"
- config += ` scheduling_wednesday_active = true` + "\n"
- config += ` scheduling_wednesday_from = "09:00"` + "\n"
- config += ` scheduling_wednesday_to = "17:00"` + "\n"
- config += ` vlan_tagging_settings = "custom"` + "\n"
- config += ` vlan_tagging_vlan_id = "1"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "No video streaming"` + "\n"
+ config += ` splash_auth_settings = "bypass"` + "\n"
+ config += ` bandwidth_settings = "custom"` + "\n"
+ config += ` bandwidth_limit_down = 1000000` + "\n"
+ config += ` bandwidth_limit_up = 1000000` + "\n"
+ config += ` bonjour_forwarding_settings = "custom"` + "\n"
+ config += ` bonjour_forwarding_rules = [{` + "\n"
+ config += ` description = "A simple bonjour rule"` + "\n"
+ config += ` vlan_id = "1"` + "\n"
+ config += ` services = ["All Services"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` firewall_and_traffic_shaping_settings = "custom"` + "\n"
+ config += ` l3_firewall_rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "192.168.1.0/24"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` }]` + "\n"
+ config += ` l7_firewall_rules = [{` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
+ config += ` traffic_shaping_rules = [{` + "\n"
+ config += ` dscp_tag_value = 0` + "\n"
+ config += ` pcp_tag_value = 0` + "\n"
+ config += ` priority = "normal"` + "\n"
+ config += ` per_client_bandwidth_limits_settings = "custom"` + "\n"
+ config += ` per_client_bandwidth_limits_bandwidth_limits_limit_down = 1000000` + "\n"
+ config += ` per_client_bandwidth_limits_bandwidth_limits_limit_up = 1000000` + "\n"
+ config += ` definitions = [{` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
+ config += ` scheduling_enabled = true` + "\n"
+ config += ` scheduling_friday_active = true` + "\n"
+ config += ` scheduling_friday_from = "09:00"` + "\n"
+ config += ` scheduling_friday_to = "17:00"` + "\n"
+ config += ` scheduling_monday_active = true` + "\n"
+ config += ` scheduling_monday_from = "09:00"` + "\n"
+ config += ` scheduling_monday_to = "17:00"` + "\n"
+ config += ` scheduling_saturday_active = true` + "\n"
+ config += ` scheduling_saturday_from = "09:00"` + "\n"
+ config += ` scheduling_saturday_to = "17:00"` + "\n"
+ config += ` scheduling_sunday_active = true` + "\n"
+ config += ` scheduling_sunday_from = "09:00"` + "\n"
+ config += ` scheduling_sunday_to = "17:00"` + "\n"
+ config += ` scheduling_thursday_active = true` + "\n"
+ config += ` scheduling_thursday_from = "09:00"` + "\n"
+ config += ` scheduling_thursday_to = "17:00"` + "\n"
+ config += ` scheduling_tuesday_active = true` + "\n"
+ config += ` scheduling_tuesday_from = "09:00"` + "\n"
+ config += ` scheduling_tuesday_to = "17:00"` + "\n"
+ config += ` scheduling_wednesday_active = true` + "\n"
+ config += ` scheduling_wednesday_from = "09:00"` + "\n"
+ config += ` scheduling_wednesday_to = "17:00"` + "\n"
+ config += ` vlan_tagging_settings = "custom"` + "\n"
+ config += ` vlan_tagging_vlan_id = "1"` + "\n"
config += `}` + "\n"
config += `
@@ -193,67 +193,67 @@ func testAccDataSourceMerakiNetworkGroupPolicyConfig() string {
func testAccNamedDataSourceMerakiNetworkGroupPolicyConfig() string {
config := `resource "meraki_network_group_policy" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "No video streaming"` + "\n"
- config += ` splash_auth_settings = "bypass"` + "\n"
- config += ` bandwidth_settings = "custom"` + "\n"
- config += ` bandwidth_limit_down = 1000000` + "\n"
- config += ` bandwidth_limit_up = 1000000` + "\n"
- config += ` bonjour_forwarding_settings = "custom"` + "\n"
- config += ` bonjour_forwarding_rules = [{` + "\n"
- config += ` description = "A simple bonjour rule"` + "\n"
- config += ` vlan_id = "1"` + "\n"
- config += ` services = ["All Services"]` + "\n"
- config += ` }]` + "\n"
- config += ` firewall_and_traffic_shaping_settings = "custom"` + "\n"
- config += ` l3_firewall_rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "192.168.1.0/24"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` }]` + "\n"
- config += ` l7_firewall_rules = [{` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
- config += ` traffic_shaping_rules = [{` + "\n"
- config += ` dscp_tag_value = 0` + "\n"
- config += ` pcp_tag_value = 0` + "\n"
- config += ` priority = "normal"` + "\n"
- config += ` per_client_bandwidth_limits_settings = "custom"` + "\n"
- config += ` per_client_bandwidth_limits_bandwidth_limits_limit_down = 1000000` + "\n"
- config += ` per_client_bandwidth_limits_bandwidth_limits_limit_up = 1000000` + "\n"
- config += ` definitions = [{` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
- config += ` scheduling_enabled = true` + "\n"
- config += ` scheduling_friday_active = true` + "\n"
- config += ` scheduling_friday_from = "09:00"` + "\n"
- config += ` scheduling_friday_to = "17:00"` + "\n"
- config += ` scheduling_monday_active = true` + "\n"
- config += ` scheduling_monday_from = "09:00"` + "\n"
- config += ` scheduling_monday_to = "17:00"` + "\n"
- config += ` scheduling_saturday_active = true` + "\n"
- config += ` scheduling_saturday_from = "09:00"` + "\n"
- config += ` scheduling_saturday_to = "17:00"` + "\n"
- config += ` scheduling_sunday_active = true` + "\n"
- config += ` scheduling_sunday_from = "09:00"` + "\n"
- config += ` scheduling_sunday_to = "17:00"` + "\n"
- config += ` scheduling_thursday_active = true` + "\n"
- config += ` scheduling_thursday_from = "09:00"` + "\n"
- config += ` scheduling_thursday_to = "17:00"` + "\n"
- config += ` scheduling_tuesday_active = true` + "\n"
- config += ` scheduling_tuesday_from = "09:00"` + "\n"
- config += ` scheduling_tuesday_to = "17:00"` + "\n"
- config += ` scheduling_wednesday_active = true` + "\n"
- config += ` scheduling_wednesday_from = "09:00"` + "\n"
- config += ` scheduling_wednesday_to = "17:00"` + "\n"
- config += ` vlan_tagging_settings = "custom"` + "\n"
- config += ` vlan_tagging_vlan_id = "1"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "No video streaming"` + "\n"
+ config += ` splash_auth_settings = "bypass"` + "\n"
+ config += ` bandwidth_settings = "custom"` + "\n"
+ config += ` bandwidth_limit_down = 1000000` + "\n"
+ config += ` bandwidth_limit_up = 1000000` + "\n"
+ config += ` bonjour_forwarding_settings = "custom"` + "\n"
+ config += ` bonjour_forwarding_rules = [{` + "\n"
+ config += ` description = "A simple bonjour rule"` + "\n"
+ config += ` vlan_id = "1"` + "\n"
+ config += ` services = ["All Services"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` firewall_and_traffic_shaping_settings = "custom"` + "\n"
+ config += ` l3_firewall_rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "192.168.1.0/24"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` }]` + "\n"
+ config += ` l7_firewall_rules = [{` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
+ config += ` traffic_shaping_rules = [{` + "\n"
+ config += ` dscp_tag_value = 0` + "\n"
+ config += ` pcp_tag_value = 0` + "\n"
+ config += ` priority = "normal"` + "\n"
+ config += ` per_client_bandwidth_limits_settings = "custom"` + "\n"
+ config += ` per_client_bandwidth_limits_bandwidth_limits_limit_down = 1000000` + "\n"
+ config += ` per_client_bandwidth_limits_bandwidth_limits_limit_up = 1000000` + "\n"
+ config += ` definitions = [{` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
+ config += ` scheduling_enabled = true` + "\n"
+ config += ` scheduling_friday_active = true` + "\n"
+ config += ` scheduling_friday_from = "09:00"` + "\n"
+ config += ` scheduling_friday_to = "17:00"` + "\n"
+ config += ` scheduling_monday_active = true` + "\n"
+ config += ` scheduling_monday_from = "09:00"` + "\n"
+ config += ` scheduling_monday_to = "17:00"` + "\n"
+ config += ` scheduling_saturday_active = true` + "\n"
+ config += ` scheduling_saturday_from = "09:00"` + "\n"
+ config += ` scheduling_saturday_to = "17:00"` + "\n"
+ config += ` scheduling_sunday_active = true` + "\n"
+ config += ` scheduling_sunday_from = "09:00"` + "\n"
+ config += ` scheduling_sunday_to = "17:00"` + "\n"
+ config += ` scheduling_thursday_active = true` + "\n"
+ config += ` scheduling_thursday_from = "09:00"` + "\n"
+ config += ` scheduling_thursday_to = "17:00"` + "\n"
+ config += ` scheduling_tuesday_active = true` + "\n"
+ config += ` scheduling_tuesday_from = "09:00"` + "\n"
+ config += ` scheduling_tuesday_to = "17:00"` + "\n"
+ config += ` scheduling_wednesday_active = true` + "\n"
+ config += ` scheduling_wednesday_from = "09:00"` + "\n"
+ config += ` scheduling_wednesday_to = "17:00"` + "\n"
+ config += ` vlan_tagging_settings = "custom"` + "\n"
+ config += ` vlan_tagging_vlan_id = "1"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_meraki_auth_user_test.go b/internal/provider/data_source_meraki_network_meraki_auth_user_test.go
index ec4c785..68d582d 100644
--- a/internal/provider/data_source_meraki_network_meraki_auth_user_test.go
+++ b/internal/provider/data_source_meraki_network_meraki_auth_user_test.go
@@ -82,17 +82,17 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiNetworkMerakiAuthUserConfig() string {
config := `resource "meraki_network_meraki_auth_user" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` account_type = "802.1X"` + "\n"
- config += ` email = "miles@meraki.com"` + "\n"
- config += ` email_password_to_user = false` + "\n"
- config += ` is_admin = false` + "\n"
- config += ` name = "Miles Meraki"` + "\n"
- config += ` password = "Cisco123456&"` + "\n"
- config += ` authorizations = [{` + "\n"
- config += ` expires_at = "2018-03-13T00:00:00.090210Z"` + "\n"
- config += ` ssid_number = meraki_wireless_ssid.test.number` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` account_type = "802.1X"` + "\n"
+ config += ` email = "miles@meraki.com"` + "\n"
+ config += ` email_password_to_user = false` + "\n"
+ config += ` is_admin = false` + "\n"
+ config += ` name = "Miles Meraki"` + "\n"
+ config += ` password = "Cisco123456&"` + "\n"
+ config += ` authorizations = [{` + "\n"
+ config += ` expires_at = "2018-03-13T00:00:00.090210Z"` + "\n"
+ config += ` ssid_number = meraki_wireless_ssid.test.number` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -107,17 +107,17 @@ func testAccDataSourceMerakiNetworkMerakiAuthUserConfig() string {
func testAccNamedDataSourceMerakiNetworkMerakiAuthUserConfig() string {
config := `resource "meraki_network_meraki_auth_user" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` account_type = "802.1X"` + "\n"
- config += ` email = "miles@meraki.com"` + "\n"
- config += ` email_password_to_user = false` + "\n"
- config += ` is_admin = false` + "\n"
- config += ` name = "Miles Meraki"` + "\n"
- config += ` password = "Cisco123456&"` + "\n"
- config += ` authorizations = [{` + "\n"
- config += ` expires_at = "2018-03-13T00:00:00.090210Z"` + "\n"
- config += ` ssid_number = meraki_wireless_ssid.test.number` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` account_type = "802.1X"` + "\n"
+ config += ` email = "miles@meraki.com"` + "\n"
+ config += ` email_password_to_user = false` + "\n"
+ config += ` is_admin = false` + "\n"
+ config += ` name = "Miles Meraki"` + "\n"
+ config += ` password = "Cisco123456&"` + "\n"
+ config += ` authorizations = [{` + "\n"
+ config += ` expires_at = "2018-03-13T00:00:00.090210Z"` + "\n"
+ config += ` ssid_number = meraki_wireless_ssid.test.number` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_mqtt_broker_test.go b/internal/provider/data_source_meraki_network_mqtt_broker_test.go
index 69c3c37..e91139b 100644
--- a/internal/provider/data_source_meraki_network_mqtt_broker_test.go
+++ b/internal/provider/data_source_meraki_network_mqtt_broker_test.go
@@ -76,15 +76,15 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkMQTTBrokerConfig() string {
config := `resource "meraki_network_mqtt_broker" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` name = "MQTT_Broker_1"` + "\n"
- config += ` port = 443` + "\n"
- config += ` authentication_password = "*****"` + "\n"
- config += ` authentication_username = "milesmeraki"` + "\n"
- config += ` security_mode = "tls"` + "\n"
- config += ` security_tls_ca_certificate = "*****"` + "\n"
- config += ` security_tls_verify_hostnames = true` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` name = "MQTT_Broker_1"` + "\n"
+ config += ` port = 443` + "\n"
+ config += ` authentication_password = "*****"` + "\n"
+ config += ` authentication_username = "milesmeraki"` + "\n"
+ config += ` security_mode = "tls"` + "\n"
+ config += ` security_tls_ca_certificate = "*****"` + "\n"
+ config += ` security_tls_verify_hostnames = true` + "\n"
config += `}` + "\n"
config += `
@@ -99,15 +99,15 @@ func testAccDataSourceMerakiNetworkMQTTBrokerConfig() string {
func testAccNamedDataSourceMerakiNetworkMQTTBrokerConfig() string {
config := `resource "meraki_network_mqtt_broker" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` name = "MQTT_Broker_1"` + "\n"
- config += ` port = 443` + "\n"
- config += ` authentication_password = "*****"` + "\n"
- config += ` authentication_username = "milesmeraki"` + "\n"
- config += ` security_mode = "tls"` + "\n"
- config += ` security_tls_ca_certificate = "*****"` + "\n"
- config += ` security_tls_verify_hostnames = true` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` name = "MQTT_Broker_1"` + "\n"
+ config += ` port = 443` + "\n"
+ config += ` authentication_password = "*****"` + "\n"
+ config += ` authentication_username = "milesmeraki"` + "\n"
+ config += ` security_mode = "tls"` + "\n"
+ config += ` security_tls_ca_certificate = "*****"` + "\n"
+ config += ` security_tls_verify_hostnames = true` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_netflow_test.go b/internal/provider/data_source_meraki_network_netflow_test.go
index c045fa4..fc32135 100644
--- a/internal/provider/data_source_meraki_network_netflow_test.go
+++ b/internal/provider/data_source_meraki_network_netflow_test.go
@@ -76,10 +76,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkNetflowConfig() string {
config := `resource "meraki_network_netflow" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` collector_ip = "1.2.3.4"` + "\n"
- config += ` collector_port = 1234` + "\n"
- config += ` reporting_enabled = true` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` collector_ip = "1.2.3.4"` + "\n"
+ config += ` collector_port = 1234` + "\n"
+ config += ` reporting_enabled = true` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_settings_test.go b/internal/provider/data_source_meraki_network_settings_test.go
index f3f5944..1f3390d 100644
--- a/internal/provider/data_source_meraki_network_settings_test.go
+++ b/internal/provider/data_source_meraki_network_settings_test.go
@@ -75,13 +75,13 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkSettingsConfig() string {
config := `resource "meraki_network_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` local_status_page_enabled = true` + "\n"
- config += ` remote_status_page_enabled = true` + "\n"
- config += ` local_status_page_authentication_enabled = false` + "\n"
- config += ` local_status_page_authentication_password = "miles123"` + "\n"
- config += ` named_vlans_enabled = true` + "\n"
- config += ` secure_port_enabled = false` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` local_status_page_enabled = true` + "\n"
+ config += ` remote_status_page_enabled = true` + "\n"
+ config += ` local_status_page_authentication_enabled = false` + "\n"
+ config += ` local_status_page_authentication_password = "miles123"` + "\n"
+ config += ` named_vlans_enabled = true` + "\n"
+ config += ` secure_port_enabled = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_snmp_test.go b/internal/provider/data_source_meraki_network_snmp_test.go
index 0b82e9c..a6d9e10 100644
--- a/internal/provider/data_source_meraki_network_snmp_test.go
+++ b/internal/provider/data_source_meraki_network_snmp_test.go
@@ -73,12 +73,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkSNMPConfig() string {
config := `resource "meraki_network_snmp" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` access = "users"` + "\n"
- config += ` users = [{` + "\n"
- config += ` passphrase = "hunter2"` + "\n"
- config += ` username = "AzureDiamond"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` access = "users"` + "\n"
+ config += ` users = [{` + "\n"
+ config += ` passphrase = "hunter2"` + "\n"
+ config += ` username = "AzureDiamond"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_syslog_servers_test.go b/internal/provider/data_source_meraki_network_syslog_servers_test.go
index 3ac9bd7..2a5aad0 100644
--- a/internal/provider/data_source_meraki_network_syslog_servers_test.go
+++ b/internal/provider/data_source_meraki_network_syslog_servers_test.go
@@ -72,12 +72,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkSyslogServersConfig() string {
config := `resource "meraki_network_syslog_servers" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` servers = [{` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` port = 443` + "\n"
- config += ` roles = ["Wireless event log"]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` servers = [{` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` port = 443` + "\n"
+ config += ` roles = ["Wireless event log"]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_test.go b/internal/provider/data_source_meraki_network_test.go
index 23bdc55..3c84340 100644
--- a/internal/provider/data_source_meraki_network_test.go
+++ b/internal/provider/data_source_meraki_network_test.go
@@ -67,12 +67,12 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiNetworkConfig() string {
config := `resource "meraki_network" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` name = "${var.test_network}-TEST"` + "\n"
- config += ` notes = "Additional description of the network"` + "\n"
- config += ` time_zone = "America/Los_Angeles"` + "\n"
- config += ` product_types = ["switch"]` + "\n"
- config += ` tags = ["tag1"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` name = "${var.test_network}-TEST"` + "\n"
+ config += ` notes = "Additional description of the network"` + "\n"
+ config += ` time_zone = "America/Los_Angeles"` + "\n"
+ config += ` product_types = ["switch"]` + "\n"
+ config += ` tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
@@ -87,12 +87,12 @@ func testAccDataSourceMerakiNetworkConfig() string {
func testAccNamedDataSourceMerakiNetworkConfig() string {
config := `resource "meraki_network" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` name = "${var.test_network}-TEST"` + "\n"
- config += ` notes = "Additional description of the network"` + "\n"
- config += ` time_zone = "America/Los_Angeles"` + "\n"
- config += ` product_types = ["switch"]` + "\n"
- config += ` tags = ["tag1"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` name = "${var.test_network}-TEST"` + "\n"
+ config += ` notes = "Additional description of the network"` + "\n"
+ config += ` time_zone = "America/Los_Angeles"` + "\n"
+ config += ` product_types = ["switch"]` + "\n"
+ config += ` tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_traffic_analysis_test.go b/internal/provider/data_source_meraki_network_traffic_analysis_test.go
index 47f1ea5..0b826b8 100644
--- a/internal/provider/data_source_meraki_network_traffic_analysis_test.go
+++ b/internal/provider/data_source_meraki_network_traffic_analysis_test.go
@@ -74,13 +74,13 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkTrafficAnalysisConfig() string {
config := `resource "meraki_network_traffic_analysis" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` mode = "basic"` + "\n"
- config += ` custom_pie_chart_items = [{` + "\n"
- config += ` name = "Item from hostname"` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "example.com"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` mode = "basic"` + "\n"
+ config += ` custom_pie_chart_items = [{` + "\n"
+ config += ` name = "Item from hostname"` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "example.com"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_vlan_profile_test.go b/internal/provider/data_source_meraki_network_vlan_profile_test.go
index e551724..c53f8d1 100644
--- a/internal/provider/data_source_meraki_network_vlan_profile_test.go
+++ b/internal/provider/data_source_meraki_network_vlan_profile_test.go
@@ -93,17 +93,17 @@ resource "meraki_network_vlan_profile" "default" {
func testAccDataSourceMerakiNetworkVLANProfileConfig() string {
config := `resource "meraki_network_vlan_profile" "test" {` + "\n"
- config += ` network_id = meraki_network_vlan_profile.default.network_id` + "\n"
- config += ` iname = "Profile1"` + "\n"
- config += ` name = "My VLAN profile name"` + "\n"
- config += ` vlan_groups = [{` + "\n"
- config += ` name = "named-group-1"` + "\n"
- config += ` vlan_ids = "2,5-7"` + "\n"
- config += ` }]` + "\n"
- config += ` vlan_names = [{` + "\n"
- config += ` name = "named-1"` + "\n"
- config += ` vlan_id = "1"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network_vlan_profile.default.network_id` + "\n"
+ config += ` iname = "Profile1"` + "\n"
+ config += ` name = "My VLAN profile name"` + "\n"
+ config += ` vlan_groups = [{` + "\n"
+ config += ` name = "named-group-1"` + "\n"
+ config += ` vlan_ids = "2,5-7"` + "\n"
+ config += ` }]` + "\n"
+ config += ` vlan_names = [{` + "\n"
+ config += ` name = "named-1"` + "\n"
+ config += ` vlan_id = "1"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -118,17 +118,17 @@ func testAccDataSourceMerakiNetworkVLANProfileConfig() string {
func testAccNamedDataSourceMerakiNetworkVLANProfileConfig() string {
config := `resource "meraki_network_vlan_profile" "test" {` + "\n"
- config += ` network_id = meraki_network_vlan_profile.default.network_id` + "\n"
- config += ` iname = "Profile1"` + "\n"
- config += ` name = "My VLAN profile name"` + "\n"
- config += ` vlan_groups = [{` + "\n"
- config += ` name = "named-group-1"` + "\n"
- config += ` vlan_ids = "2,5-7"` + "\n"
- config += ` }]` + "\n"
- config += ` vlan_names = [{` + "\n"
- config += ` name = "named-1"` + "\n"
- config += ` vlan_id = "1"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network_vlan_profile.default.network_id` + "\n"
+ config += ` iname = "Profile1"` + "\n"
+ config += ` name = "My VLAN profile name"` + "\n"
+ config += ` vlan_groups = [{` + "\n"
+ config += ` name = "named-group-1"` + "\n"
+ config += ` vlan_ids = "2,5-7"` + "\n"
+ config += ` }]` + "\n"
+ config += ` vlan_names = [{` + "\n"
+ config += ` name = "named-1"` + "\n"
+ config += ` vlan_id = "1"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_webhook_http_server_test.go b/internal/provider/data_source_meraki_network_webhook_http_server_test.go
index 886c329..7448f8b 100644
--- a/internal/provider/data_source_meraki_network_webhook_http_server_test.go
+++ b/internal/provider/data_source_meraki_network_webhook_http_server_test.go
@@ -74,12 +74,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkWebhookHTTPServerConfig() string {
config := `resource "meraki_network_webhook_http_server" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "Example Webhook Server"` + "\n"
- config += ` shared_secret = "shhh"` + "\n"
- config += ` url = "https://example.com"` + "\n"
- config += ` payload_template_name = "Meraki (included)"` + "\n"
- config += ` payload_template_payload_template_id = "wpt_00001"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "Example Webhook Server"` + "\n"
+ config += ` shared_secret = "shhh"` + "\n"
+ config += ` url = "https://example.com"` + "\n"
+ config += ` payload_template_name = "Meraki (included)"` + "\n"
+ config += ` payload_template_payload_template_id = "wpt_00001"` + "\n"
config += `}` + "\n"
config += `
@@ -94,12 +94,12 @@ func testAccDataSourceMerakiNetworkWebhookHTTPServerConfig() string {
func testAccNamedDataSourceMerakiNetworkWebhookHTTPServerConfig() string {
config := `resource "meraki_network_webhook_http_server" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "Example Webhook Server"` + "\n"
- config += ` shared_secret = "shhh"` + "\n"
- config += ` url = "https://example.com"` + "\n"
- config += ` payload_template_name = "Meraki (included)"` + "\n"
- config += ` payload_template_payload_template_id = "wpt_00001"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "Example Webhook Server"` + "\n"
+ config += ` shared_secret = "shhh"` + "\n"
+ config += ` url = "https://example.com"` + "\n"
+ config += ` payload_template_name = "Meraki (included)"` + "\n"
+ config += ` payload_template_payload_template_id = "wpt_00001"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_network_webhook_payload_template_test.go b/internal/provider/data_source_meraki_network_webhook_payload_template_test.go
index 32ff6f4..db6b737 100644
--- a/internal/provider/data_source_meraki_network_webhook_payload_template_test.go
+++ b/internal/provider/data_source_meraki_network_webhook_payload_template_test.go
@@ -74,13 +74,13 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiNetworkWebhookPayloadTemplateConfig() string {
config := `resource "meraki_network_webhook_payload_template" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` body = "{\"event_type\":\"{{alertTypeId}}\",\"client_payload\":{\"text\":\"{{alertData}}\"}}"` + "\n"
- config += ` name = "Custom Template"` + "\n"
- config += ` headers = [{` + "\n"
- config += ` name = "Authorization"` + "\n"
- config += ` template = "Bearer {{sharedSecret}}"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` body = "{\"event_type\":\"{{alertTypeId}}\",\"client_payload\":{\"text\":\"{{alertData}}\"}}"` + "\n"
+ config += ` name = "Custom Template"` + "\n"
+ config += ` headers = [{` + "\n"
+ config += ` name = "Authorization"` + "\n"
+ config += ` template = "Bearer {{sharedSecret}}"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -95,13 +95,13 @@ func testAccDataSourceMerakiNetworkWebhookPayloadTemplateConfig() string {
func testAccNamedDataSourceMerakiNetworkWebhookPayloadTemplateConfig() string {
config := `resource "meraki_network_webhook_payload_template" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` body = "{\"event_type\":\"{{alertTypeId}}\",\"client_payload\":{\"text\":\"{{alertData}}\"}}"` + "\n"
- config += ` name = "Custom Template"` + "\n"
- config += ` headers = [{` + "\n"
- config += ` name = "Authorization"` + "\n"
- config += ` template = "Bearer {{sharedSecret}}"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` body = "{\"event_type\":\"{{alertTypeId}}\",\"client_payload\":{\"text\":\"{{alertData}}\"}}"` + "\n"
+ config += ` name = "Custom Template"` + "\n"
+ config += ` headers = [{` + "\n"
+ config += ` name = "Authorization"` + "\n"
+ config += ` template = "Bearer {{sharedSecret}}"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_adaptive_policy_acl_test.go b/internal/provider/data_source_meraki_organization_adaptive_policy_acl_test.go
index 69a7820..94c64ff 100644
--- a/internal/provider/data_source_meraki_organization_adaptive_policy_acl_test.go
+++ b/internal/provider/data_source_meraki_organization_adaptive_policy_acl_test.go
@@ -71,16 +71,16 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationAdaptivePolicyACLConfig() string {
config := `resource "meraki_organization_adaptive_policy_acl" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "Blocks sensitive web traffic"` + "\n"
- config += ` ip_version = "ipv6"` + "\n"
- config += ` name = "Block sensitive web traffic"` + "\n"
- config += ` rules = [{` + "\n"
- config += ` dst_port = "22-30"` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_port = "1,33"` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "Blocks sensitive web traffic"` + "\n"
+ config += ` ip_version = "ipv6"` + "\n"
+ config += ` name = "Block sensitive web traffic"` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` dst_port = "22-30"` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_port = "1,33"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -95,16 +95,16 @@ func testAccDataSourceMerakiOrganizationAdaptivePolicyACLConfig() string {
func testAccNamedDataSourceMerakiOrganizationAdaptivePolicyACLConfig() string {
config := `resource "meraki_organization_adaptive_policy_acl" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "Blocks sensitive web traffic"` + "\n"
- config += ` ip_version = "ipv6"` + "\n"
- config += ` name = "Block sensitive web traffic"` + "\n"
- config += ` rules = [{` + "\n"
- config += ` dst_port = "22-30"` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_port = "1,33"` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "Blocks sensitive web traffic"` + "\n"
+ config += ` ip_version = "ipv6"` + "\n"
+ config += ` name = "Block sensitive web traffic"` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` dst_port = "22-30"` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_port = "1,33"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_adaptive_policy_group_test.go b/internal/provider/data_source_meraki_organization_adaptive_policy_group_test.go
index db84469..e4d1a12 100644
--- a/internal/provider/data_source_meraki_organization_adaptive_policy_group_test.go
+++ b/internal/provider/data_source_meraki_organization_adaptive_policy_group_test.go
@@ -74,14 +74,14 @@ resource "meraki_organization_policy_object" "test" {
func testAccDataSourceMerakiOrganizationAdaptivePolicyGroupConfig() string {
config := `resource "meraki_organization_adaptive_policy_group" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "Group of XYZ Corp Employees"` + "\n"
- config += ` name = "Employee Group"` + "\n"
- config += ` sgt = 1000` + "\n"
- config += ` policy_objects = [{` + "\n"
- config += ` id = meraki_organization_policy_object.test.id` + "\n"
- config += ` name = meraki_organization_policy_object.test.name` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "Group of XYZ Corp Employees"` + "\n"
+ config += ` name = "Employee Group"` + "\n"
+ config += ` sgt = 1000` + "\n"
+ config += ` policy_objects = [{` + "\n"
+ config += ` id = meraki_organization_policy_object.test.id` + "\n"
+ config += ` name = meraki_organization_policy_object.test.name` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -96,14 +96,14 @@ func testAccDataSourceMerakiOrganizationAdaptivePolicyGroupConfig() string {
func testAccNamedDataSourceMerakiOrganizationAdaptivePolicyGroupConfig() string {
config := `resource "meraki_organization_adaptive_policy_group" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "Group of XYZ Corp Employees"` + "\n"
- config += ` name = "Employee Group"` + "\n"
- config += ` sgt = 1000` + "\n"
- config += ` policy_objects = [{` + "\n"
- config += ` id = meraki_organization_policy_object.test.id` + "\n"
- config += ` name = meraki_organization_policy_object.test.name` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "Group of XYZ Corp Employees"` + "\n"
+ config += ` name = "Employee Group"` + "\n"
+ config += ` sgt = 1000` + "\n"
+ config += ` policy_objects = [{` + "\n"
+ config += ` id = meraki_organization_policy_object.test.id` + "\n"
+ config += ` name = meraki_organization_policy_object.test.name` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_adaptive_policy_settings_test.go b/internal/provider/data_source_meraki_organization_adaptive_policy_settings_test.go
index c86792d..a4dfab0 100644
--- a/internal/provider/data_source_meraki_organization_adaptive_policy_settings_test.go
+++ b/internal/provider/data_source_meraki_organization_adaptive_policy_settings_test.go
@@ -73,8 +73,8 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiOrganizationAdaptivePolicySettingsConfig() string {
config := `resource "meraki_organization_adaptive_policy_settings" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` enabled_networks = [meraki_network.test.id]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` enabled_networks = [meraki_network.test.id]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_adaptive_policy_test.go b/internal/provider/data_source_meraki_organization_adaptive_policy_test.go
index 89c0e78..4e4463f 100644
--- a/internal/provider/data_source_meraki_organization_adaptive_policy_test.go
+++ b/internal/provider/data_source_meraki_organization_adaptive_policy_test.go
@@ -95,18 +95,18 @@ resource "meraki_organization_adaptive_policy_acl" "test" {
func testAccDataSourceMerakiOrganizationAdaptivePolicyConfig() string {
config := `resource "meraki_organization_adaptive_policy" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` last_entry_rule = "allow"` + "\n"
- config += ` destination_group_id = meraki_organization_adaptive_policy_group.test.id` + "\n"
- config += ` destination_group_name = meraki_organization_adaptive_policy_group.test.name` + "\n"
- config += ` destination_group_sgt = meraki_organization_adaptive_policy_group.test.sgt` + "\n"
- config += ` source_group_id = meraki_organization_adaptive_policy_group.test.id` + "\n"
- config += ` source_group_name = meraki_organization_adaptive_policy_group.test.name` + "\n"
- config += ` source_group_sgt = meraki_organization_adaptive_policy_group.test.sgt` + "\n"
- config += ` acls = [{` + "\n"
- config += ` id = meraki_organization_adaptive_policy_acl.test.id` + "\n"
- config += ` name = meraki_organization_adaptive_policy_acl.test.name` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` last_entry_rule = "allow"` + "\n"
+ config += ` destination_group_id = meraki_organization_adaptive_policy_group.test.id` + "\n"
+ config += ` destination_group_name = meraki_organization_adaptive_policy_group.test.name` + "\n"
+ config += ` destination_group_sgt = meraki_organization_adaptive_policy_group.test.sgt` + "\n"
+ config += ` source_group_id = meraki_organization_adaptive_policy_group.test.id` + "\n"
+ config += ` source_group_name = meraki_organization_adaptive_policy_group.test.name` + "\n"
+ config += ` source_group_sgt = meraki_organization_adaptive_policy_group.test.sgt` + "\n"
+ config += ` acls = [{` + "\n"
+ config += ` id = meraki_organization_adaptive_policy_acl.test.id` + "\n"
+ config += ` name = meraki_organization_adaptive_policy_acl.test.name` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_admin_test.go b/internal/provider/data_source_meraki_organization_admin_test.go
index 12d0764..dcd141d 100644
--- a/internal/provider/data_source_meraki_organization_admin_test.go
+++ b/internal/provider/data_source_meraki_organization_admin_test.go
@@ -77,19 +77,19 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiOrganizationAdminConfig() string {
config := `resource "meraki_organization_admin" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` authentication_method = "Email"` + "\n"
- config += ` email = "miles@meraki.com"` + "\n"
- config += ` name = "Miles Meraki"` + "\n"
- config += ` org_access = "none"` + "\n"
- config += ` networks = [{` + "\n"
- config += ` access = "full"` + "\n"
- config += ` id = meraki_network.test.id` + "\n"
- config += ` }]` + "\n"
- config += ` tags = [{` + "\n"
- config += ` access = "read-only"` + "\n"
- config += ` tag = "west"` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` authentication_method = "Email"` + "\n"
+ config += ` email = "miles@meraki.com"` + "\n"
+ config += ` name = "Miles Meraki"` + "\n"
+ config += ` org_access = "none"` + "\n"
+ config += ` networks = [{` + "\n"
+ config += ` access = "full"` + "\n"
+ config += ` id = meraki_network.test.id` + "\n"
+ config += ` }]` + "\n"
+ config += ` tags = [{` + "\n"
+ config += ` access = "read-only"` + "\n"
+ config += ` tag = "west"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -104,19 +104,19 @@ func testAccDataSourceMerakiOrganizationAdminConfig() string {
func testAccNamedDataSourceMerakiOrganizationAdminConfig() string {
config := `resource "meraki_organization_admin" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` authentication_method = "Email"` + "\n"
- config += ` email = "miles@meraki.com"` + "\n"
- config += ` name = "Miles Meraki"` + "\n"
- config += ` org_access = "none"` + "\n"
- config += ` networks = [{` + "\n"
- config += ` access = "full"` + "\n"
- config += ` id = meraki_network.test.id` + "\n"
- config += ` }]` + "\n"
- config += ` tags = [{` + "\n"
- config += ` access = "read-only"` + "\n"
- config += ` tag = "west"` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` authentication_method = "Email"` + "\n"
+ config += ` email = "miles@meraki.com"` + "\n"
+ config += ` name = "Miles Meraki"` + "\n"
+ config += ` org_access = "none"` + "\n"
+ config += ` networks = [{` + "\n"
+ config += ` access = "full"` + "\n"
+ config += ` id = meraki_network.test.id` + "\n"
+ config += ` }]` + "\n"
+ config += ` tags = [{` + "\n"
+ config += ` access = "read-only"` + "\n"
+ config += ` tag = "west"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_alerts_profile_test.go b/internal/provider/data_source_meraki_organization_alerts_profile_test.go
index 2d37cb9..9634f2c 100644
--- a/internal/provider/data_source_meraki_organization_alerts_profile_test.go
+++ b/internal/provider/data_source_meraki_organization_alerts_profile_test.go
@@ -76,15 +76,15 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiOrganizationAlertsProfileConfig() string {
config := `resource "meraki_organization_alerts_profile" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "WAN 1 high utilization"` + "\n"
- config += ` type = "wanUtilization"` + "\n"
- config += ` alert_condition_bit_rate_bps = 10000` + "\n"
- config += ` alert_condition_duration = 60` + "\n"
- config += ` alert_condition_interface = "wan1"` + "\n"
- config += ` alert_condition_window = 600` + "\n"
- config += ` recipients_emails = ["admin@example.org"]` + "\n"
- config += ` network_tags = ["tag1"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "WAN 1 high utilization"` + "\n"
+ config += ` type = "wanUtilization"` + "\n"
+ config += ` alert_condition_bit_rate_bps = 10000` + "\n"
+ config += ` alert_condition_duration = 60` + "\n"
+ config += ` alert_condition_interface = "wan1"` + "\n"
+ config += ` alert_condition_window = 600` + "\n"
+ config += ` recipients_emails = ["admin@example.org"]` + "\n"
+ config += ` network_tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_branding_policies_priorities_test.go b/internal/provider/data_source_meraki_organization_branding_policies_priorities_test.go
index bec0b23..0934414 100644
--- a/internal/provider/data_source_meraki_organization_branding_policies_priorities_test.go
+++ b/internal/provider/data_source_meraki_organization_branding_policies_priorities_test.go
@@ -68,8 +68,8 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationBrandingPoliciesPrioritiesConfig() string {
config := `resource "meraki_organization_branding_policies_priorities" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` branding_policy_ids = ["123"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` branding_policy_ids = ["123"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_branding_policy_test.go b/internal/provider/data_source_meraki_organization_branding_policy_test.go
index 6581624..748efe2 100644
--- a/internal/provider/data_source_meraki_organization_branding_policy_test.go
+++ b/internal/provider/data_source_meraki_organization_branding_policy_test.go
@@ -89,29 +89,29 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationBrandingPolicyConfig() string {
config := `resource "meraki_organization_branding_policy" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "My Branding Policy"` + "\n"
- config += ` admin_settings_applies_to = "All admins of networks..."` + "\n"
- config += ` admin_settings_values = ["N_1234"]` + "\n"
- config += ` custom_logo_enabled = true` + "\n"
- config += ` custom_logo_image_contents = "Hyperg26C8F4h8CvcoUqpA=="` + "\n"
- config += ` custom_logo_image_format = "jpg"` + "\n"
- config += ` help_settings_api_docs_subtab = "default or inherit"` + "\n"
- config += ` help_settings_cases_subtab = "hide"` + "\n"
- config += ` help_settings_cisco_meraki_product_documentation = "show"` + "\n"
- config += ` help_settings_community_subtab = "show"` + "\n"
- config += ` help_settings_data_protection_requests_subtab = "default or inherit"` + "\n"
- config += ` help_settings_firewall_info_subtab = "hide"` + "\n"
- config += ` help_settings_get_help_subtab = "default or inherit"` + "\n"
- config += ` help_settings_get_help_subtab_knowledge_base_search = "
Some custom HTML content
"` + "\n"
- config += ` help_settings_hardware_replacements_subtab = "hide"` + "\n"
- config += ` help_settings_help_tab = "show"` + "\n"
- config += ` help_settings_help_widget = "hide"` + "\n"
- config += ` help_settings_new_features_subtab = "show"` + "\n"
- config += ` help_settings_sm_forums = "hide"` + "\n"
- config += ` help_settings_support_contact_info = "show"` + "\n"
- config += ` help_settings_universal_search_knowledge_base_search = "hide"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "My Branding Policy"` + "\n"
+ config += ` admin_settings_applies_to = "All admins of networks..."` + "\n"
+ config += ` admin_settings_values = ["N_1234"]` + "\n"
+ config += ` custom_logo_enabled = true` + "\n"
+ config += ` custom_logo_image_contents = "Hyperg26C8F4h8CvcoUqpA=="` + "\n"
+ config += ` custom_logo_image_format = "jpg"` + "\n"
+ config += ` help_settings_api_docs_subtab = "default or inherit"` + "\n"
+ config += ` help_settings_cases_subtab = "hide"` + "\n"
+ config += ` help_settings_cisco_meraki_product_documentation = "show"` + "\n"
+ config += ` help_settings_community_subtab = "show"` + "\n"
+ config += ` help_settings_data_protection_requests_subtab = "default or inherit"` + "\n"
+ config += ` help_settings_firewall_info_subtab = "hide"` + "\n"
+ config += ` help_settings_get_help_subtab = "default or inherit"` + "\n"
+ config += ` help_settings_get_help_subtab_knowledge_base_search = "Some custom HTML content
"` + "\n"
+ config += ` help_settings_hardware_replacements_subtab = "hide"` + "\n"
+ config += ` help_settings_help_tab = "show"` + "\n"
+ config += ` help_settings_help_widget = "hide"` + "\n"
+ config += ` help_settings_new_features_subtab = "show"` + "\n"
+ config += ` help_settings_sm_forums = "hide"` + "\n"
+ config += ` help_settings_support_contact_info = "show"` + "\n"
+ config += ` help_settings_universal_search_knowledge_base_search = "hide"` + "\n"
config += `}` + "\n"
config += `
@@ -126,29 +126,29 @@ func testAccDataSourceMerakiOrganizationBrandingPolicyConfig() string {
func testAccNamedDataSourceMerakiOrganizationBrandingPolicyConfig() string {
config := `resource "meraki_organization_branding_policy" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "My Branding Policy"` + "\n"
- config += ` admin_settings_applies_to = "All admins of networks..."` + "\n"
- config += ` admin_settings_values = ["N_1234"]` + "\n"
- config += ` custom_logo_enabled = true` + "\n"
- config += ` custom_logo_image_contents = "Hyperg26C8F4h8CvcoUqpA=="` + "\n"
- config += ` custom_logo_image_format = "jpg"` + "\n"
- config += ` help_settings_api_docs_subtab = "default or inherit"` + "\n"
- config += ` help_settings_cases_subtab = "hide"` + "\n"
- config += ` help_settings_cisco_meraki_product_documentation = "show"` + "\n"
- config += ` help_settings_community_subtab = "show"` + "\n"
- config += ` help_settings_data_protection_requests_subtab = "default or inherit"` + "\n"
- config += ` help_settings_firewall_info_subtab = "hide"` + "\n"
- config += ` help_settings_get_help_subtab = "default or inherit"` + "\n"
- config += ` help_settings_get_help_subtab_knowledge_base_search = "Some custom HTML content
"` + "\n"
- config += ` help_settings_hardware_replacements_subtab = "hide"` + "\n"
- config += ` help_settings_help_tab = "show"` + "\n"
- config += ` help_settings_help_widget = "hide"` + "\n"
- config += ` help_settings_new_features_subtab = "show"` + "\n"
- config += ` help_settings_sm_forums = "hide"` + "\n"
- config += ` help_settings_support_contact_info = "show"` + "\n"
- config += ` help_settings_universal_search_knowledge_base_search = "hide"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "My Branding Policy"` + "\n"
+ config += ` admin_settings_applies_to = "All admins of networks..."` + "\n"
+ config += ` admin_settings_values = ["N_1234"]` + "\n"
+ config += ` custom_logo_enabled = true` + "\n"
+ config += ` custom_logo_image_contents = "Hyperg26C8F4h8CvcoUqpA=="` + "\n"
+ config += ` custom_logo_image_format = "jpg"` + "\n"
+ config += ` help_settings_api_docs_subtab = "default or inherit"` + "\n"
+ config += ` help_settings_cases_subtab = "hide"` + "\n"
+ config += ` help_settings_cisco_meraki_product_documentation = "show"` + "\n"
+ config += ` help_settings_community_subtab = "show"` + "\n"
+ config += ` help_settings_data_protection_requests_subtab = "default or inherit"` + "\n"
+ config += ` help_settings_firewall_info_subtab = "hide"` + "\n"
+ config += ` help_settings_get_help_subtab = "default or inherit"` + "\n"
+ config += ` help_settings_get_help_subtab_knowledge_base_search = "Some custom HTML content
"` + "\n"
+ config += ` help_settings_hardware_replacements_subtab = "hide"` + "\n"
+ config += ` help_settings_help_tab = "show"` + "\n"
+ config += ` help_settings_help_widget = "hide"` + "\n"
+ config += ` help_settings_new_features_subtab = "show"` + "\n"
+ config += ` help_settings_sm_forums = "hide"` + "\n"
+ config += ` help_settings_support_contact_info = "show"` + "\n"
+ config += ` help_settings_universal_search_knowledge_base_search = "hide"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_config_template_test.go b/internal/provider/data_source_meraki_organization_config_template_test.go
index e7004fb..92837d5 100644
--- a/internal/provider/data_source_meraki_organization_config_template_test.go
+++ b/internal/provider/data_source_meraki_organization_config_template_test.go
@@ -72,10 +72,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiOrganizationConfigTemplateConfig() string {
config := `resource "meraki_organization_config_template" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` copy_from_network_id = meraki_network.test.id` + "\n"
- config += ` name = "My config template"` + "\n"
- config += ` time_zone = "America/Los_Angeles"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` copy_from_network_id = meraki_network.test.id` + "\n"
+ config += ` name = "My config template"` + "\n"
+ config += ` time_zone = "America/Los_Angeles"` + "\n"
config += `}` + "\n"
config += `
@@ -90,10 +90,10 @@ func testAccDataSourceMerakiOrganizationConfigTemplateConfig() string {
func testAccNamedDataSourceMerakiOrganizationConfigTemplateConfig() string {
config := `resource "meraki_organization_config_template" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` copy_from_network_id = meraki_network.test.id` + "\n"
- config += ` name = "My config template"` + "\n"
- config += ` time_zone = "America/Los_Angeles"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` copy_from_network_id = meraki_network.test.id` + "\n"
+ config += ` name = "My config template"` + "\n"
+ config += ` time_zone = "America/Los_Angeles"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_early_access_features_opt_in_test.go b/internal/provider/data_source_meraki_organization_early_access_features_opt_in_test.go
index 475a5c7..3f91d4a 100644
--- a/internal/provider/data_source_meraki_organization_early_access_features_opt_in_test.go
+++ b/internal/provider/data_source_meraki_organization_early_access_features_opt_in_test.go
@@ -65,8 +65,8 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationEarlyAccessFeaturesOptInConfig() string {
config := `resource "meraki_organization_early_access_features_opt_in" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` short_name = "has_cloud_pcap_support"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` short_name = "has_cloud_pcap_support"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_license_test.go b/internal/provider/data_source_meraki_organization_license_test.go
index 951a177..90156cf 100644
--- a/internal/provider/data_source_meraki_organization_license_test.go
+++ b/internal/provider/data_source_meraki_organization_license_test.go
@@ -69,9 +69,9 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationLicenseConfig() string {
config := `resource "meraki_organization_license" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` license_id = "123"` + "\n"
- config += ` device_serial = "Q234-ABCD-5678"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` license_id = "123"` + "\n"
+ config += ` device_serial = "Q234-ABCD-5678"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_login_security_test.go b/internal/provider/data_source_meraki_organization_login_security_test.go
index 0b5a22c..c39677c 100644
--- a/internal/provider/data_source_meraki_organization_login_security_test.go
+++ b/internal/provider/data_source_meraki_organization_login_security_test.go
@@ -73,17 +73,17 @@ resource "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationLoginSecurityConfig() string {
config := `resource "meraki_organization_login_security" "test" {` + "\n"
- config += ` organization_id = meraki_organization.test.id` + "\n"
- config += ` account_lockout_attempts = 3` + "\n"
- config += ` enforce_account_lockout = true` + "\n"
- config += ` enforce_different_passwords = true` + "\n"
- config += ` enforce_idle_timeout = true` + "\n"
- config += ` enforce_password_expiration = true` + "\n"
- config += ` enforce_strong_passwords = true` + "\n"
- config += ` enforce_two_factor_auth = true` + "\n"
- config += ` idle_timeout_minutes = 30` + "\n"
- config += ` num_different_passwords = 3` + "\n"
- config += ` password_expiration_days = 90` + "\n"
+ config += ` organization_id = meraki_organization.test.id` + "\n"
+ config += ` account_lockout_attempts = 3` + "\n"
+ config += ` enforce_account_lockout = true` + "\n"
+ config += ` enforce_different_passwords = true` + "\n"
+ config += ` enforce_idle_timeout = true` + "\n"
+ config += ` enforce_password_expiration = true` + "\n"
+ config += ` enforce_strong_passwords = true` + "\n"
+ config += ` enforce_two_factor_auth = true` + "\n"
+ config += ` idle_timeout_minutes = 30` + "\n"
+ config += ` num_different_passwords = 3` + "\n"
+ config += ` password_expiration_days = 90` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_policy_object_group_test.go b/internal/provider/data_source_meraki_organization_policy_object_group_test.go
index a00b076..7b2242b 100644
--- a/internal/provider/data_source_meraki_organization_policy_object_group_test.go
+++ b/internal/provider/data_source_meraki_organization_policy_object_group_test.go
@@ -73,10 +73,10 @@ resource "meraki_organization_policy_object" "test" {
func testAccDataSourceMerakiOrganizationPolicyObjectGroupConfig() string {
config := `resource "meraki_organization_policy_object_group" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` category = "NetworkObjectGroup"` + "\n"
- config += ` name = "Web Servers - Datacenter 10"` + "\n"
- config += ` object_ids = [meraki_organization_policy_object.test.id]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` category = "NetworkObjectGroup"` + "\n"
+ config += ` name = "Web Servers - Datacenter 10"` + "\n"
+ config += ` object_ids = [meraki_organization_policy_object.test.id]` + "\n"
config += `}` + "\n"
config += `
@@ -91,10 +91,10 @@ func testAccDataSourceMerakiOrganizationPolicyObjectGroupConfig() string {
func testAccNamedDataSourceMerakiOrganizationPolicyObjectGroupConfig() string {
config := `resource "meraki_organization_policy_object_group" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` category = "NetworkObjectGroup"` + "\n"
- config += ` name = "Web Servers - Datacenter 10"` + "\n"
- config += ` object_ids = [meraki_organization_policy_object.test.id]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` category = "NetworkObjectGroup"` + "\n"
+ config += ` name = "Web Servers - Datacenter 10"` + "\n"
+ config += ` object_ids = [meraki_organization_policy_object.test.id]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_policy_object_test.go b/internal/provider/data_source_meraki_organization_policy_object_test.go
index 1398ff8..5633ad1 100644
--- a/internal/provider/data_source_meraki_organization_policy_object_test.go
+++ b/internal/provider/data_source_meraki_organization_policy_object_test.go
@@ -68,11 +68,11 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationPolicyObjectConfig() string {
config := `resource "meraki_organization_policy_object" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` category = "network"` + "\n"
- config += ` cidr = "10.0.0.0/24"` + "\n"
- config += ` name = "Web Servers - Datacenter 10"` + "\n"
- config += ` type = "cidr"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` category = "network"` + "\n"
+ config += ` cidr = "10.0.0.0/24"` + "\n"
+ config += ` name = "Web Servers - Datacenter 10"` + "\n"
+ config += ` type = "cidr"` + "\n"
config += `}` + "\n"
config += `
@@ -87,11 +87,11 @@ func testAccDataSourceMerakiOrganizationPolicyObjectConfig() string {
func testAccNamedDataSourceMerakiOrganizationPolicyObjectConfig() string {
config := `resource "meraki_organization_policy_object" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` category = "network"` + "\n"
- config += ` cidr = "10.0.0.0/24"` + "\n"
- config += ` name = "Web Servers - Datacenter 10"` + "\n"
- config += ` type = "cidr"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` category = "network"` + "\n"
+ config += ` cidr = "10.0.0.0/24"` + "\n"
+ config += ` name = "Web Servers - Datacenter 10"` + "\n"
+ config += ` type = "cidr"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_saml_idp_test.go b/internal/provider/data_source_meraki_organization_saml_idp_test.go
index 0e1a0aa..a866520 100644
--- a/internal/provider/data_source_meraki_organization_saml_idp_test.go
+++ b/internal/provider/data_source_meraki_organization_saml_idp_test.go
@@ -66,9 +66,9 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationSAMLIdPConfig() string {
config := `resource "meraki_organization_saml_idp" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` slo_logout_url = "https://somewhere.com"` + "\n"
- config += ` x509cert_sha1_fingerprint = "00:11:22:33:44:55:66:77:88:99:00:11:22:33:44:55:66:77:88:AA"` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` slo_logout_url = "https://somewhere.com"` + "\n"
+ config += ` x509cert_sha1_fingerprint = "00:11:22:33:44:55:66:77:88:99:00:11:22:33:44:55:66:77:88:AA"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_saml_role_test.go b/internal/provider/data_source_meraki_organization_saml_role_test.go
index c9f77b5..3b9cc22 100644
--- a/internal/provider/data_source_meraki_organization_saml_role_test.go
+++ b/internal/provider/data_source_meraki_organization_saml_role_test.go
@@ -75,17 +75,17 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiOrganizationSAMLRoleConfig() string {
config := `resource "meraki_organization_saml_role" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` org_access = "none"` + "\n"
- config += ` role = "myrole"` + "\n"
- config += ` networks = [{` + "\n"
- config += ` access = "full"` + "\n"
- config += ` id = meraki_network.test.id` + "\n"
- config += ` }]` + "\n"
- config += ` tags = [{` + "\n"
- config += ` access = "read-only"` + "\n"
- config += ` tag = "west"` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` org_access = "none"` + "\n"
+ config += ` role = "myrole"` + "\n"
+ config += ` networks = [{` + "\n"
+ config += ` access = "full"` + "\n"
+ config += ` id = meraki_network.test.id` + "\n"
+ config += ` }]` + "\n"
+ config += ` tags = [{` + "\n"
+ config += ` access = "read-only"` + "\n"
+ config += ` tag = "west"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_saml_test.go b/internal/provider/data_source_meraki_organization_saml_test.go
index 1d95562..0c2307b 100644
--- a/internal/provider/data_source_meraki_organization_saml_test.go
+++ b/internal/provider/data_source_meraki_organization_saml_test.go
@@ -65,8 +65,8 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationSAMLConfig() string {
config := `resource "meraki_organization_saml" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` enabled = true` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` enabled = true` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_snmp_test.go b/internal/provider/data_source_meraki_organization_snmp_test.go
index 0385095..7e0e280 100644
--- a/internal/provider/data_source_meraki_organization_snmp_test.go
+++ b/internal/provider/data_source_meraki_organization_snmp_test.go
@@ -68,14 +68,14 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiOrganizationSNMPConfig() string {
config := `resource "meraki_organization_snmp" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` v2c_enabled = false` + "\n"
- config += ` v3_auth_mode = "SHA"` + "\n"
- config += ` v3_auth_pass = "password"` + "\n"
- config += ` v3_enabled = true` + "\n"
- config += ` v3_priv_mode = "AES128"` + "\n"
- config += ` v3_priv_pass = "password"` + "\n"
- config += ` peer_ips = ["123.123.123.1"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` v2c_enabled = false` + "\n"
+ config += ` v3_auth_mode = "SHA"` + "\n"
+ config += ` v3_auth_pass = "password"` + "\n"
+ config += ` v3_enabled = true` + "\n"
+ config += ` v3_priv_mode = "AES128"` + "\n"
+ config += ` v3_priv_pass = "password"` + "\n"
+ config += ` peer_ips = ["123.123.123.1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_organization_test.go b/internal/provider/data_source_meraki_organization_test.go
index b749220..2ce84c4 100644
--- a/internal/provider/data_source_meraki_organization_test.go
+++ b/internal/provider/data_source_meraki_organization_test.go
@@ -58,11 +58,11 @@ func TestAccDataSourceMerakiOrganization(t *testing.T) {
func testAccDataSourceMerakiOrganizationConfig() string {
config := `resource "meraki_organization" "test" {` + "\n"
- config += ` name = "My organization"` + "\n"
- config += ` management_details = [{` + "\n"
- config += ` name = "MSP ID"` + "\n"
- config += ` value = "123456"` + "\n"
- config += ` }]` + "\n"
+ config += ` name = "My organization"` + "\n"
+ config += ` management_details = [{` + "\n"
+ config += ` name = "MSP ID"` + "\n"
+ config += ` value = "123456"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -76,11 +76,11 @@ func testAccDataSourceMerakiOrganizationConfig() string {
func testAccNamedDataSourceMerakiOrganizationConfig() string {
config := `resource "meraki_organization" "test" {` + "\n"
- config += ` name = "My organization"` + "\n"
- config += ` management_details = [{` + "\n"
- config += ` name = "MSP ID"` + "\n"
- config += ` value = "123456"` + "\n"
- config += ` }]` + "\n"
+ config += ` name = "My organization"` + "\n"
+ config += ` management_details = [{` + "\n"
+ config += ` name = "MSP ID"` + "\n"
+ config += ` value = "123456"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_access_control_lists_test.go b/internal/provider/data_source_meraki_switch_access_control_lists_test.go
index e836e5c..8306e1b 100644
--- a/internal/provider/data_source_meraki_switch_access_control_lists_test.go
+++ b/internal/provider/data_source_meraki_switch_access_control_lists_test.go
@@ -79,18 +79,18 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchAccessControlListsConfig() string {
config := `resource "meraki_switch_access_control_lists" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Deny SSH"` + "\n"
- config += ` dst_cidr = "172.16.3.0/24"` + "\n"
- config += ` dst_port = "22"` + "\n"
- config += ` ip_version = "ipv4"` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` src_cidr = "10.1.10.0/24"` + "\n"
- config += ` src_port = "any"` + "\n"
- config += ` vlan = "10"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Deny SSH"` + "\n"
+ config += ` dst_cidr = "172.16.3.0/24"` + "\n"
+ config += ` dst_port = "22"` + "\n"
+ config += ` ip_version = "ipv4"` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` src_cidr = "10.1.10.0/24"` + "\n"
+ config += ` src_port = "any"` + "\n"
+ config += ` vlan = "10"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_access_policy_test.go b/internal/provider/data_source_meraki_switch_access_policy_test.go
index 49f0f87..26f3073 100644
--- a/internal/provider/data_source_meraki_switch_access_policy_test.go
+++ b/internal/provider/data_source_meraki_switch_access_policy_test.go
@@ -92,38 +92,38 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchAccessPolicyConfig() string {
config := `resource "meraki_switch_access_policy" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` access_policy_type = "Hybrid authentication"` + "\n"
- config += ` guest_port_bouncing = true` + "\n"
- config += ` guest_vlan_id = 100` + "\n"
- config += ` host_mode = "Single-Host"` + "\n"
- config += ` increase_access_speed = false` + "\n"
- config += ` name = "Access policy #1"` + "\n"
- config += ` radius_accounting_enabled = true` + "\n"
- config += ` radius_coa_support_enabled = false` + "\n"
- config += ` radius_group_attribute = "11"` + "\n"
- config += ` radius_testing_enabled = true` + "\n"
- config += ` url_redirect_walled_garden_enabled = true` + "\n"
- config += ` voice_vlan_clients = true` + "\n"
- config += ` dot1x_control_direction = "inbound"` + "\n"
- config += ` radius_failed_auth_vlan_id = 100` + "\n"
- config += ` radius_re_authentication_interval = 120` + "\n"
- config += ` radius_cache_enabled = false` + "\n"
- config += ` radius_cache_timeout = 24` + "\n"
- config += ` radius_critical_auth_data_vlan_id = 100` + "\n"
- config += ` radius_critical_auth_suspend_port_bounce = true` + "\n"
- config += ` radius_critical_auth_voice_vlan_id = 101` + "\n"
- config += ` radius_accounting_servers = [{` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` port = 22` + "\n"
- config += ` secret = "secret"` + "\n"
- config += ` }]` + "\n"
- config += ` radius_servers = [{` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` port = 22` + "\n"
- config += ` secret = "secret"` + "\n"
- config += ` }]` + "\n"
- config += ` url_redirect_walled_garden_ranges = ["192.168.1.0/24"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` access_policy_type = "Hybrid authentication"` + "\n"
+ config += ` guest_port_bouncing = true` + "\n"
+ config += ` guest_vlan_id = 100` + "\n"
+ config += ` host_mode = "Single-Host"` + "\n"
+ config += ` increase_access_speed = false` + "\n"
+ config += ` name = "Access policy #1"` + "\n"
+ config += ` radius_accounting_enabled = true` + "\n"
+ config += ` radius_coa_support_enabled = false` + "\n"
+ config += ` radius_group_attribute = "11"` + "\n"
+ config += ` radius_testing_enabled = true` + "\n"
+ config += ` url_redirect_walled_garden_enabled = true` + "\n"
+ config += ` voice_vlan_clients = true` + "\n"
+ config += ` dot1x_control_direction = "inbound"` + "\n"
+ config += ` radius_failed_auth_vlan_id = 100` + "\n"
+ config += ` radius_re_authentication_interval = 120` + "\n"
+ config += ` radius_cache_enabled = false` + "\n"
+ config += ` radius_cache_timeout = 24` + "\n"
+ config += ` radius_critical_auth_data_vlan_id = 100` + "\n"
+ config += ` radius_critical_auth_suspend_port_bounce = true` + "\n"
+ config += ` radius_critical_auth_voice_vlan_id = 101` + "\n"
+ config += ` radius_accounting_servers = [{` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` port = 22` + "\n"
+ config += ` secret = "secret"` + "\n"
+ config += ` }]` + "\n"
+ config += ` radius_servers = [{` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` port = 22` + "\n"
+ config += ` secret = "secret"` + "\n"
+ config += ` }]` + "\n"
+ config += ` url_redirect_walled_garden_ranges = ["192.168.1.0/24"]` + "\n"
config += `}` + "\n"
config += `
@@ -138,38 +138,38 @@ func testAccDataSourceMerakiSwitchAccessPolicyConfig() string {
func testAccNamedDataSourceMerakiSwitchAccessPolicyConfig() string {
config := `resource "meraki_switch_access_policy" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` access_policy_type = "Hybrid authentication"` + "\n"
- config += ` guest_port_bouncing = true` + "\n"
- config += ` guest_vlan_id = 100` + "\n"
- config += ` host_mode = "Single-Host"` + "\n"
- config += ` increase_access_speed = false` + "\n"
- config += ` name = "Access policy #1"` + "\n"
- config += ` radius_accounting_enabled = true` + "\n"
- config += ` radius_coa_support_enabled = false` + "\n"
- config += ` radius_group_attribute = "11"` + "\n"
- config += ` radius_testing_enabled = true` + "\n"
- config += ` url_redirect_walled_garden_enabled = true` + "\n"
- config += ` voice_vlan_clients = true` + "\n"
- config += ` dot1x_control_direction = "inbound"` + "\n"
- config += ` radius_failed_auth_vlan_id = 100` + "\n"
- config += ` radius_re_authentication_interval = 120` + "\n"
- config += ` radius_cache_enabled = false` + "\n"
- config += ` radius_cache_timeout = 24` + "\n"
- config += ` radius_critical_auth_data_vlan_id = 100` + "\n"
- config += ` radius_critical_auth_suspend_port_bounce = true` + "\n"
- config += ` radius_critical_auth_voice_vlan_id = 101` + "\n"
- config += ` radius_accounting_servers = [{` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` port = 22` + "\n"
- config += ` secret = "secret"` + "\n"
- config += ` }]` + "\n"
- config += ` radius_servers = [{` + "\n"
- config += ` host = "1.2.3.4"` + "\n"
- config += ` port = 22` + "\n"
- config += ` secret = "secret"` + "\n"
- config += ` }]` + "\n"
- config += ` url_redirect_walled_garden_ranges = ["192.168.1.0/24"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` access_policy_type = "Hybrid authentication"` + "\n"
+ config += ` guest_port_bouncing = true` + "\n"
+ config += ` guest_vlan_id = 100` + "\n"
+ config += ` host_mode = "Single-Host"` + "\n"
+ config += ` increase_access_speed = false` + "\n"
+ config += ` name = "Access policy #1"` + "\n"
+ config += ` radius_accounting_enabled = true` + "\n"
+ config += ` radius_coa_support_enabled = false` + "\n"
+ config += ` radius_group_attribute = "11"` + "\n"
+ config += ` radius_testing_enabled = true` + "\n"
+ config += ` url_redirect_walled_garden_enabled = true` + "\n"
+ config += ` voice_vlan_clients = true` + "\n"
+ config += ` dot1x_control_direction = "inbound"` + "\n"
+ config += ` radius_failed_auth_vlan_id = 100` + "\n"
+ config += ` radius_re_authentication_interval = 120` + "\n"
+ config += ` radius_cache_enabled = false` + "\n"
+ config += ` radius_cache_timeout = 24` + "\n"
+ config += ` radius_critical_auth_data_vlan_id = 100` + "\n"
+ config += ` radius_critical_auth_suspend_port_bounce = true` + "\n"
+ config += ` radius_critical_auth_voice_vlan_id = 101` + "\n"
+ config += ` radius_accounting_servers = [{` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` port = 22` + "\n"
+ config += ` secret = "secret"` + "\n"
+ config += ` }]` + "\n"
+ config += ` radius_servers = [{` + "\n"
+ config += ` host = "1.2.3.4"` + "\n"
+ config += ` port = 22` + "\n"
+ config += ` secret = "secret"` + "\n"
+ config += ` }]` + "\n"
+ config += ` url_redirect_walled_garden_ranges = ["192.168.1.0/24"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_alternate_management_interface_test.go b/internal/provider/data_source_meraki_switch_alternate_management_interface_test.go
index 9bcbad6..c59d77f 100644
--- a/internal/provider/data_source_meraki_switch_alternate_management_interface_test.go
+++ b/internal/provider/data_source_meraki_switch_alternate_management_interface_test.go
@@ -79,16 +79,16 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchAlternateManagementInterfaceConfig() string {
config := `resource "meraki_switch_alternate_management_interface" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` vlan_id = 100` + "\n"
- config += ` protocols = ["radius"]` + "\n"
- config += ` switches = [{` + "\n"
- config += ` alternate_management_ip = "1.2.3.4"` + "\n"
- config += ` gateway = "1.2.3.5"` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` subnet_mask = "255.255.255.0"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` vlan_id = 100` + "\n"
+ config += ` protocols = ["radius"]` + "\n"
+ config += ` switches = [{` + "\n"
+ config += ` alternate_management_ip = "1.2.3.4"` + "\n"
+ config += ` gateway = "1.2.3.5"` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` subnet_mask = "255.255.255.0"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_dhcp_server_policy_arp_inspection_trusted_server_test.go b/internal/provider/data_source_meraki_switch_dhcp_server_policy_arp_inspection_trusted_server_test.go
index e7e440c..cca0164 100644
--- a/internal/provider/data_source_meraki_switch_dhcp_server_policy_arp_inspection_trusted_server_test.go
+++ b/internal/provider/data_source_meraki_switch_dhcp_server_policy_arp_inspection_trusted_server_test.go
@@ -73,10 +73,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchDHCPServerPolicyARPInspectionTrustedServerConfig() string {
config := `resource "meraki_switch_dhcp_server_policy_arp_inspection_trusted_server" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` mac = "00:11:22:33:44:55"` + "\n"
- config += ` vlan = 100` + "\n"
- config += ` ipv4_address = "1.2.3.4"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` mac = "00:11:22:33:44:55"` + "\n"
+ config += ` vlan = 100` + "\n"
+ config += ` ipv4_address = "1.2.3.4"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_dhcp_server_policy_test.go b/internal/provider/data_source_meraki_switch_dhcp_server_policy_test.go
index 0a29557..220bc78 100644
--- a/internal/provider/data_source_meraki_switch_dhcp_server_policy_test.go
+++ b/internal/provider/data_source_meraki_switch_dhcp_server_policy_test.go
@@ -73,12 +73,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchDHCPServerPolicyConfig() string {
config := `resource "meraki_switch_dhcp_server_policy" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` default_policy = "block"` + "\n"
- config += ` alerts_email_enabled = true` + "\n"
- config += ` arp_inspection_enabled = true` + "\n"
- config += ` allowed_servers = ["00:50:56:00:00:01"]` + "\n"
- config += ` blocked_servers = ["00:50:56:00:00:03"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` default_policy = "block"` + "\n"
+ config += ` alerts_email_enabled = true` + "\n"
+ config += ` arp_inspection_enabled = true` + "\n"
+ config += ` allowed_servers = ["00:50:56:00:00:01"]` + "\n"
+ config += ` blocked_servers = ["00:50:56:00:00:03"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_dscp_to_cos_mappings_test.go b/internal/provider/data_source_meraki_switch_dscp_to_cos_mappings_test.go
index 5dc8a00..d5514e7 100644
--- a/internal/provider/data_source_meraki_switch_dscp_to_cos_mappings_test.go
+++ b/internal/provider/data_source_meraki_switch_dscp_to_cos_mappings_test.go
@@ -73,12 +73,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchDSCPToCoSMappingsConfig() string {
config := `resource "meraki_switch_dscp_to_cos_mappings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` mappings = [{` + "\n"
- config += ` cos = 1` + "\n"
- config += ` dscp = 1` + "\n"
- config += ` title = "Video"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` mappings = [{` + "\n"
+ config += ` cos = 1` + "\n"
+ config += ` dscp = 1` + "\n"
+ config += ` title = "Video"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_mtu_test.go b/internal/provider/data_source_meraki_switch_mtu_test.go
index bd4beb1..39b1bfe 100644
--- a/internal/provider/data_source_meraki_switch_mtu_test.go
+++ b/internal/provider/data_source_meraki_switch_mtu_test.go
@@ -77,12 +77,12 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchMTUConfig() string {
config := `resource "meraki_switch_mtu" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` default_mtu_size = 9578` + "\n"
- config += ` overrides = [{` + "\n"
- config += ` mtu_size = 1500` + "\n"
- config += ` switches = [tolist(meraki_network_device_claim.test.serials)[0]]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` default_mtu_size = 9578` + "\n"
+ config += ` overrides = [{` + "\n"
+ config += ` mtu_size = 1500` + "\n"
+ config += ` switches = [tolist(meraki_network_device_claim.test.serials)[0]]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_organization_ports_profile_test.go b/internal/provider/data_source_meraki_switch_organization_ports_profile_test.go
index a2eeb4b..cbb5bb2 100644
--- a/internal/provider/data_source_meraki_switch_organization_ports_profile_test.go
+++ b/internal/provider/data_source_meraki_switch_organization_ports_profile_test.go
@@ -81,24 +81,24 @@ data "meraki_organization" "test" {
func testAccDataSourceMerakiSwitchOrganizationPortsProfileConfig() string {
config := `resource "meraki_switch_organization_ports_profile" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "IP Phones for all office workers"` + "\n"
- config += ` is_organization_wide = true` + "\n"
- config += ` name = "Phone"` + "\n"
- config += ` port_access_policy_type = "Open"` + "\n"
- config += ` port_allowed_vlans = "1-100"` + "\n"
- config += ` port_dai_trusted = false` + "\n"
- config += ` port_isolation_enabled = false` + "\n"
- config += ` port_peer_sgt_capable = false` + "\n"
- config += ` port_poe_enabled = true` + "\n"
- config += ` port_rstp_enabled = true` + "\n"
- config += ` port_storm_control_enabled = true` + "\n"
- config += ` port_stp_guard = "disabled"` + "\n"
- config += ` port_type = "access"` + "\n"
- config += ` port_udld = "Alert only"` + "\n"
- config += ` port_vlan = 10` + "\n"
- config += ` port_voice_vlan = 20` + "\n"
- config += ` tags = ["tag1"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "IP Phones for all office workers"` + "\n"
+ config += ` is_organization_wide = true` + "\n"
+ config += ` name = "Phone"` + "\n"
+ config += ` port_access_policy_type = "Open"` + "\n"
+ config += ` port_allowed_vlans = "1-100"` + "\n"
+ config += ` port_dai_trusted = false` + "\n"
+ config += ` port_isolation_enabled = false` + "\n"
+ config += ` port_peer_sgt_capable = false` + "\n"
+ config += ` port_poe_enabled = true` + "\n"
+ config += ` port_rstp_enabled = true` + "\n"
+ config += ` port_storm_control_enabled = true` + "\n"
+ config += ` port_stp_guard = "disabled"` + "\n"
+ config += ` port_type = "access"` + "\n"
+ config += ` port_udld = "Alert only"` + "\n"
+ config += ` port_vlan = 10` + "\n"
+ config += ` port_voice_vlan = 20` + "\n"
+ config += ` tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
@@ -113,24 +113,24 @@ func testAccDataSourceMerakiSwitchOrganizationPortsProfileConfig() string {
func testAccNamedDataSourceMerakiSwitchOrganizationPortsProfileConfig() string {
config := `resource "meraki_switch_organization_ports_profile" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "IP Phones for all office workers"` + "\n"
- config += ` is_organization_wide = true` + "\n"
- config += ` name = "Phone"` + "\n"
- config += ` port_access_policy_type = "Open"` + "\n"
- config += ` port_allowed_vlans = "1-100"` + "\n"
- config += ` port_dai_trusted = false` + "\n"
- config += ` port_isolation_enabled = false` + "\n"
- config += ` port_peer_sgt_capable = false` + "\n"
- config += ` port_poe_enabled = true` + "\n"
- config += ` port_rstp_enabled = true` + "\n"
- config += ` port_storm_control_enabled = true` + "\n"
- config += ` port_stp_guard = "disabled"` + "\n"
- config += ` port_type = "access"` + "\n"
- config += ` port_udld = "Alert only"` + "\n"
- config += ` port_vlan = 10` + "\n"
- config += ` port_voice_vlan = 20` + "\n"
- config += ` tags = ["tag1"]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "IP Phones for all office workers"` + "\n"
+ config += ` is_organization_wide = true` + "\n"
+ config += ` name = "Phone"` + "\n"
+ config += ` port_access_policy_type = "Open"` + "\n"
+ config += ` port_allowed_vlans = "1-100"` + "\n"
+ config += ` port_dai_trusted = false` + "\n"
+ config += ` port_isolation_enabled = false` + "\n"
+ config += ` port_peer_sgt_capable = false` + "\n"
+ config += ` port_poe_enabled = true` + "\n"
+ config += ` port_rstp_enabled = true` + "\n"
+ config += ` port_storm_control_enabled = true` + "\n"
+ config += ` port_stp_guard = "disabled"` + "\n"
+ config += ` port_type = "access"` + "\n"
+ config += ` port_udld = "Alert only"` + "\n"
+ config += ` port_vlan = 10` + "\n"
+ config += ` port_voice_vlan = 20` + "\n"
+ config += ` tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_organization_ports_profiles_automation_test.go b/internal/provider/data_source_meraki_switch_organization_ports_profiles_automation_test.go
index 165e15d..63d0009 100644
--- a/internal/provider/data_source_meraki_switch_organization_ports_profiles_automation_test.go
+++ b/internal/provider/data_source_meraki_switch_organization_ports_profiles_automation_test.go
@@ -86,22 +86,22 @@ resource "meraki_switch_organization_ports_profile" "test" {
func testAccDataSourceMerakiSwitchOrganizationPortsProfilesAutomationConfig() string {
config := `resource "meraki_switch_organization_ports_profiles_automation" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "A full length description of the automation."` + "\n"
- config += ` name = "Automation 1"` + "\n"
- config += ` assigned_switch_ports = [{` + "\n"
- config += ` switch_serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` switch_port_ids = ["3"]` + "\n"
- config += ` }]` + "\n"
- config += ` rules = [{` + "\n"
- config += ` priority = 1` + "\n"
- config += ` profile_id = resource.meraki_switch_organization_ports_profile.test.id` + "\n"
- config += ` profile_name = resource.meraki_switch_organization_ports_profile.test.name` + "\n"
- config += ` conditions = [{` + "\n"
- config += ` attribute = "LLDP system description"` + "\n"
- config += ` values = ["Meraki MR*"]` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "A full length description of the automation."` + "\n"
+ config += ` name = "Automation 1"` + "\n"
+ config += ` assigned_switch_ports = [{` + "\n"
+ config += ` switch_serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` switch_port_ids = ["3"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` priority = 1` + "\n"
+ config += ` profile_id = resource.meraki_switch_organization_ports_profile.test.id` + "\n"
+ config += ` profile_name = resource.meraki_switch_organization_ports_profile.test.name` + "\n"
+ config += ` conditions = [{` + "\n"
+ config += ` attribute = "LLDP system description"` + "\n"
+ config += ` values = ["Meraki MR*"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -116,22 +116,22 @@ func testAccDataSourceMerakiSwitchOrganizationPortsProfilesAutomationConfig() st
func testAccNamedDataSourceMerakiSwitchOrganizationPortsProfilesAutomationConfig() string {
config := `resource "meraki_switch_organization_ports_profiles_automation" "test" {` + "\n"
- config += ` organization_id = data.meraki_organization.test.id` + "\n"
- config += ` description = "A full length description of the automation."` + "\n"
- config += ` name = "Automation 1"` + "\n"
- config += ` assigned_switch_ports = [{` + "\n"
- config += ` switch_serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` switch_port_ids = ["3"]` + "\n"
- config += ` }]` + "\n"
- config += ` rules = [{` + "\n"
- config += ` priority = 1` + "\n"
- config += ` profile_id = resource.meraki_switch_organization_ports_profile.test.id` + "\n"
- config += ` profile_name = resource.meraki_switch_organization_ports_profile.test.name` + "\n"
- config += ` conditions = [{` + "\n"
- config += ` attribute = "LLDP system description"` + "\n"
- config += ` values = ["Meraki MR*"]` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` organization_id = data.meraki_organization.test.id` + "\n"
+ config += ` description = "A full length description of the automation."` + "\n"
+ config += ` name = "Automation 1"` + "\n"
+ config += ` assigned_switch_ports = [{` + "\n"
+ config += ` switch_serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` switch_port_ids = ["3"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` priority = 1` + "\n"
+ config += ` profile_id = resource.meraki_switch_organization_ports_profile.test.id` + "\n"
+ config += ` profile_name = resource.meraki_switch_organization_ports_profile.test.name` + "\n"
+ config += ` conditions = [{` + "\n"
+ config += ` attribute = "LLDP system description"` + "\n"
+ config += ` values = ["Meraki MR*"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_port_schedule_test.go b/internal/provider/data_source_meraki_switch_port_schedule_test.go
index 224b2e8..f03a4cb 100644
--- a/internal/provider/data_source_meraki_switch_port_schedule_test.go
+++ b/internal/provider/data_source_meraki_switch_port_schedule_test.go
@@ -92,29 +92,29 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchPortScheduleConfig() string {
config := `resource "meraki_switch_port_schedule" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "Weekdays schedule"` + "\n"
- config += ` port_schedule_friday_active = true` + "\n"
- config += ` port_schedule_friday_from = "09:00"` + "\n"
- config += ` port_schedule_friday_to = "17:00"` + "\n"
- config += ` port_schedule_monday_active = true` + "\n"
- config += ` port_schedule_monday_from = "09:00"` + "\n"
- config += ` port_schedule_monday_to = "17:00"` + "\n"
- config += ` port_schedule_saturday_active = false` + "\n"
- config += ` port_schedule_saturday_from = "00:00"` + "\n"
- config += ` port_schedule_saturday_to = "24:00"` + "\n"
- config += ` port_schedule_sunday_active = false` + "\n"
- config += ` port_schedule_sunday_from = "00:00"` + "\n"
- config += ` port_schedule_sunday_to = "24:00"` + "\n"
- config += ` port_schedule_thursday_active = true` + "\n"
- config += ` port_schedule_thursday_from = "09:00"` + "\n"
- config += ` port_schedule_thursday_to = "17:00"` + "\n"
- config += ` port_schedule_tuesday_active = true` + "\n"
- config += ` port_schedule_tuesday_from = "09:00"` + "\n"
- config += ` port_schedule_tuesday_to = "17:00"` + "\n"
- config += ` port_schedule_wednesday_active = true` + "\n"
- config += ` port_schedule_wednesday_from = "09:00"` + "\n"
- config += ` port_schedule_wednesday_to = "17:00"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "Weekdays schedule"` + "\n"
+ config += ` port_schedule_friday_active = true` + "\n"
+ config += ` port_schedule_friday_from = "09:00"` + "\n"
+ config += ` port_schedule_friday_to = "17:00"` + "\n"
+ config += ` port_schedule_monday_active = true` + "\n"
+ config += ` port_schedule_monday_from = "09:00"` + "\n"
+ config += ` port_schedule_monday_to = "17:00"` + "\n"
+ config += ` port_schedule_saturday_active = false` + "\n"
+ config += ` port_schedule_saturday_from = "00:00"` + "\n"
+ config += ` port_schedule_saturday_to = "24:00"` + "\n"
+ config += ` port_schedule_sunday_active = false` + "\n"
+ config += ` port_schedule_sunday_from = "00:00"` + "\n"
+ config += ` port_schedule_sunday_to = "24:00"` + "\n"
+ config += ` port_schedule_thursday_active = true` + "\n"
+ config += ` port_schedule_thursday_from = "09:00"` + "\n"
+ config += ` port_schedule_thursday_to = "17:00"` + "\n"
+ config += ` port_schedule_tuesday_active = true` + "\n"
+ config += ` port_schedule_tuesday_from = "09:00"` + "\n"
+ config += ` port_schedule_tuesday_to = "17:00"` + "\n"
+ config += ` port_schedule_wednesday_active = true` + "\n"
+ config += ` port_schedule_wednesday_from = "09:00"` + "\n"
+ config += ` port_schedule_wednesday_to = "17:00"` + "\n"
config += `}` + "\n"
config += `
@@ -129,29 +129,29 @@ func testAccDataSourceMerakiSwitchPortScheduleConfig() string {
func testAccNamedDataSourceMerakiSwitchPortScheduleConfig() string {
config := `resource "meraki_switch_port_schedule" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "Weekdays schedule"` + "\n"
- config += ` port_schedule_friday_active = true` + "\n"
- config += ` port_schedule_friday_from = "09:00"` + "\n"
- config += ` port_schedule_friday_to = "17:00"` + "\n"
- config += ` port_schedule_monday_active = true` + "\n"
- config += ` port_schedule_monday_from = "09:00"` + "\n"
- config += ` port_schedule_monday_to = "17:00"` + "\n"
- config += ` port_schedule_saturday_active = false` + "\n"
- config += ` port_schedule_saturday_from = "00:00"` + "\n"
- config += ` port_schedule_saturday_to = "24:00"` + "\n"
- config += ` port_schedule_sunday_active = false` + "\n"
- config += ` port_schedule_sunday_from = "00:00"` + "\n"
- config += ` port_schedule_sunday_to = "24:00"` + "\n"
- config += ` port_schedule_thursday_active = true` + "\n"
- config += ` port_schedule_thursday_from = "09:00"` + "\n"
- config += ` port_schedule_thursday_to = "17:00"` + "\n"
- config += ` port_schedule_tuesday_active = true` + "\n"
- config += ` port_schedule_tuesday_from = "09:00"` + "\n"
- config += ` port_schedule_tuesday_to = "17:00"` + "\n"
- config += ` port_schedule_wednesday_active = true` + "\n"
- config += ` port_schedule_wednesday_from = "09:00"` + "\n"
- config += ` port_schedule_wednesday_to = "17:00"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "Weekdays schedule"` + "\n"
+ config += ` port_schedule_friday_active = true` + "\n"
+ config += ` port_schedule_friday_from = "09:00"` + "\n"
+ config += ` port_schedule_friday_to = "17:00"` + "\n"
+ config += ` port_schedule_monday_active = true` + "\n"
+ config += ` port_schedule_monday_from = "09:00"` + "\n"
+ config += ` port_schedule_monday_to = "17:00"` + "\n"
+ config += ` port_schedule_saturday_active = false` + "\n"
+ config += ` port_schedule_saturday_from = "00:00"` + "\n"
+ config += ` port_schedule_saturday_to = "24:00"` + "\n"
+ config += ` port_schedule_sunday_active = false` + "\n"
+ config += ` port_schedule_sunday_from = "00:00"` + "\n"
+ config += ` port_schedule_sunday_to = "24:00"` + "\n"
+ config += ` port_schedule_thursday_active = true` + "\n"
+ config += ` port_schedule_thursday_from = "09:00"` + "\n"
+ config += ` port_schedule_thursday_to = "17:00"` + "\n"
+ config += ` port_schedule_tuesday_active = true` + "\n"
+ config += ` port_schedule_tuesday_from = "09:00"` + "\n"
+ config += ` port_schedule_tuesday_to = "17:00"` + "\n"
+ config += ` port_schedule_wednesday_active = true` + "\n"
+ config += ` port_schedule_wednesday_from = "09:00"` + "\n"
+ config += ` port_schedule_wednesday_to = "17:00"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_port_test.go b/internal/provider/data_source_meraki_switch_port_test.go
index 837c13a..d6c37ec 100644
--- a/internal/provider/data_source_meraki_switch_port_test.go
+++ b/internal/provider/data_source_meraki_switch_port_test.go
@@ -92,26 +92,26 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchPortConfig() string {
config := `resource "meraki_switch_port" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` port_id = "1"` + "\n"
- config += ` access_policy_type = "Sticky MAC allow list"` + "\n"
- config += ` allowed_vlans = "1,3,5-10"` + "\n"
- config += ` dai_trusted = false` + "\n"
- config += ` enabled = true` + "\n"
- config += ` isolation_enabled = false` + "\n"
- config += ` link_negotiation = "Auto negotiate"` + "\n"
- config += ` name = "My switch port"` + "\n"
- config += ` poe_enabled = true` + "\n"
- config += ` rstp_enabled = true` + "\n"
- config += ` sticky_mac_allow_list_limit = 5` + "\n"
- config += ` stp_guard = "disabled"` + "\n"
- config += ` type = "access"` + "\n"
- config += ` udld = "Alert only"` + "\n"
- config += ` vlan = 10` + "\n"
- config += ` voice_vlan = 20` + "\n"
- config += ` profile_enabled = false` + "\n"
- config += ` sticky_mac_allow_list = ["34:56:fe:ce:8e:b0"]` + "\n"
- config += ` tags = ["tag1"]` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` port_id = "1"` + "\n"
+ config += ` access_policy_type = "Sticky MAC allow list"` + "\n"
+ config += ` allowed_vlans = "1,3,5-10"` + "\n"
+ config += ` dai_trusted = false` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` isolation_enabled = false` + "\n"
+ config += ` link_negotiation = "Auto negotiate"` + "\n"
+ config += ` name = "My switch port"` + "\n"
+ config += ` poe_enabled = true` + "\n"
+ config += ` rstp_enabled = true` + "\n"
+ config += ` sticky_mac_allow_list_limit = 5` + "\n"
+ config += ` stp_guard = "disabled"` + "\n"
+ config += ` type = "access"` + "\n"
+ config += ` udld = "Alert only"` + "\n"
+ config += ` vlan = 10` + "\n"
+ config += ` voice_vlan = 20` + "\n"
+ config += ` profile_enabled = false` + "\n"
+ config += ` sticky_mac_allow_list = ["34:56:fe:ce:8e:b0"]` + "\n"
+ config += ` tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_qos_rule_order_test.go b/internal/provider/data_source_meraki_switch_qos_rule_order_test.go
index 6aa9ac9..7552f0c 100644
--- a/internal/provider/data_source_meraki_switch_qos_rule_order_test.go
+++ b/internal/provider/data_source_meraki_switch_qos_rule_order_test.go
@@ -74,8 +74,8 @@ resource "meraki_switch_qos_rule" "test" {
func testAccDataSourceMerakiSwitchQoSRuleOrderConfig() string {
config := `resource "meraki_switch_qos_rule_order" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rule_ids = [meraki_switch_qos_rule.test.id]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rule_ids = [meraki_switch_qos_rule.test.id]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_qos_rule_test.go b/internal/provider/data_source_meraki_switch_qos_rule_test.go
index e97d1f6..6be9ab9 100644
--- a/internal/provider/data_source_meraki_switch_qos_rule_test.go
+++ b/internal/provider/data_source_meraki_switch_qos_rule_test.go
@@ -75,12 +75,12 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchQoSRuleConfig() string {
config := `resource "meraki_switch_qos_rule" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` dscp = 0` + "\n"
- config += ` dst_port_range = "3000-3100"` + "\n"
- config += ` protocol = "TCP"` + "\n"
- config += ` src_port = 2000` + "\n"
- config += ` vlan = 100` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` dscp = 0` + "\n"
+ config += ` dst_port_range = "3000-3100"` + "\n"
+ config += ` protocol = "TCP"` + "\n"
+ config += ` src_port = 2000` + "\n"
+ config += ` vlan = 100` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_routing_interface_dhcp_test.go b/internal/provider/data_source_meraki_switch_routing_interface_dhcp_test.go
index 5476539..0344b78 100644
--- a/internal/provider/data_source_meraki_switch_routing_interface_dhcp_test.go
+++ b/internal/provider/data_source_meraki_switch_routing_interface_dhcp_test.go
@@ -99,30 +99,30 @@ resource "meraki_switch_routing_interface" "test" {
func testAccDataSourceMerakiSwitchRoutingInterfaceDHCPConfig() string {
config := `resource "meraki_switch_routing_interface_dhcp" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` interface_id = meraki_switch_routing_interface.test.id` + "\n"
- config += ` boot_file_name = "home_boot_file"` + "\n"
- config += ` boot_next_server = "1.2.3.4"` + "\n"
- config += ` boot_options_enabled = true` + "\n"
- config += ` dhcp_lease_time = "1 day"` + "\n"
- config += ` dhcp_mode = "dhcpServer"` + "\n"
- config += ` dns_nameservers_option = "custom"` + "\n"
- config += ` dhcp_options = [{` + "\n"
- config += ` code = "5"` + "\n"
- config += ` type = "text"` + "\n"
- config += ` value = "five"` + "\n"
- config += ` }]` + "\n"
- config += ` dns_custom_nameservers = ["8.8.8.8"]` + "\n"
- config += ` fixed_ip_assignments = [{` + "\n"
- config += ` ip = "192.168.1.12"` + "\n"
- config += ` mac = "22:33:44:55:66:77"` + "\n"
- config += ` name = "Cisco Meraki valued client"` + "\n"
- config += ` }]` + "\n"
- config += ` reserved_ip_ranges = [{` + "\n"
- config += ` comment = "A reserved IP range"` + "\n"
- config += ` end = "192.168.1.10"` + "\n"
- config += ` start = "192.168.1.1"` + "\n"
- config += ` }]` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` interface_id = meraki_switch_routing_interface.test.id` + "\n"
+ config += ` boot_file_name = "home_boot_file"` + "\n"
+ config += ` boot_next_server = "1.2.3.4"` + "\n"
+ config += ` boot_options_enabled = true` + "\n"
+ config += ` dhcp_lease_time = "1 day"` + "\n"
+ config += ` dhcp_mode = "dhcpServer"` + "\n"
+ config += ` dns_nameservers_option = "custom"` + "\n"
+ config += ` dhcp_options = [{` + "\n"
+ config += ` code = "5"` + "\n"
+ config += ` type = "text"` + "\n"
+ config += ` value = "five"` + "\n"
+ config += ` }]` + "\n"
+ config += ` dns_custom_nameservers = ["8.8.8.8"]` + "\n"
+ config += ` fixed_ip_assignments = [{` + "\n"
+ config += ` ip = "192.168.1.12"` + "\n"
+ config += ` mac = "22:33:44:55:66:77"` + "\n"
+ config += ` name = "Cisco Meraki valued client"` + "\n"
+ config += ` }]` + "\n"
+ config += ` reserved_ip_ranges = [{` + "\n"
+ config += ` comment = "A reserved IP range"` + "\n"
+ config += ` end = "192.168.1.10"` + "\n"
+ config += ` start = "192.168.1.1"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_routing_interface_test.go b/internal/provider/data_source_meraki_switch_routing_interface_test.go
index b875de9..2735483 100644
--- a/internal/provider/data_source_meraki_switch_routing_interface_test.go
+++ b/internal/provider/data_source_meraki_switch_routing_interface_test.go
@@ -86,18 +86,18 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchRoutingInterfaceConfig() string {
config := `resource "meraki_switch_routing_interface" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` default_gateway = "192.168.1.1"` + "\n"
- config += ` interface_ip = "192.168.1.2"` + "\n"
- config += ` multicast_routing = "disabled"` + "\n"
- config += ` name = "L3 interface"` + "\n"
- config += ` subnet = "192.168.1.0/24"` + "\n"
- config += ` vlan_id = 100` + "\n"
- config += ` ipv6_address = "1:2:3:4::1"` + "\n"
- config += ` ipv6_assignment_mode = "static"` + "\n"
- config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
- config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
- config += ` ospf_settings_area = "ospfDisabled"` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` default_gateway = "192.168.1.1"` + "\n"
+ config += ` interface_ip = "192.168.1.2"` + "\n"
+ config += ` multicast_routing = "disabled"` + "\n"
+ config += ` name = "L3 interface"` + "\n"
+ config += ` subnet = "192.168.1.0/24"` + "\n"
+ config += ` vlan_id = 100` + "\n"
+ config += ` ipv6_address = "1:2:3:4::1"` + "\n"
+ config += ` ipv6_assignment_mode = "static"` + "\n"
+ config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
+ config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
+ config += ` ospf_settings_area = "ospfDisabled"` + "\n"
config += `}` + "\n"
config += `
@@ -112,18 +112,18 @@ func testAccDataSourceMerakiSwitchRoutingInterfaceConfig() string {
func testAccNamedDataSourceMerakiSwitchRoutingInterfaceConfig() string {
config := `resource "meraki_switch_routing_interface" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` default_gateway = "192.168.1.1"` + "\n"
- config += ` interface_ip = "192.168.1.2"` + "\n"
- config += ` multicast_routing = "disabled"` + "\n"
- config += ` name = "L3 interface"` + "\n"
- config += ` subnet = "192.168.1.0/24"` + "\n"
- config += ` vlan_id = 100` + "\n"
- config += ` ipv6_address = "1:2:3:4::1"` + "\n"
- config += ` ipv6_assignment_mode = "static"` + "\n"
- config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
- config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
- config += ` ospf_settings_area = "ospfDisabled"` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` default_gateway = "192.168.1.1"` + "\n"
+ config += ` interface_ip = "192.168.1.2"` + "\n"
+ config += ` multicast_routing = "disabled"` + "\n"
+ config += ` name = "L3 interface"` + "\n"
+ config += ` subnet = "192.168.1.0/24"` + "\n"
+ config += ` vlan_id = 100` + "\n"
+ config += ` ipv6_address = "1:2:3:4::1"` + "\n"
+ config += ` ipv6_assignment_mode = "static"` + "\n"
+ config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
+ config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
+ config += ` ospf_settings_area = "ospfDisabled"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_routing_multicast_rendezvous_point_test.go b/internal/provider/data_source_meraki_switch_routing_multicast_rendezvous_point_test.go
index b276956..ef5acc4 100644
--- a/internal/provider/data_source_meraki_switch_routing_multicast_rendezvous_point_test.go
+++ b/internal/provider/data_source_meraki_switch_routing_multicast_rendezvous_point_test.go
@@ -85,9 +85,9 @@ resource "meraki_switch_routing_interface" "test" {
func testAccDataSourceMerakiSwitchRoutingMulticastRendezvousPointConfig() string {
config := `resource "meraki_switch_routing_multicast_rendezvous_point" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` interface_ip = meraki_switch_routing_interface.test.interface_ip` + "\n"
- config += ` multicast_group = "Any"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` interface_ip = meraki_switch_routing_interface.test.interface_ip` + "\n"
+ config += ` multicast_group = "Any"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_routing_multicast_test.go b/internal/provider/data_source_meraki_switch_routing_multicast_test.go
index 78649a3..f7a2d50 100644
--- a/internal/provider/data_source_meraki_switch_routing_multicast_test.go
+++ b/internal/provider/data_source_meraki_switch_routing_multicast_test.go
@@ -79,14 +79,14 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchRoutingMulticastConfig() string {
config := `resource "meraki_switch_routing_multicast" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` default_settings_flood_unknown_multicast_traffic_enabled = true` + "\n"
- config += ` default_settings_igmp_snooping_enabled = true` + "\n"
- config += ` overrides = [{` + "\n"
- config += ` flood_unknown_multicast_traffic_enabled = true` + "\n"
- config += ` igmp_snooping_enabled = true` + "\n"
- config += ` switches = [tolist(meraki_network_device_claim.test.serials)[0]]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` default_settings_flood_unknown_multicast_traffic_enabled = true` + "\n"
+ config += ` default_settings_igmp_snooping_enabled = true` + "\n"
+ config += ` overrides = [{` + "\n"
+ config += ` flood_unknown_multicast_traffic_enabled = true` + "\n"
+ config += ` igmp_snooping_enabled = true` + "\n"
+ config += ` switches = [tolist(meraki_network_device_claim.test.serials)[0]]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_routing_ospf_test.go b/internal/provider/data_source_meraki_switch_routing_ospf_test.go
index e062652..996aef4 100644
--- a/internal/provider/data_source_meraki_switch_routing_ospf_test.go
+++ b/internal/provider/data_source_meraki_switch_routing_ospf_test.go
@@ -85,26 +85,26 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchRoutingOSPFConfig() string {
config := `resource "meraki_switch_routing_ospf" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` dead_timer_in_seconds = 40` + "\n"
- config += ` enabled = true` + "\n"
- config += ` hello_timer_in_seconds = 10` + "\n"
- config += ` md5_authentication_enabled = true` + "\n"
- config += ` md5_authentication_key_id = 1` + "\n"
- config += ` md5_authentication_key_passphrase = "abc1234"` + "\n"
- config += ` v3_dead_timer_in_seconds = 40` + "\n"
- config += ` v3_enabled = true` + "\n"
- config += ` v3_hello_timer_in_seconds = 10` + "\n"
- config += ` v3_areas = [{` + "\n"
- config += ` area_id = "0"` + "\n"
- config += ` area_name = "V3 Backbone"` + "\n"
- config += ` area_type = "normal"` + "\n"
- config += ` }]` + "\n"
- config += ` areas = [{` + "\n"
- config += ` area_id = "0"` + "\n"
- config += ` area_name = "Backbone"` + "\n"
- config += ` area_type = "normal"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` dead_timer_in_seconds = 40` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` hello_timer_in_seconds = 10` + "\n"
+ config += ` md5_authentication_enabled = true` + "\n"
+ config += ` md5_authentication_key_id = 1` + "\n"
+ config += ` md5_authentication_key_passphrase = "abc1234"` + "\n"
+ config += ` v3_dead_timer_in_seconds = 40` + "\n"
+ config += ` v3_enabled = true` + "\n"
+ config += ` v3_hello_timer_in_seconds = 10` + "\n"
+ config += ` v3_areas = [{` + "\n"
+ config += ` area_id = "0"` + "\n"
+ config += ` area_name = "V3 Backbone"` + "\n"
+ config += ` area_type = "normal"` + "\n"
+ config += ` }]` + "\n"
+ config += ` areas = [{` + "\n"
+ config += ` area_id = "0"` + "\n"
+ config += ` area_name = "Backbone"` + "\n"
+ config += ` area_type = "normal"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_routing_static_route_test.go b/internal/provider/data_source_meraki_switch_routing_static_route_test.go
index 37134cd..037f6a6 100644
--- a/internal/provider/data_source_meraki_switch_routing_static_route_test.go
+++ b/internal/provider/data_source_meraki_switch_routing_static_route_test.go
@@ -86,10 +86,10 @@ resource "meraki_switch_routing_interface" "test" {
func testAccDataSourceMerakiSwitchRoutingStaticRouteConfig() string {
config := `resource "meraki_switch_routing_static_route" "test" {` + "\n"
- config += ` serial = meraki_switch_routing_interface.test.serial` + "\n"
- config += ` name = "My route"` + "\n"
- config += ` next_hop_ip = "192.168.1.1"` + "\n"
- config += ` subnet = "192.168.2.0/24"` + "\n"
+ config += ` serial = meraki_switch_routing_interface.test.serial` + "\n"
+ config += ` name = "My route"` + "\n"
+ config += ` next_hop_ip = "192.168.1.1"` + "\n"
+ config += ` subnet = "192.168.2.0/24"` + "\n"
config += `}` + "\n"
config += `
@@ -104,10 +104,10 @@ func testAccDataSourceMerakiSwitchRoutingStaticRouteConfig() string {
func testAccNamedDataSourceMerakiSwitchRoutingStaticRouteConfig() string {
config := `resource "meraki_switch_routing_static_route" "test" {` + "\n"
- config += ` serial = meraki_switch_routing_interface.test.serial` + "\n"
- config += ` name = "My route"` + "\n"
- config += ` next_hop_ip = "192.168.1.1"` + "\n"
- config += ` subnet = "192.168.2.0/24"` + "\n"
+ config += ` serial = meraki_switch_routing_interface.test.serial` + "\n"
+ config += ` name = "My route"` + "\n"
+ config += ` next_hop_ip = "192.168.1.1"` + "\n"
+ config += ` subnet = "192.168.2.0/24"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_settings_test.go b/internal/provider/data_source_meraki_switch_settings_test.go
index c719cb4..fdfb943 100644
--- a/internal/provider/data_source_meraki_switch_settings_test.go
+++ b/internal/provider/data_source_meraki_switch_settings_test.go
@@ -74,11 +74,11 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiSwitchSettingsConfig() string {
config := `resource "meraki_switch_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` use_combined_power = false` + "\n"
- config += ` vlan = 1` + "\n"
- config += ` mac_blocklist_enabled = true` + "\n"
- config += ` uplink_client_sampling_enabled = false` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` use_combined_power = false` + "\n"
+ config += ` vlan = 1` + "\n"
+ config += ` mac_blocklist_enabled = true` + "\n"
+ config += ` uplink_client_sampling_enabled = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_stack_routing_interface_dhcp_test.go b/internal/provider/data_source_meraki_switch_stack_routing_interface_dhcp_test.go
index 7a86466..c60e6c9 100644
--- a/internal/provider/data_source_meraki_switch_stack_routing_interface_dhcp_test.go
+++ b/internal/provider/data_source_meraki_switch_stack_routing_interface_dhcp_test.go
@@ -106,31 +106,31 @@ resource "meraki_switch_stack_routing_interface" "test" {
func testAccDataSourceMerakiSwitchStackRoutingInterfaceDHCPConfig() string {
config := `resource "meraki_switch_stack_routing_interface_dhcp" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` switch_stack_id = meraki_switch_stack.test.id` + "\n"
- config += ` interface_id = meraki_switch_stack_routing_interface.test.id` + "\n"
- config += ` boot_file_name = "home_boot_file"` + "\n"
- config += ` boot_next_server = "1.2.3.4"` + "\n"
- config += ` boot_options_enabled = true` + "\n"
- config += ` dhcp_lease_time = "1 day"` + "\n"
- config += ` dhcp_mode = "dhcpServer"` + "\n"
- config += ` dns_nameservers_option = "custom"` + "\n"
- config += ` dhcp_options = [{` + "\n"
- config += ` code = "5"` + "\n"
- config += ` type = "text"` + "\n"
- config += ` value = "five"` + "\n"
- config += ` }]` + "\n"
- config += ` dns_custom_nameservers = ["8.8.8.8"]` + "\n"
- config += ` fixed_ip_assignments = [{` + "\n"
- config += ` ip = "192.168.1.12"` + "\n"
- config += ` mac = "22:33:44:55:66:77"` + "\n"
- config += ` name = "Cisco Meraki valued client"` + "\n"
- config += ` }]` + "\n"
- config += ` reserved_ip_ranges = [{` + "\n"
- config += ` comment = "A reserved IP range"` + "\n"
- config += ` end = "192.168.1.10"` + "\n"
- config += ` start = "192.168.1.1"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` switch_stack_id = meraki_switch_stack.test.id` + "\n"
+ config += ` interface_id = meraki_switch_stack_routing_interface.test.id` + "\n"
+ config += ` boot_file_name = "home_boot_file"` + "\n"
+ config += ` boot_next_server = "1.2.3.4"` + "\n"
+ config += ` boot_options_enabled = true` + "\n"
+ config += ` dhcp_lease_time = "1 day"` + "\n"
+ config += ` dhcp_mode = "dhcpServer"` + "\n"
+ config += ` dns_nameservers_option = "custom"` + "\n"
+ config += ` dhcp_options = [{` + "\n"
+ config += ` code = "5"` + "\n"
+ config += ` type = "text"` + "\n"
+ config += ` value = "five"` + "\n"
+ config += ` }]` + "\n"
+ config += ` dns_custom_nameservers = ["8.8.8.8"]` + "\n"
+ config += ` fixed_ip_assignments = [{` + "\n"
+ config += ` ip = "192.168.1.12"` + "\n"
+ config += ` mac = "22:33:44:55:66:77"` + "\n"
+ config += ` name = "Cisco Meraki valued client"` + "\n"
+ config += ` }]` + "\n"
+ config += ` reserved_ip_ranges = [{` + "\n"
+ config += ` comment = "A reserved IP range"` + "\n"
+ config += ` end = "192.168.1.10"` + "\n"
+ config += ` start = "192.168.1.1"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_stack_routing_interface_test.go b/internal/provider/data_source_meraki_switch_stack_routing_interface_test.go
index c9c1a35..d8321b3 100644
--- a/internal/provider/data_source_meraki_switch_stack_routing_interface_test.go
+++ b/internal/provider/data_source_meraki_switch_stack_routing_interface_test.go
@@ -92,19 +92,19 @@ resource "meraki_switch_stack" "test" {
func testAccDataSourceMerakiSwitchStackRoutingInterfaceConfig() string {
config := `resource "meraki_switch_stack_routing_interface" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` switch_stack_id = meraki_switch_stack.test.id` + "\n"
- config += ` default_gateway = "192.168.1.1"` + "\n"
- config += ` interface_ip = "192.168.1.2"` + "\n"
- config += ` multicast_routing = "disabled"` + "\n"
- config += ` name = "L3 interface"` + "\n"
- config += ` subnet = "192.168.1.0/24"` + "\n"
- config += ` vlan_id = 100` + "\n"
- config += ` ipv6_address = "1:2:3:4::1"` + "\n"
- config += ` ipv6_assignment_mode = "static"` + "\n"
- config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
- config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
- config += ` ospf_settings_area = "ospfDisabled"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` switch_stack_id = meraki_switch_stack.test.id` + "\n"
+ config += ` default_gateway = "192.168.1.1"` + "\n"
+ config += ` interface_ip = "192.168.1.2"` + "\n"
+ config += ` multicast_routing = "disabled"` + "\n"
+ config += ` name = "L3 interface"` + "\n"
+ config += ` subnet = "192.168.1.0/24"` + "\n"
+ config += ` vlan_id = 100` + "\n"
+ config += ` ipv6_address = "1:2:3:4::1"` + "\n"
+ config += ` ipv6_assignment_mode = "static"` + "\n"
+ config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
+ config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
+ config += ` ospf_settings_area = "ospfDisabled"` + "\n"
config += `}` + "\n"
config += `
@@ -120,19 +120,19 @@ func testAccDataSourceMerakiSwitchStackRoutingInterfaceConfig() string {
func testAccNamedDataSourceMerakiSwitchStackRoutingInterfaceConfig() string {
config := `resource "meraki_switch_stack_routing_interface" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` switch_stack_id = meraki_switch_stack.test.id` + "\n"
- config += ` default_gateway = "192.168.1.1"` + "\n"
- config += ` interface_ip = "192.168.1.2"` + "\n"
- config += ` multicast_routing = "disabled"` + "\n"
- config += ` name = "L3 interface"` + "\n"
- config += ` subnet = "192.168.1.0/24"` + "\n"
- config += ` vlan_id = 100` + "\n"
- config += ` ipv6_address = "1:2:3:4::1"` + "\n"
- config += ` ipv6_assignment_mode = "static"` + "\n"
- config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
- config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
- config += ` ospf_settings_area = "ospfDisabled"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` switch_stack_id = meraki_switch_stack.test.id` + "\n"
+ config += ` default_gateway = "192.168.1.1"` + "\n"
+ config += ` interface_ip = "192.168.1.2"` + "\n"
+ config += ` multicast_routing = "disabled"` + "\n"
+ config += ` name = "L3 interface"` + "\n"
+ config += ` subnet = "192.168.1.0/24"` + "\n"
+ config += ` vlan_id = 100` + "\n"
+ config += ` ipv6_address = "1:2:3:4::1"` + "\n"
+ config += ` ipv6_assignment_mode = "static"` + "\n"
+ config += ` ipv6_gateway = "1:2:3:4::2"` + "\n"
+ config += ` ipv6_prefix = "1:2:3:4::/64"` + "\n"
+ config += ` ospf_settings_area = "ospfDisabled"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_stack_routing_static_route_test.go b/internal/provider/data_source_meraki_switch_stack_routing_static_route_test.go
index 33330a9..464dd16 100644
--- a/internal/provider/data_source_meraki_switch_stack_routing_static_route_test.go
+++ b/internal/provider/data_source_meraki_switch_stack_routing_static_route_test.go
@@ -93,11 +93,11 @@ resource "meraki_switch_stack_routing_interface" "test" {
func testAccDataSourceMerakiSwitchStackRoutingStaticRouteConfig() string {
config := `resource "meraki_switch_stack_routing_static_route" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` switch_stack_id = meraki_switch_stack_routing_interface.test.switch_stack_id` + "\n"
- config += ` name = "My route"` + "\n"
- config += ` next_hop_ip = "192.168.1.1"` + "\n"
- config += ` subnet = "192.168.2.0/24"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` switch_stack_id = meraki_switch_stack_routing_interface.test.switch_stack_id` + "\n"
+ config += ` name = "My route"` + "\n"
+ config += ` next_hop_ip = "192.168.1.1"` + "\n"
+ config += ` subnet = "192.168.2.0/24"` + "\n"
config += `}` + "\n"
config += `
@@ -113,11 +113,11 @@ func testAccDataSourceMerakiSwitchStackRoutingStaticRouteConfig() string {
func testAccNamedDataSourceMerakiSwitchStackRoutingStaticRouteConfig() string {
config := `resource "meraki_switch_stack_routing_static_route" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` switch_stack_id = meraki_switch_stack_routing_interface.test.switch_stack_id` + "\n"
- config += ` name = "My route"` + "\n"
- config += ` next_hop_ip = "192.168.1.1"` + "\n"
- config += ` subnet = "192.168.2.0/24"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` switch_stack_id = meraki_switch_stack_routing_interface.test.switch_stack_id` + "\n"
+ config += ` name = "My route"` + "\n"
+ config += ` next_hop_ip = "192.168.1.1"` + "\n"
+ config += ` subnet = "192.168.2.0/24"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_stack_test.go b/internal/provider/data_source_meraki_switch_stack_test.go
index 386a85c..b474e22 100644
--- a/internal/provider/data_source_meraki_switch_stack_test.go
+++ b/internal/provider/data_source_meraki_switch_stack_test.go
@@ -77,9 +77,9 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchStackConfig() string {
config := `resource "meraki_switch_stack" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "A cool stack"` + "\n"
- config += ` serials = meraki_network_device_claim.test.serials` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "A cool stack"` + "\n"
+ config += ` serials = meraki_network_device_claim.test.serials` + "\n"
config += `}` + "\n"
config += `
@@ -94,9 +94,9 @@ func testAccDataSourceMerakiSwitchStackConfig() string {
func testAccNamedDataSourceMerakiSwitchStackConfig() string {
config := `resource "meraki_switch_stack" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "A cool stack"` + "\n"
- config += ` serials = meraki_network_device_claim.test.serials` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "A cool stack"` + "\n"
+ config += ` serials = meraki_network_device_claim.test.serials` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_storm_control_test.go b/internal/provider/data_source_meraki_switch_storm_control_test.go
index ed310ad..cfdb8c7 100644
--- a/internal/provider/data_source_meraki_switch_storm_control_test.go
+++ b/internal/provider/data_source_meraki_switch_storm_control_test.go
@@ -78,10 +78,10 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchStormControlConfig() string {
config := `resource "meraki_switch_storm_control" "test" {` + "\n"
- config += ` network_id = meraki_network_device_claim.test.id` + "\n"
- config += ` broadcast_threshold = 30` + "\n"
- config += ` multicast_threshold = 30` + "\n"
- config += ` unknown_unicast_threshold = 30` + "\n"
+ config += ` network_id = meraki_network_device_claim.test.id` + "\n"
+ config += ` broadcast_threshold = 30` + "\n"
+ config += ` multicast_threshold = 30` + "\n"
+ config += ` unknown_unicast_threshold = 30` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_stp_test.go b/internal/provider/data_source_meraki_switch_stp_test.go
index 5798e1a..f6e34cb 100644
--- a/internal/provider/data_source_meraki_switch_stp_test.go
+++ b/internal/provider/data_source_meraki_switch_stp_test.go
@@ -77,12 +77,12 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchSTPConfig() string {
config := `resource "meraki_switch_stp" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` rstp_enabled = true` + "\n"
- config += ` stp_bridge_priority = [{` + "\n"
- config += ` stp_priority = 4096` + "\n"
- config += ` switches = [tolist(meraki_network_device_claim.test.serials)[0]]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` rstp_enabled = true` + "\n"
+ config += ` stp_bridge_priority = [{` + "\n"
+ config += ` stp_priority = 4096` + "\n"
+ config += ` switches = [tolist(meraki_network_device_claim.test.serials)[0]]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_switch_warm_spare_test.go b/internal/provider/data_source_meraki_switch_warm_spare_test.go
index faa79f6..6c5f6bf 100644
--- a/internal/provider/data_source_meraki_switch_warm_spare_test.go
+++ b/internal/provider/data_source_meraki_switch_warm_spare_test.go
@@ -76,8 +76,8 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiSwitchWarmSpareConfig() string {
config := `resource "meraki_switch_warm_spare" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` enabled = false` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` enabled = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_air_marshal_rule_test.go b/internal/provider/data_source_meraki_wireless_air_marshal_rule_test.go
index da12e46..6454e2b 100644
--- a/internal/provider/data_source_meraki_wireless_air_marshal_rule_test.go
+++ b/internal/provider/data_source_meraki_wireless_air_marshal_rule_test.go
@@ -73,10 +73,10 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessAirMarshalRuleConfig() string {
config := `resource "meraki_wireless_air_marshal_rule" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` type = "allow"` + "\n"
- config += ` match_string = "00:11:22:33:44:55"` + "\n"
- config += ` match_type = "bssid"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` type = "allow"` + "\n"
+ config += ` match_string = "00:11:22:33:44:55"` + "\n"
+ config += ` match_type = "bssid"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_air_marshal_settings_test.go b/internal/provider/data_source_meraki_wireless_air_marshal_settings_test.go
index 28e611c..e2e22b4 100644
--- a/internal/provider/data_source_meraki_wireless_air_marshal_settings_test.go
+++ b/internal/provider/data_source_meraki_wireless_air_marshal_settings_test.go
@@ -71,8 +71,8 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessAirMarshalSettingsConfig() string {
config := `resource "meraki_wireless_air_marshal_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` default_policy = "allow"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` default_policy = "allow"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_alternate_management_interface_test.go b/internal/provider/data_source_meraki_wireless_alternate_management_interface_test.go
index 6b94c2f..05ccf24 100644
--- a/internal/provider/data_source_meraki_wireless_alternate_management_interface_test.go
+++ b/internal/provider/data_source_meraki_wireless_alternate_management_interface_test.go
@@ -82,18 +82,18 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiWirelessAlternateManagementInterfaceConfig() string {
config := `resource "meraki_wireless_alternate_management_interface" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` vlan_id = 100` + "\n"
- config += ` access_points = [{` + "\n"
- config += ` alternate_management_ip = "1.2.3.4"` + "\n"
- config += ` dns1 = "8.8.8.8"` + "\n"
- config += ` dns2 = "8.8.4.4"` + "\n"
- config += ` gateway = "1.2.3.5"` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` subnet_mask = "255.255.255.0"` + "\n"
- config += ` }]` + "\n"
- config += ` protocols = ["radius"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` vlan_id = 100` + "\n"
+ config += ` access_points = [{` + "\n"
+ config += ` alternate_management_ip = "1.2.3.4"` + "\n"
+ config += ` dns1 = "8.8.8.8"` + "\n"
+ config += ` dns2 = "8.8.4.4"` + "\n"
+ config += ` gateway = "1.2.3.5"` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` subnet_mask = "255.255.255.0"` + "\n"
+ config += ` }]` + "\n"
+ config += ` protocols = ["radius"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_billing_test.go b/internal/provider/data_source_meraki_wireless_billing_test.go
index b2b1d04..99afdec 100644
--- a/internal/provider/data_source_meraki_wireless_billing_test.go
+++ b/internal/provider/data_source_meraki_wireless_billing_test.go
@@ -75,14 +75,14 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessBillingConfig() string {
config := `resource "meraki_wireless_billing" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` currency = "USD"` + "\n"
- config += ` plans = [{` + "\n"
- config += ` price = 5` + "\n"
- config += ` time_limit = "1 hour"` + "\n"
- config += ` bandwidth_limits_limit_down = 1000000` + "\n"
- config += ` bandwidth_limits_limit_up = 1000000` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` currency = "USD"` + "\n"
+ config += ` plans = [{` + "\n"
+ config += ` price = 5` + "\n"
+ config += ` time_limit = "1 hour"` + "\n"
+ config += ` bandwidth_limits_limit_down = 1000000` + "\n"
+ config += ` bandwidth_limits_limit_up = 1000000` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_device_bluetooth_settings_test.go b/internal/provider/data_source_meraki_wireless_device_bluetooth_settings_test.go
index d454a5c..4b20926 100644
--- a/internal/provider/data_source_meraki_wireless_device_bluetooth_settings_test.go
+++ b/internal/provider/data_source_meraki_wireless_device_bluetooth_settings_test.go
@@ -83,10 +83,10 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiWirelessDeviceBluetoothSettingsConfig() string {
config := `resource "meraki_wireless_device_bluetooth_settings" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` major = 13` + "\n"
- config += ` minor = 125` + "\n"
- config += ` uuid = "00000000-0000-0000-0000-000000000000"` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` major = 13` + "\n"
+ config += ` minor = 125` + "\n"
+ config += ` uuid = "00000000-0000-0000-0000-000000000000"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_device_electronic_shelf_label_test.go b/internal/provider/data_source_meraki_wireless_device_electronic_shelf_label_test.go
index 0cb4d0e..841e839 100644
--- a/internal/provider/data_source_meraki_wireless_device_electronic_shelf_label_test.go
+++ b/internal/provider/data_source_meraki_wireless_device_electronic_shelf_label_test.go
@@ -82,9 +82,9 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiWirelessDeviceElectronicShelfLabelConfig() string {
config := `resource "meraki_wireless_device_electronic_shelf_label" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` channel = "1"` + "\n"
- config += ` enabled = true` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` channel = "1"` + "\n"
+ config += ` enabled = true` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ethernet_port_profile_default_test.go b/internal/provider/data_source_meraki_wireless_ethernet_port_profile_default_test.go
index eac0da0..c84c264 100644
--- a/internal/provider/data_source_meraki_wireless_ethernet_port_profile_default_test.go
+++ b/internal/provider/data_source_meraki_wireless_ethernet_port_profile_default_test.go
@@ -80,8 +80,8 @@ resource "meraki_wireless_ethernet_port_profile" "test" {
func testAccDataSourceMerakiWirelessEthernetPortProfileDefaultConfig() string {
config := `resource "meraki_wireless_ethernet_port_profile_default" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` profile_id = meraki_wireless_ethernet_port_profile.test.id` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` profile_id = meraki_wireless_ethernet_port_profile.test.id` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ethernet_port_profile_test.go b/internal/provider/data_source_meraki_wireless_ethernet_port_profile_test.go
index 995c6d3..7e0fae0 100644
--- a/internal/provider/data_source_meraki_wireless_ethernet_port_profile_test.go
+++ b/internal/provider/data_source_meraki_wireless_ethernet_port_profile_test.go
@@ -77,18 +77,18 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessEthernetPortProfileConfig() string {
config := `resource "meraki_wireless_ethernet_port_profile" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "name"` + "\n"
- config += ` ports = [{` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "port"` + "\n"
- config += ` ssid = 1` + "\n"
- config += ` }]` + "\n"
- config += ` usb_ports = [{` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "usb port"` + "\n"
- config += ` ssid = 2` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "name"` + "\n"
+ config += ` ports = [{` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "port"` + "\n"
+ config += ` ssid = 1` + "\n"
+ config += ` }]` + "\n"
+ config += ` usb_ports = [{` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "usb port"` + "\n"
+ config += ` ssid = 2` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
@@ -103,18 +103,18 @@ func testAccDataSourceMerakiWirelessEthernetPortProfileConfig() string {
func testAccNamedDataSourceMerakiWirelessEthernetPortProfileConfig() string {
config := `resource "meraki_wireless_ethernet_port_profile" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` name = "name"` + "\n"
- config += ` ports = [{` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "port"` + "\n"
- config += ` ssid = 1` + "\n"
- config += ` }]` + "\n"
- config += ` usb_ports = [{` + "\n"
- config += ` enabled = true` + "\n"
- config += ` name = "usb port"` + "\n"
- config += ` ssid = 2` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` name = "name"` + "\n"
+ config += ` ports = [{` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "port"` + "\n"
+ config += ` ssid = 1` + "\n"
+ config += ` }]` + "\n"
+ config += ` usb_ports = [{` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` name = "usb port"` + "\n"
+ config += ` ssid = 2` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_network_bluetooth_settings_test.go b/internal/provider/data_source_meraki_wireless_network_bluetooth_settings_test.go
index 0b4ad6b..a54dbfe 100644
--- a/internal/provider/data_source_meraki_wireless_network_bluetooth_settings_test.go
+++ b/internal/provider/data_source_meraki_wireless_network_bluetooth_settings_test.go
@@ -76,13 +76,13 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessNetworkBluetoothSettingsConfig() string {
config := `resource "meraki_wireless_network_bluetooth_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` advertising_enabled = true` + "\n"
- config += ` major = 1` + "\n"
- config += ` major_minor_assignment_mode = "Non-unique"` + "\n"
- config += ` minor = 1` + "\n"
- config += ` scanning_enabled = true` + "\n"
- config += ` uuid = "00000000-0000-0000-0000-000000000000"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` advertising_enabled = true` + "\n"
+ config += ` major = 1` + "\n"
+ config += ` major_minor_assignment_mode = "Non-unique"` + "\n"
+ config += ` minor = 1` + "\n"
+ config += ` scanning_enabled = true` + "\n"
+ config += ` uuid = "00000000-0000-0000-0000-000000000000"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_network_electronic_shelf_label_test.go b/internal/provider/data_source_meraki_wireless_network_electronic_shelf_label_test.go
index d54f994..21c0028 100644
--- a/internal/provider/data_source_meraki_wireless_network_electronic_shelf_label_test.go
+++ b/internal/provider/data_source_meraki_wireless_network_electronic_shelf_label_test.go
@@ -72,9 +72,9 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessNetworkElectronicShelfLabelConfig() string {
config := `resource "meraki_wireless_network_electronic_shelf_label" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` hostname = "N_24329156"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` hostname = "N_24329156"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_radio_settings_test.go b/internal/provider/data_source_meraki_wireless_radio_settings_test.go
index c334022..5be5ea4 100644
--- a/internal/provider/data_source_meraki_wireless_radio_settings_test.go
+++ b/internal/provider/data_source_meraki_wireless_radio_settings_test.go
@@ -79,11 +79,11 @@ resource "meraki_network_device_claim" "test" {
func testAccDataSourceMerakiWirelessRadioSettingsConfig() string {
config := `resource "meraki_wireless_radio_settings" "test" {` + "\n"
- config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
- config += ` five_ghz_settings_channel = 40` + "\n"
- config += ` five_ghz_settings_channel_width = 20` + "\n"
- config += ` two_four_ghz_settings_channel = 11` + "\n"
- config += ` two_four_ghz_settings_target_power = 14` + "\n"
+ config += ` serial = tolist(meraki_network_device_claim.test.serials)[0]` + "\n"
+ config += ` five_ghz_settings_channel = 40` + "\n"
+ config += ` five_ghz_settings_channel_width = 20` + "\n"
+ config += ` two_four_ghz_settings_channel = 11` + "\n"
+ config += ` two_four_ghz_settings_target_power = 14` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_rf_profile_test.go b/internal/provider/data_source_meraki_wireless_rf_profile_test.go
index 89a87cb..2040901 100644
--- a/internal/provider/data_source_meraki_wireless_rf_profile_test.go
+++ b/internal/provider/data_source_meraki_wireless_rf_profile_test.go
@@ -132,87 +132,87 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessRFProfileConfig() string {
config := `resource "meraki_wireless_rf_profile" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` band_selection_type = "ap"` + "\n"
- config += ` client_balancing_enabled = true` + "\n"
- config += ` min_bitrate_type = "band"` + "\n"
- config += ` name = "Main Office"` + "\n"
- config += ` ap_band_settings_band_operation_mode = "5ghz"` + "\n"
- config += ` ap_band_settings_band_steering_enabled = true` + "\n"
- config += ` ap_band_settings_bands_enabled = ["5"]` + "\n"
- config += ` five_ghz_settings_channel_width = "auto"` + "\n"
- config += ` five_ghz_settings_max_power = 30` + "\n"
- config += ` five_ghz_settings_min_bitrate = 12` + "\n"
- config += ` five_ghz_settings_min_power = 8` + "\n"
- config += ` five_ghz_settings_rxsop = -95` + "\n"
- config += ` five_ghz_settings_valid_auto_channels = [36]` + "\n"
- config += ` per_ssid_settings_0_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_0_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_0_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_0_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_1_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_1_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_1_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_10_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_10_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_10_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_10_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_11_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_11_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_11_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_11_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_12_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_12_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_12_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_12_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_13_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_13_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_13_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_13_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_14_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_14_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_14_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_14_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_2_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_2_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_2_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_3_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_3_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_3_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_4_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_4_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_4_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_5_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_5_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_5_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_5_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_6_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_6_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_6_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_6_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_7_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_7_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_7_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_7_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_8_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_8_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_8_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_8_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_9_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_9_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_9_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_9_bands_enabled = ["5"]` + "\n"
- config += ` transmission_enabled = true` + "\n"
- config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
- config += ` two_four_ghz_settings_max_power = 30` + "\n"
- config += ` two_four_ghz_settings_min_bitrate = 11` + "\n"
- config += ` two_four_ghz_settings_min_power = 5` + "\n"
- config += ` two_four_ghz_settings_rxsop = -95` + "\n"
- config += ` two_four_ghz_settings_valid_auto_channels = [1]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` band_selection_type = "ap"` + "\n"
+ config += ` client_balancing_enabled = true` + "\n"
+ config += ` min_bitrate_type = "band"` + "\n"
+ config += ` name = "Main Office"` + "\n"
+ config += ` ap_band_settings_band_operation_mode = "5ghz"` + "\n"
+ config += ` ap_band_settings_band_steering_enabled = true` + "\n"
+ config += ` ap_band_settings_bands_enabled = ["5"]` + "\n"
+ config += ` five_ghz_settings_channel_width = "auto"` + "\n"
+ config += ` five_ghz_settings_max_power = 30` + "\n"
+ config += ` five_ghz_settings_min_bitrate = 12` + "\n"
+ config += ` five_ghz_settings_min_power = 8` + "\n"
+ config += ` five_ghz_settings_rxsop = -95` + "\n"
+ config += ` five_ghz_settings_valid_auto_channels = [36]` + "\n"
+ config += ` per_ssid_settings_0_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_0_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_0_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_0_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_1_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_1_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_1_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_10_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_10_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_10_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_10_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_11_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_11_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_11_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_11_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_12_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_12_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_12_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_12_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_13_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_13_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_13_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_13_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_14_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_14_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_14_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_14_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_2_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_2_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_2_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_3_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_3_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_3_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_4_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_4_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_4_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_5_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_5_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_5_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_5_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_6_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_6_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_6_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_6_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_7_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_7_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_7_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_7_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_8_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_8_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_8_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_8_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_9_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_9_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_9_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_9_bands_enabled = ["5"]` + "\n"
+ config += ` transmission_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_max_power = 30` + "\n"
+ config += ` two_four_ghz_settings_min_bitrate = 11` + "\n"
+ config += ` two_four_ghz_settings_min_power = 5` + "\n"
+ config += ` two_four_ghz_settings_rxsop = -95` + "\n"
+ config += ` two_four_ghz_settings_valid_auto_channels = [1]` + "\n"
config += `}` + "\n"
config += `
@@ -227,87 +227,87 @@ func testAccDataSourceMerakiWirelessRFProfileConfig() string {
func testAccNamedDataSourceMerakiWirelessRFProfileConfig() string {
config := `resource "meraki_wireless_rf_profile" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` band_selection_type = "ap"` + "\n"
- config += ` client_balancing_enabled = true` + "\n"
- config += ` min_bitrate_type = "band"` + "\n"
- config += ` name = "Main Office"` + "\n"
- config += ` ap_band_settings_band_operation_mode = "5ghz"` + "\n"
- config += ` ap_band_settings_band_steering_enabled = true` + "\n"
- config += ` ap_band_settings_bands_enabled = ["5"]` + "\n"
- config += ` five_ghz_settings_channel_width = "auto"` + "\n"
- config += ` five_ghz_settings_max_power = 30` + "\n"
- config += ` five_ghz_settings_min_bitrate = 12` + "\n"
- config += ` five_ghz_settings_min_power = 8` + "\n"
- config += ` five_ghz_settings_rxsop = -95` + "\n"
- config += ` five_ghz_settings_valid_auto_channels = [36]` + "\n"
- config += ` per_ssid_settings_0_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_0_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_0_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_0_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_1_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_1_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_1_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_10_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_10_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_10_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_10_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_11_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_11_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_11_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_11_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_12_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_12_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_12_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_12_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_13_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_13_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_13_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_13_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_14_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_14_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_14_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_14_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_2_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_2_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_2_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_3_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_3_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_3_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_4_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_4_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_4_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_5_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_5_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_5_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_5_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_6_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_6_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_6_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_6_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_7_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_7_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_7_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_7_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_8_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_8_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_8_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_8_bands_enabled = ["5"]` + "\n"
- config += ` per_ssid_settings_9_band_operation_mode = "5ghz"` + "\n"
- config += ` per_ssid_settings_9_band_steering_enabled = true` + "\n"
- config += ` per_ssid_settings_9_min_bitrate = 11` + "\n"
- config += ` per_ssid_settings_9_bands_enabled = ["5"]` + "\n"
- config += ` transmission_enabled = true` + "\n"
- config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
- config += ` two_four_ghz_settings_max_power = 30` + "\n"
- config += ` two_four_ghz_settings_min_bitrate = 11` + "\n"
- config += ` two_four_ghz_settings_min_power = 5` + "\n"
- config += ` two_four_ghz_settings_rxsop = -95` + "\n"
- config += ` two_four_ghz_settings_valid_auto_channels = [1]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` band_selection_type = "ap"` + "\n"
+ config += ` client_balancing_enabled = true` + "\n"
+ config += ` min_bitrate_type = "band"` + "\n"
+ config += ` name = "Main Office"` + "\n"
+ config += ` ap_band_settings_band_operation_mode = "5ghz"` + "\n"
+ config += ` ap_band_settings_band_steering_enabled = true` + "\n"
+ config += ` ap_band_settings_bands_enabled = ["5"]` + "\n"
+ config += ` five_ghz_settings_channel_width = "auto"` + "\n"
+ config += ` five_ghz_settings_max_power = 30` + "\n"
+ config += ` five_ghz_settings_min_bitrate = 12` + "\n"
+ config += ` five_ghz_settings_min_power = 8` + "\n"
+ config += ` five_ghz_settings_rxsop = -95` + "\n"
+ config += ` five_ghz_settings_valid_auto_channels = [36]` + "\n"
+ config += ` per_ssid_settings_0_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_0_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_0_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_0_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_1_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_1_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_1_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_1_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_10_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_10_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_10_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_10_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_11_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_11_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_11_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_11_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_12_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_12_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_12_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_12_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_13_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_13_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_13_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_13_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_14_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_14_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_14_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_14_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_2_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_2_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_2_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_2_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_3_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_3_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_3_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_3_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_4_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_4_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_4_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_4_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_5_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_5_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_5_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_5_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_6_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_6_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_6_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_6_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_7_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_7_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_7_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_7_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_8_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_8_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_8_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_8_bands_enabled = ["5"]` + "\n"
+ config += ` per_ssid_settings_9_band_operation_mode = "5ghz"` + "\n"
+ config += ` per_ssid_settings_9_band_steering_enabled = true` + "\n"
+ config += ` per_ssid_settings_9_min_bitrate = 11` + "\n"
+ config += ` per_ssid_settings_9_bands_enabled = ["5"]` + "\n"
+ config += ` transmission_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_ax_enabled = true` + "\n"
+ config += ` two_four_ghz_settings_max_power = 30` + "\n"
+ config += ` two_four_ghz_settings_min_bitrate = 11` + "\n"
+ config += ` two_four_ghz_settings_min_power = 5` + "\n"
+ config += ` two_four_ghz_settings_rxsop = -95` + "\n"
+ config += ` two_four_ghz_settings_valid_auto_channels = [1]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_settings_test.go b/internal/provider/data_source_meraki_wireless_settings_test.go
index 4884582..f42996d 100644
--- a/internal/provider/data_source_meraki_wireless_settings_test.go
+++ b/internal/provider/data_source_meraki_wireless_settings_test.go
@@ -77,14 +77,14 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessSettingsConfig() string {
config := `resource "meraki_wireless_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` ipv6_bridge_enabled = true` + "\n"
- config += ` led_lights_on = true` + "\n"
- config += ` location_analytics_enabled = false` + "\n"
- config += ` meshing_enabled = true` + "\n"
- config += ` upgrade_strategy = "minimizeUpgradeTime"` + "\n"
- config += ` named_vlans_pool_dhcp_monitoring_duration = 5` + "\n"
- config += ` named_vlans_pool_dhcp_monitoring_enabled = false` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` ipv6_bridge_enabled = true` + "\n"
+ config += ` led_lights_on = true` + "\n"
+ config += ` location_analytics_enabled = false` + "\n"
+ config += ` meshing_enabled = true` + "\n"
+ config += ` upgrade_strategy = "minimizeUpgradeTime"` + "\n"
+ config += ` named_vlans_pool_dhcp_monitoring_duration = 5` + "\n"
+ config += ` named_vlans_pool_dhcp_monitoring_enabled = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_bonjour_forwarding_test.go b/internal/provider/data_source_meraki_wireless_ssid_bonjour_forwarding_test.go
index 4cc902c..835182c 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_bonjour_forwarding_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_bonjour_forwarding_test.go
@@ -80,15 +80,15 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDBonjourForwardingConfig() string {
config := `resource "meraki_wireless_ssid_bonjour_forwarding" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` exception_enabled = false` + "\n"
- config += ` rules = [{` + "\n"
- config += ` description = "A simple bonjour rule"` + "\n"
- config += ` vlan_id = "1"` + "\n"
- config += ` services = ["All Services"]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` exception_enabled = false` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` description = "A simple bonjour rule"` + "\n"
+ config += ` vlan_id = "1"` + "\n"
+ config += ` services = ["All Services"]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_device_type_group_policies_test.go b/internal/provider/data_source_meraki_wireless_ssid_device_type_group_policies_test.go
index e99c6b5..08e0dbb 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_device_type_group_policies_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_device_type_group_policies_test.go
@@ -78,13 +78,13 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDDeviceTypeGroupPoliciesConfig() string {
config := `resource "meraki_wireless_ssid_device_type_group_policies" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` device_type_policies = [{` + "\n"
- config += ` device_policy = "Allowed"` + "\n"
- config += ` device_type = "Android"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` device_type_policies = [{` + "\n"
+ config += ` device_policy = "Allowed"` + "\n"
+ config += ` device_type = "Android"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_eap_override_test.go b/internal/provider/data_source_meraki_wireless_ssid_eap_override_test.go
index 339a16f..3b8f475 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_eap_override_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_eap_override_test.go
@@ -81,14 +81,14 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDEAPOverrideConfig() string {
config := `resource "meraki_wireless_ssid_eap_override" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` max_retries = 5` + "\n"
- config += ` timeout = 5` + "\n"
- config += ` eapol_key_retries = 4` + "\n"
- config += ` eapol_key_timeout_in_ms = 5000` + "\n"
- config += ` identity_retries = 5` + "\n"
- config += ` identity_timeout = 5` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` max_retries = 5` + "\n"
+ config += ` timeout = 5` + "\n"
+ config += ` eapol_key_retries = 4` + "\n"
+ config += ` eapol_key_timeout_in_ms = 5000` + "\n"
+ config += ` identity_retries = 5` + "\n"
+ config += ` identity_timeout = 5` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_hotspot_20_test.go b/internal/provider/data_source_meraki_wireless_ssid_hotspot_20_test.go
index 83f771f..75dda20 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_hotspot_20_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_hotspot_20_test.go
@@ -85,30 +85,30 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDHotspot20Config() string {
config := `resource "meraki_wireless_ssid_hotspot_20" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` network_access_type = "Private network"` + "\n"
- config += ` operator_name = "Meraki Product Management"` + "\n"
- config += ` venue_name = "SF Branch"` + "\n"
- config += ` venue_type = "Unspecified Assembly"` + "\n"
- config += ` domains = ["meraki.local"]` + "\n"
- config += ` mcc_mncs = [{` + "\n"
- config += ` mcc = "123"` + "\n"
- config += ` mnc = "456"` + "\n"
- config += ` }]` + "\n"
- config += ` nai_realms = [{` + "\n"
- config += ` format = "1"` + "\n"
- config += ` realm = ""` + "\n"
- config += ` methods = [{` + "\n"
- config += ` id = "1"` + "\n"
- config += ` authentication_types_non_eap_inner_authentication = ["MSCHAPV2"]` + "\n"
- config += ` authentication_types_eap_inner_authentication = ["EAP-TLS"]` + "\n"
- config += ` authentication_types_credentials = ["SIM"]` + "\n"
- config += ` authentication_types_tunneled_eap_method_credentials = ["USIM"]` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
- config += ` roam_consort_ois = ["ABC123"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` network_access_type = "Private network"` + "\n"
+ config += ` operator_name = "Meraki Product Management"` + "\n"
+ config += ` venue_name = "SF Branch"` + "\n"
+ config += ` venue_type = "Unspecified Assembly"` + "\n"
+ config += ` domains = ["meraki.local"]` + "\n"
+ config += ` mcc_mncs = [{` + "\n"
+ config += ` mcc = "123"` + "\n"
+ config += ` mnc = "456"` + "\n"
+ config += ` }]` + "\n"
+ config += ` nai_realms = [{` + "\n"
+ config += ` format = "1"` + "\n"
+ config += ` realm = ""` + "\n"
+ config += ` methods = [{` + "\n"
+ config += ` id = "1"` + "\n"
+ config += ` authentication_types_non_eap_inner_authentication = ["MSCHAPV2"]` + "\n"
+ config += ` authentication_types_eap_inner_authentication = ["EAP-TLS"]` + "\n"
+ config += ` authentication_types_credentials = ["SIM"]` + "\n"
+ config += ` authentication_types_tunneled_eap_method_credentials = ["USIM"]` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
+ config += ` roam_consort_ois = ["ABC123"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_identity_psk_test.go b/internal/provider/data_source_meraki_wireless_ssid_identity_psk_test.go
index fc49a29..90e2c43 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_identity_psk_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_identity_psk_test.go
@@ -82,12 +82,12 @@ resource "meraki_network_group_policy" "test" {
func testAccDataSourceMerakiWirelessSSIDIdentityPSKConfig() string {
config := `resource "meraki_wireless_ssid_identity_psk" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` expires_at = "2018-02-11T00:00:00.090209Z"` + "\n"
- config += ` group_policy_id = meraki_network_group_policy.test.id` + "\n"
- config += ` name = "Sample Identity PSK"` + "\n"
- config += ` passphrase = "Cisco123"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` expires_at = "2018-02-11T00:00:00.090209Z"` + "\n"
+ config += ` group_policy_id = meraki_network_group_policy.test.id` + "\n"
+ config += ` name = "Sample Identity PSK"` + "\n"
+ config += ` passphrase = "Cisco123"` + "\n"
config += `}` + "\n"
config += `
@@ -103,12 +103,12 @@ func testAccDataSourceMerakiWirelessSSIDIdentityPSKConfig() string {
func testAccNamedDataSourceMerakiWirelessSSIDIdentityPSKConfig() string {
config := `resource "meraki_wireless_ssid_identity_psk" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` expires_at = "2018-02-11T00:00:00.090209Z"` + "\n"
- config += ` group_policy_id = meraki_network_group_policy.test.id` + "\n"
- config += ` name = "Sample Identity PSK"` + "\n"
- config += ` passphrase = "Cisco123"` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` expires_at = "2018-02-11T00:00:00.090209Z"` + "\n"
+ config += ` group_policy_id = meraki_network_group_policy.test.id` + "\n"
+ config += ` name = "Sample Identity PSK"` + "\n"
+ config += ` passphrase = "Cisco123"` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_l3_firewall_rules_test.go b/internal/provider/data_source_meraki_wireless_ssid_l3_firewall_rules_test.go
index fdb2008..8067bdc 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_l3_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_l3_firewall_rules_test.go
@@ -81,17 +81,17 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDL3FirewallRulesConfig() string {
config := `resource "meraki_wireless_ssid_l3_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` allow_lan_access = true` + "\n"
- config += ` rules = [{` + "\n"
- config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
- config += ` dest_cidr = "Any"` + "\n"
- config += ` dest_port = "443"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "tcp"` + "\n"
- config += ` ip_version = "ipv4"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` allow_lan_access = true` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` comment = "Allow TCP traffic to subnet with HTTP servers."` + "\n"
+ config += ` dest_cidr = "Any"` + "\n"
+ config += ` dest_port = "443"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "tcp"` + "\n"
+ config += ` ip_version = "ipv4"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_l7_firewall_rules_test.go b/internal/provider/data_source_meraki_wireless_ssid_l7_firewall_rules_test.go
index 3432e74..eab5d2d 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_l7_firewall_rules_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_l7_firewall_rules_test.go
@@ -78,13 +78,13 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDL7FirewallRulesConfig() string {
config := `resource "meraki_wireless_ssid_l7_firewall_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` rules = [{` + "\n"
- config += ` policy = "deny"` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` policy = "deny"` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_schedules_test.go b/internal/provider/data_source_meraki_wireless_ssid_schedules_test.go
index 2a97cd2..90eb869 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_schedules_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_schedules_test.go
@@ -80,15 +80,15 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDSchedulesConfig() string {
config := `resource "meraki_wireless_ssid_schedules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` enabled = true` + "\n"
- config += ` ranges = [{` + "\n"
- config += ` end_day = "Tuesday"` + "\n"
- config += ` end_time = "05:00:00"` + "\n"
- config += ` start_day = "Tuesday"` + "\n"
- config += ` start_time = "01:00:00"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` enabled = true` + "\n"
+ config += ` ranges = [{` + "\n"
+ config += ` end_day = "Tuesday"` + "\n"
+ config += ` end_time = "05:00:00"` + "\n"
+ config += ` start_day = "Tuesday"` + "\n"
+ config += ` start_time = "01:00:00"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_splash_settings_test.go b/internal/provider/data_source_meraki_wireless_ssid_splash_settings_test.go
index 5245447..910de65 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_splash_settings_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_splash_settings_test.go
@@ -89,22 +89,22 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDSplashSettingsConfig() string {
config := `resource "meraki_wireless_ssid_splash_settings" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` allow_simultaneous_logins = false` + "\n"
- config += ` block_all_traffic_before_sign_on = false` + "\n"
- config += ` controller_disconnection_behavior = "default"` + "\n"
- config += ` redirect_url = "https://example.com"` + "\n"
- config += ` splash_timeout = 1440` + "\n"
- config += ` use_redirect_url = true` + "\n"
- config += ` use_splash_url = false` + "\n"
- config += ` welcome_message = "Welcome!"` + "\n"
- config += ` billing_prepaid_access_fast_login_enabled = false` + "\n"
- config += ` billing_reply_to_email_address = "user@email.com"` + "\n"
- config += ` billing_free_access_duration_in_minutes = 20` + "\n"
- config += ` billing_free_access_enabled = false` + "\n"
- config += ` guest_sponsorship_duration_in_minutes = 30` + "\n"
- config += ` guest_sponsorship_guest_can_request_timeframe = false` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` allow_simultaneous_logins = false` + "\n"
+ config += ` block_all_traffic_before_sign_on = false` + "\n"
+ config += ` controller_disconnection_behavior = "default"` + "\n"
+ config += ` redirect_url = "https://example.com"` + "\n"
+ config += ` splash_timeout = 1440` + "\n"
+ config += ` use_redirect_url = true` + "\n"
+ config += ` use_splash_url = false` + "\n"
+ config += ` welcome_message = "Welcome!"` + "\n"
+ config += ` billing_prepaid_access_fast_login_enabled = false` + "\n"
+ config += ` billing_reply_to_email_address = "user@email.com"` + "\n"
+ config += ` billing_free_access_duration_in_minutes = 20` + "\n"
+ config += ` billing_free_access_enabled = false` + "\n"
+ config += ` guest_sponsorship_duration_in_minutes = 30` + "\n"
+ config += ` guest_sponsorship_guest_can_request_timeframe = false` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_test.go b/internal/provider/data_source_meraki_wireless_ssid_test.go
index d42b03b..34d4abb 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_test.go
@@ -96,34 +96,34 @@ resource "meraki_network" "test" {
func testAccDataSourceMerakiWirelessSSIDConfig() string {
config := `resource "meraki_wireless_ssid" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = "0"` + "\n"
- config += ` auth_mode = "psk"` + "\n"
- config += ` available_on_all_aps = false` + "\n"
- config += ` band_selection = "5 GHz band only"` + "\n"
- config += ` enabled = false` + "\n"
- config += ` encryption_mode = "wpa"` + "\n"
- config += ` ip_assignment_mode = "Bridge mode"` + "\n"
- config += ` lan_isolation_enabled = false` + "\n"
- config += ` mandatory_dhcp_enabled = false` + "\n"
- config += ` min_bitrate = 5.5` + "\n"
- config += ` name = "My SSID"` + "\n"
- config += ` per_client_bandwidth_limit_down = 0` + "\n"
- config += ` per_client_bandwidth_limit_up = 0` + "\n"
- config += ` per_ssid_bandwidth_limit_down = 0` + "\n"
- config += ` per_ssid_bandwidth_limit_up = 0` + "\n"
- config += ` psk = "deadbeef"` + "\n"
- config += ` splash_page = "Click-through splash page"` + "\n"
- config += ` use_vlan_tagging = false` + "\n"
- config += ` visible = false` + "\n"
- config += ` walled_garden_enabled = false` + "\n"
- config += ` wpa_encryption_mode = "WPA2 only"` + "\n"
- config += ` dot11r_adaptive = false` + "\n"
- config += ` dot11r_enabled = false` + "\n"
- config += ` dot11w_enabled = false` + "\n"
- config += ` dot11w_required = false` + "\n"
- config += ` speed_burst_enabled = false` + "\n"
- config += ` availability_tags = ["tag1"]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = "0"` + "\n"
+ config += ` auth_mode = "psk"` + "\n"
+ config += ` available_on_all_aps = false` + "\n"
+ config += ` band_selection = "5 GHz band only"` + "\n"
+ config += ` enabled = false` + "\n"
+ config += ` encryption_mode = "wpa"` + "\n"
+ config += ` ip_assignment_mode = "Bridge mode"` + "\n"
+ config += ` lan_isolation_enabled = false` + "\n"
+ config += ` mandatory_dhcp_enabled = false` + "\n"
+ config += ` min_bitrate = 5.5` + "\n"
+ config += ` name = "My SSID"` + "\n"
+ config += ` per_client_bandwidth_limit_down = 0` + "\n"
+ config += ` per_client_bandwidth_limit_up = 0` + "\n"
+ config += ` per_ssid_bandwidth_limit_down = 0` + "\n"
+ config += ` per_ssid_bandwidth_limit_up = 0` + "\n"
+ config += ` psk = "deadbeef"` + "\n"
+ config += ` splash_page = "Click-through splash page"` + "\n"
+ config += ` use_vlan_tagging = false` + "\n"
+ config += ` visible = false` + "\n"
+ config += ` walled_garden_enabled = false` + "\n"
+ config += ` wpa_encryption_mode = "WPA2 only"` + "\n"
+ config += ` dot11r_adaptive = false` + "\n"
+ config += ` dot11r_enabled = false` + "\n"
+ config += ` dot11w_enabled = false` + "\n"
+ config += ` dot11w_required = false` + "\n"
+ config += ` speed_burst_enabled = false` + "\n"
+ config += ` availability_tags = ["tag1"]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_traffic_shaping_rules_test.go b/internal/provider/data_source_meraki_wireless_ssid_traffic_shaping_rules_test.go
index dbf86df..81513f9 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_traffic_shaping_rules_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_traffic_shaping_rules_test.go
@@ -84,21 +84,21 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDTrafficShapingRulesConfig() string {
config := `resource "meraki_wireless_ssid_traffic_shaping_rules" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` default_rules_enabled = true` + "\n"
- config += ` traffic_shaping_enabled = true` + "\n"
- config += ` rules = [{` + "\n"
- config += ` dscp_tag_value = 0` + "\n"
- config += ` pcp_tag_value = 0` + "\n"
- config += ` per_client_bandwidth_limits_settings = "custom"` + "\n"
- config += ` per_client_bandwidth_limits_bandwidth_limits_limit_down = 1000000` + "\n"
- config += ` per_client_bandwidth_limits_bandwidth_limits_limit_up = 1000000` + "\n"
- config += ` definitions = [{` + "\n"
- config += ` type = "host"` + "\n"
- config += ` value = "google.com"` + "\n"
- config += ` }]` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` default_rules_enabled = true` + "\n"
+ config += ` traffic_shaping_enabled = true` + "\n"
+ config += ` rules = [{` + "\n"
+ config += ` dscp_tag_value = 0` + "\n"
+ config += ` pcp_tag_value = 0` + "\n"
+ config += ` per_client_bandwidth_limits_settings = "custom"` + "\n"
+ config += ` per_client_bandwidth_limits_bandwidth_limits_limit_down = 1000000` + "\n"
+ config += ` per_client_bandwidth_limits_bandwidth_limits_limit_up = 1000000` + "\n"
+ config += ` definitions = [{` + "\n"
+ config += ` type = "host"` + "\n"
+ config += ` value = "google.com"` + "\n"
+ config += ` }]` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `
diff --git a/internal/provider/data_source_meraki_wireless_ssid_vpn_test.go b/internal/provider/data_source_meraki_wireless_ssid_vpn_test.go
index 375a731..178e390 100644
--- a/internal/provider/data_source_meraki_wireless_ssid_vpn_test.go
+++ b/internal/provider/data_source_meraki_wireless_ssid_vpn_test.go
@@ -89,21 +89,21 @@ resource "meraki_wireless_ssid" "test" {
func testAccDataSourceMerakiWirelessSSIDVPNConfig() string {
config := `resource "meraki_wireless_ssid_vpn" "test" {` + "\n"
- config += ` network_id = meraki_network.test.id` + "\n"
- config += ` number = meraki_wireless_ssid.test.id` + "\n"
- config += ` concentrator_network_id = meraki_network.test.id` + "\n"
- config += ` concentrator_vlan_id = 44` + "\n"
- config += ` failover_heartbeat_interval = 10` + "\n"
- config += ` failover_idle_timeout = 30` + "\n"
- config += ` failover_request_ip = "1.1.1.1"` + "\n"
- config += ` split_tunnel_enabled = true` + "\n"
- config += ` split_tunnel_rules = [{` + "\n"
- config += ` comment = "split tunnel rule 1"` + "\n"
- config += ` dest_cidr = "1.1.1.1/32"` + "\n"
- config += ` dest_port = "any"` + "\n"
- config += ` policy = "allow"` + "\n"
- config += ` protocol = "Any"` + "\n"
- config += ` }]` + "\n"
+ config += ` network_id = meraki_network.test.id` + "\n"
+ config += ` number = meraki_wireless_ssid.test.id` + "\n"
+ config += ` concentrator_network_id = meraki_network.test.id` + "\n"
+ config += ` concentrator_vlan_id = 44` + "\n"
+ config += ` failover_heartbeat_interval = 10` + "\n"
+ config += ` failover_idle_timeout = 30` + "\n"
+ config += ` failover_request_ip = "1.1.1.1"` + "\n"
+ config += ` split_tunnel_enabled = true` + "\n"
+ config += ` split_tunnel_rules = [{` + "\n"
+ config += ` comment = "split tunnel rule 1"` + "\n"
+ config += ` dest_cidr = "1.1.1.1/32"` + "\n"
+ config += ` dest_port = "any"` + "\n"
+ config += ` policy = "allow"` + "\n"
+ config += ` protocol = "Any"` + "\n"
+ config += ` }]` + "\n"
config += `}` + "\n"
config += `