diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bfc722..2f4be12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## v0.7.0 + +* Updated for Terraform `1.1`. Removed `cloudflare` provider declaration. +* Updated for Cloudflare plugin `3.0`. + ## v0.6.0 * Updated for Terraform `0.15`. Removed `cloudflare` provider declaration. diff --git a/LICENSE b/LICENSE index 551a1c6..092de6d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2021 Bryant Luk +Copyright (c) 2022 Bryant Luk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index df5fc9c..910356d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ In your Terraform file: ``` module "example_fastmail-dns" { source = "bluk/fastmail-dns/cloudflare" - version = "0.6.0" + version = "0.7.0" zone_id = "1abcd" domain_name = "example.com" diff --git a/main.tf b/main.tf index 4cf9cbd..9a990b8 100644 --- a/main.tf +++ b/main.tf @@ -68,7 +68,7 @@ resource "cloudflare_record" "caldav_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "0" port = "0" @@ -86,7 +86,7 @@ resource "cloudflare_record" "caldavs_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "1" port = "443" @@ -104,7 +104,7 @@ resource "cloudflare_record" "carddav_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "0" port = "0" @@ -122,7 +122,7 @@ resource "cloudflare_record" "carddavs_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "1" port = "443" @@ -140,7 +140,7 @@ resource "cloudflare_record" "imap_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "0" port = "0" @@ -158,7 +158,7 @@ resource "cloudflare_record" "imaps_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "1" port = "993" @@ -176,7 +176,7 @@ resource "cloudflare_record" "pop3_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "0" port = "0" @@ -194,7 +194,7 @@ resource "cloudflare_record" "pop3s_tcp_srv" { ttl = var.ttl priority = "10" - data = { + data { priority = "10" weight = "1" port = "995" @@ -212,7 +212,7 @@ resource "cloudflare_record" "submission_tcp_srv" { ttl = var.ttl priority = "0" - data = { + data { priority = "0" weight = "1" port = "587" diff --git a/versions.tf b/versions.tf index 0e45fc3..15d6ecf 100644 --- a/versions.tf +++ b/versions.tf @@ -2,8 +2,8 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "~> 2.0" + version = "~> 3.0" } } - required_version = ">= 0.15" + required_version = ">= 1.1" }