Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Update for Terraform 1.1 and Cloudflare 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bluk committed Jan 7, 2022
1 parent 6d64dd6 commit 6150ccd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
18 changes: 9 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "cloudflare_record" "caldav_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "0"
port = "0"
Expand All @@ -86,7 +86,7 @@ resource "cloudflare_record" "caldavs_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "1"
port = "443"
Expand All @@ -104,7 +104,7 @@ resource "cloudflare_record" "carddav_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "0"
port = "0"
Expand All @@ -122,7 +122,7 @@ resource "cloudflare_record" "carddavs_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "1"
port = "443"
Expand All @@ -140,7 +140,7 @@ resource "cloudflare_record" "imap_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "0"
port = "0"
Expand All @@ -158,7 +158,7 @@ resource "cloudflare_record" "imaps_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "1"
port = "993"
Expand All @@ -176,7 +176,7 @@ resource "cloudflare_record" "pop3_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "0"
port = "0"
Expand All @@ -194,7 +194,7 @@ resource "cloudflare_record" "pop3s_tcp_srv" {
ttl = var.ttl
priority = "10"

data = {
data {
priority = "10"
weight = "1"
port = "995"
Expand All @@ -212,7 +212,7 @@ resource "cloudflare_record" "submission_tcp_srv" {
ttl = var.ttl
priority = "0"

data = {
data {
priority = "0"
weight = "1"
port = "587"
Expand Down
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 6150ccd

Please sign in to comment.