forked from okta/terraform-provider-okta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbasic.tf
31 lines (28 loc) · 1.08 KB
/
basic.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
resource "okta_network_zone" "ip_network_zone_example" {
name = "testAcc_replace_with_uuid"
type = "IP"
status = "ACTIVE"
gateways = ["1.2.3.4/24", "2.3.4.5-2.3.4.15"]
proxies = ["2.2.3.4/24", "3.3.4.5-3.3.4.15"]
}
resource "okta_network_zone" "dynamic_network_zone_example" {
name = "testAcc_replace_with_uuid Dynamic"
type = "DYNAMIC"
status = "ACTIVE"
dynamic_locations = ["US", "AF-BGL"]
}
resource "okta_network_zone" "dynamic_proxy_example" {
name = "testAcc_replace_with_uuid Dynamic Proxy"
type = "DYNAMIC"
status = "ACTIVE"
usage = "BLOCKLIST"
dynamic_proxy_type = "TorAnonymizer"
}
resource "okta_network_zone" "dynamic_v2_network_zone_example" {
name = "testAcc_replace_with_uuid Dynamic V2"
type = "DYNAMIC_V2"
status = "ACTIVE"
dynamic_locations = ["US", "AF-BGL"]
ip_service_categories_include = ["ALL_IP_SERVICES"]
ip_service_categories_exclude = ["SURFSHARK_VPN"]
}