-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
621e98d
commit 2cbdc1f
Showing
17 changed files
with
103 additions
and
104 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
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 |
---|---|---|
|
@@ -26,9 +26,9 @@ a particular resource. | |
```terraform | ||
# Allowing access to `[email protected]` email address only | ||
resource "cloudflare_access_policy" "test_policy" { | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
include { | ||
email = ["[email protected]"] | ||
|
@@ -42,9 +42,9 @@ resource "cloudflare_access_policy" "test_policy" { | |
# Allowing `[email protected]` to access but only when coming from a | ||
# specific IP. | ||
resource "cloudflare_access_policy" "test_policy" { | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
include { | ||
email = ["[email protected]"] | ||
|
@@ -58,10 +58,10 @@ resource "cloudflare_access_policy" "test_policy" { | |
# Access policy for an infrastructure application | ||
resource "cloudflare_access_policy" "infra-app-example-allow" { | ||
application_id = cloudflare_zero_trust_access_application.infra-app-example.id | ||
account_id = "0da42c8d2132a9ddaf714f9e7c920711" | ||
name = "infra-app-example-allow" | ||
decision = "allow" | ||
precedence = 1 | ||
account_id = "0da42c8d2132a9ddaf714f9e7c920711" | ||
name = "infra-app-example-allow" | ||
decision = "allow" | ||
precedence = 1 | ||
include { | ||
email = ["[email protected]"] | ||
|
@@ -79,12 +79,12 @@ resource "cloudflare_zero_trust_access_application" "infra-app-example" { | |
account_id = "0da42c8d2132a9ddaf714f9e7c920711" | ||
name = "infra-app" | ||
type = "infrastructure" | ||
target_criteria { | ||
port = 22 | ||
protocol = "SSH" | ||
target_attributes { | ||
name = "hostname" | ||
name = "hostname" | ||
values = ["tfgo-tests-useast", "tfgo-tests-uswest"] | ||
} | ||
} | ||
|
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
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 |
---|---|---|
|
@@ -91,7 +91,7 @@ resource "cloudflare_list" "example" { | |
item { | ||
value { | ||
asn = 989 | ||
asn = 989 | ||
} | ||
comment = "two" | ||
} | ||
|
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
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
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
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
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 |
---|---|---|
|
@@ -26,9 +26,9 @@ a particular resource. | |
```terraform | ||
# Allowing access to `[email protected]` email address only | ||
resource "cloudflare_zero_trust_access_policy" "test_policy" { | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
include { | ||
email = ["[email protected]"] | ||
|
@@ -42,9 +42,9 @@ resource "cloudflare_zero_trust_access_policy" "test_policy" { | |
# Allowing `[email protected]` to access but only when coming from a | ||
# specific IP. | ||
resource "cloudflare_zero_trust_access_policy" "test_policy" { | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
account_id = "f037e56e89293a057740de681ac9abbe" | ||
name = "staging policy" | ||
decision = "allow" | ||
include { | ||
email = ["[email protected]"] | ||
|
Oops, something went wrong.