Skip to content

Commit

Permalink
5.0.0 reverted back to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Nov 21, 2024
1 parent 7116b89 commit baa7f6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/dns_records/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
resource "cloudflare_dns_record" "record" {
resource "cloudflare_record" "record" {
for_each = { for idx, name in var.names : idx => name }

zone_id = var.cloudflare_zone_id
content = var.dns
value = var.dns
name = each.value
type = var.type
ttl = 1
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/dns_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 = "~> 4.0"
}
}

Expand Down
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 = "~> 4.0"
}
}

Expand Down

0 comments on commit baa7f6d

Please sign in to comment.