-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from cisco-open/develop
Develop
- Loading branch information
Showing
42 changed files
with
375 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/resources/meraki_networks_wireless_ssids_firewall_l3_firewall_rules/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
examples/samples/resources/adaptative_policy_groups/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.0-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry | ||
} | ||
} | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
resource "meraki_organizations_adaptive_policy_groups" "repro" { | ||
organization_id = "828099381482762270" | ||
description = "A repro" | ||
name = "pulumi testing 2" | ||
sgt = 1006 | ||
} |
24 changes: 24 additions & 0 deletions
24
examples/samples/resources/meraki_networks_appliance_vlans/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.0-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry | ||
} | ||
} | ||
} | ||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
variable "my_network_id" { | ||
type = string | ||
default = "*******" # Branch-1234 | ||
} | ||
resource "meraki_networks_appliance_vlans" "my_mx" { | ||
appliance_ip = "192.168.14.2" | ||
id = "14" | ||
name = "My VLAN" | ||
network_id = var.my_network_id | ||
subnet = "192.168.14.0/24" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.0-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
} | ||
} | ||
} | ||
|
||
|
||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
resource "meraki_networks_group_policies" "group_policy_byod" { | ||
name = "BYOD" | ||
network_id = "L_828099381482771185" | ||
vlan_tagging = { | ||
settings = "custom" | ||
vlan_id = "20" | ||
} | ||
} | ||
|
||
resource "meraki_networks_group_policies" "group_policy_guest" { | ||
depends_on = [ meraki_networks_group_policies.group_policy_byod ] | ||
name = "GUEST" | ||
network_id = "L_828099381482771185" | ||
vlan_tagging = { | ||
settings = "custom" | ||
vlan_id = "30" | ||
} | ||
} | ||
|
||
resource "meraki_networks_group_policies" "group_policy_pan" { | ||
depends_on = [ meraki_networks_group_policies.group_policy_guest ] | ||
name = "PAN" | ||
network_id = "L_828099381482771185" | ||
vlan_tagging = { | ||
settings = "custom" | ||
vlan_id = "15" | ||
} | ||
} | ||
|
||
resource "meraki_networks_group_policies" "group_policy_internal" { | ||
depends_on = [ meraki_networks_group_policies.group_policy_pan ] | ||
name = "INTERNAL 2" | ||
network_id = "L_828099381482771185" | ||
vlan_tagging = { | ||
settings = "custom" | ||
vlan_id = "5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
terraform { | ||
required_providers { | ||
meraki = { | ||
version = "0.2.0-alpha" | ||
source = "hashicorp.com/edu/meraki" | ||
# "hashicorp.com/edu/meraki" is the local built source, change to "cisco-en-programmability/meraki" to use downloaded version from registry | ||
} | ||
} | ||
} | ||
|
||
provider "meraki" { | ||
meraki_debug = "true" | ||
} | ||
|
||
resource "meraki_networks_wireless_ssids" "test" { | ||
network_id = "L_828099381482771185" | ||
number = 1 | ||
enabled = true | ||
name = "test 2" | ||
adult_content_filtering_enabled = false | ||
auth_mode = "psk" | ||
available_on_all_aps = true | ||
band_selection = "Dual band operation with Band Steering" | ||
ip_assignment_mode = "Bridge mode" | ||
psk = "<redacted>" | ||
encryption_mode = "wpa" | ||
wpa_encryption_mode = "WPA2 only" | ||
mandatory_dhcp_enabled = true | ||
default_vlan_id = "10" | ||
lan_isolation_enabled = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.