Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Oct 1, 2024
1 parent d046ad0 commit 5c9b560
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/infrastructure_access_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use this data source to retrieve all Infrastructure Access Targets.
data "cloudflare_infrastructure_access_targets" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
hostname_contains = "example"
ipv4 = "210.26.29.230"
ipv4 = "198.51.100.1"
}
# output the list of targets the data source contains
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/access_application.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ resource "cloudflare_access_application" "staging_app" {
# Infrastructure application configuration
resource "cloudflare_zero_trust_access_application" "infra-app-example" {
account_id = "0da42c8d2132a9ddaf714f9e7c920711"
account_id = "f037e56e89293a057740de681ac9abbe"
name = "infra-app"
type = "infrastructure"
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/access_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ 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"
account_id = "f037e56e89293a057740de681ac9abbe"
name = "infra-app-example-allow"
decision = "allow"
precedence = 1
Expand All @@ -76,7 +76,7 @@ resource "cloudflare_access_policy" "infra-app-example-allow" {
# Infrastructure application configuration for infra-app-example-allow
resource "cloudflare_zero_trust_access_application" "infra-app-example" {
account_id = "0da42c8d2132a9ddaf714f9e7c920711"
account_id = "f037e56e89293a057740de681ac9abbe"
name = "infra-app"
type = "infrastructure"
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/infrastructure_access_target.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ resource "cloudflare_infrastructure_access_target" "example" {
hostname = "example-target"
ip = {
ipv4 = {
ip_addr = "210.26.29.230"
ip_addr = "198.51.100.1"
virtual_network_id = "238dccd1-149b-463d-8228-560ab83a54fd"
}
ipv6 = {
ip_addr = "24c0:64e8:f0b4:8dbf:7104:72b0:ef8f:f5e0"
ip_addr = "2001:db8::"
virtual_network_id = "238dccd1-149b-463d-8228-560ab83a54fd"
}
}
Expand All @@ -32,7 +32,7 @@ resource "cloudflare_infrastructure_access_target" "ipv4_only_example" {
hostname = "example-ipv4-only"
ip = {
ipv4 = {
ip_addr = "210.26.29.230"
ip_addr = "198.51.100.1"
virtual_network_id = "238dccd1-149b-463d-8228-560ab83a54fd"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
data "cloudflare_infrastructure_access_targets" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
hostname_contains = "example"
ipv4 = "210.26.29.230"
ipv4 = "198.51.100.1"
}

# output the list of targets the data source contains
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "cloudflare_access_application" "staging_app" {

# Infrastructure application configuration
resource "cloudflare_zero_trust_access_application" "infra-app-example" {
account_id = "0da42c8d2132a9ddaf714f9e7c920711"
account_id = "f037e56e89293a057740de681ac9abbe"
name = "infra-app"
type = "infrastructure"

Expand Down
4 changes: 2 additions & 2 deletions examples/resources/cloudflare_access_policy/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ 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"
account_id = "f037e56e89293a057740de681ac9abbe"
name = "infra-app-example-allow"
decision = "allow"
precedence = 1
Expand All @@ -50,7 +50,7 @@ resource "cloudflare_access_policy" "infra-app-example-allow" {

# Infrastructure application configuration for infra-app-example-allow
resource "cloudflare_zero_trust_access_application" "infra-app-example" {
account_id = "0da42c8d2132a9ddaf714f9e7c920711"
account_id = "f037e56e89293a057740de681ac9abbe"
name = "infra-app"
type = "infrastructure"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ resource "cloudflare_infrastructure_access_target" "example" {
hostname = "example-target"
ip = {
ipv4 = {
ip_addr = "210.26.29.230"
ip_addr = "198.51.100.1"
virtual_network_id = "238dccd1-149b-463d-8228-560ab83a54fd"
}
ipv6 = {
ip_addr = "24c0:64e8:f0b4:8dbf:7104:72b0:ef8f:f5e0"
ip_addr = "2001:db8::"
virtual_network_id = "238dccd1-149b-463d-8228-560ab83a54fd"
}
}
Expand All @@ -18,7 +18,7 @@ resource "cloudflare_infrastructure_access_target" "ipv4_only_example" {
hostname = "example-ipv4-only"
ip = {
ipv4 = {
ip_addr = "210.26.29.230"
ip_addr = "198.51.100.1"
virtual_network_id = "238dccd1-149b-463d-8228-560ab83a54fd"
}
}
Expand Down

0 comments on commit 5c9b560

Please sign in to comment.