This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples implemented for network zone
- Loading branch information
Marco Santonastaso
committed
Jul 1, 2019
1 parent
d8be2a9
commit 2d4ca72
Showing
3 changed files
with
18 additions
and
0 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
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,5 @@ | ||
# okta_network_zone | ||
|
||
Represents an Okta Network Zone. [See Okta documentation for more details](https://developer.okta.com/docs/reference/api/zones/#zone-model). | ||
|
||
* Example of a simple network zone [can be found here](./basic.tf) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
resource "okta_network_zone" "ip_network_zone_example" { | ||
name = "IP Network Zone Example" | ||
type = "IP" | ||
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 = "Dynamic Network Zone Example" | ||
type = "DYNAMIC" | ||
dynamic_locations = [ "US", "AF-BGL" ] | ||
} |