diff --git a/README.md b/README.md
index b779089..cba54fc 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Terraform module to create set of DNS records in Cloudflare Hosted Zone.
| Name | Version |
|------|---------|
-| [cloudflare](#provider\_cloudflare) | ~> 4.39 |
+| [cloudflare](#provider\_cloudflare) | ~> 4.41 |
@@ -29,7 +29,7 @@ Terraform module to create set of DNS records in Cloudflare Hosted Zone.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.3 |
-| [cloudflare](#requirement\_cloudflare) | ~> 4.39 |
+| [cloudflare](#requirement\_cloudflare) | ~> 4.41 |
diff --git a/modules/record_collection/README.md b/modules/record_collection/README.md
index 5715ca7..5781c63 100644
--- a/modules/record_collection/README.md
+++ b/modules/record_collection/README.md
@@ -8,13 +8,13 @@ Terraform submodule to create a list of Cloudflare DNS records grouped by type a
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.3 |
-| [cloudflare](#requirement\_cloudflare) | ~> 4.39 |
+| [cloudflare](#requirement\_cloudflare) | ~> 4.41 |
## Providers
| Name | Version |
|------|---------|
-| [cloudflare](#provider\_cloudflare) | ~> 4.39 |
+| [cloudflare](#provider\_cloudflare) | ~> 4.41 |
## Modules
diff --git a/modules/record_collection/outputs.tf b/modules/record_collection/outputs.tf
index 491ded5..fb7e05f 100644
--- a/modules/record_collection/outputs.tf
+++ b/modules/record_collection/outputs.tf
@@ -1,4 +1,4 @@
output "values" {
description = "Cloudflare Zone DNS Records"
- value = { for v in cloudflare_record.this : contains(keys(v), "value") ? v.value : v.data.value => { id = v.id, created = v.created_on } }
+ value = { for v in cloudflare_record.this : contains(keys(v), "content") ? v.content : v.data.value => { id = v.id, created = v.created_on } }
}
diff --git a/modules/record_collection/versions.tf b/modules/record_collection/versions.tf
index faf1f46..4fd6acc 100644
--- a/modules/record_collection/versions.tf
+++ b/modules/record_collection/versions.tf
@@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
- version = "~> 4.39"
+ version = "~> 4.41"
}
}
required_version = "~> 1.3"
diff --git a/versions.tf b/versions.tf
index faf1f46..4fd6acc 100644
--- a/versions.tf
+++ b/versions.tf
@@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
- version = "~> 4.39"
+ version = "~> 4.41"
}
}
required_version = "~> 1.3"