Skip to content

Commit

Permalink
changed record to for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Nov 21, 2024
1 parent 2d491f7 commit 8c63ccd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/modules/records/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 5.0.0-alpha1"
version = "5.0.0-alpha1"
}
}
}
12 changes: 12 additions & 0 deletions terraform/modules/zero_trust_application/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
resource "cloudflare_zero_trust_access_application" "app" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
name = "staging application"
domain = "staging.example.com"
type = "self_hosted"
session_duration = "24h"
auto_redirect_to_identity = false
policies = [
cloudflare_zero_trust_access_policy.example_1.id,
cloudflare_zero_trust_access_policy.example_2.id
]
}
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 5.0.0-alpha1"
version = "5.0.0-alpha1"
}
}
}
Expand Down

0 comments on commit 8c63ccd

Please sign in to comment.