Skip to content

Commit

Permalink
Upgrade to DigitalOcean Terraform provider v2.x
Browse files Browse the repository at this point in the history
* Remove deprecated `private_networking` parameter
  • Loading branch information
dghubble committed Jan 20, 2022
1 parent e274a45 commit 2d0f892
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Notable changes between versions.
* Allow arm64 full-cluster or mixed/hybrid cluster with arm64 workers
* Requires `flannel` or `cilium` CNI provider

### DigitalOcean

* Allow use of DigitalOcean Terraform provider [v2.x](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs)

## v1.23.1

* Kubernetes [v1.23.1](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#v1231)
Expand Down
1 change: 0 additions & 1 deletion digital-ocean/fedora-coreos/kubernetes/controllers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ resource "digitalocean_droplet" "controllers" {
size = var.controller_type

# network
private_networking = true
vpc_uuid = digitalocean_vpc.network.id
# TODO: Only official DigitalOcean images support IPv6
ipv6 = false
Expand Down
2 changes: 1 addition & 1 deletion digital-ocean/fedora-coreos/kubernetes/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {

digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 1.20"
version = ">= 2.12, < 3.0"
}
}
}
Expand Down
1 change: 0 additions & 1 deletion digital-ocean/fedora-coreos/kubernetes/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ resource "digitalocean_droplet" "workers" {
size = var.worker_type

# network
private_networking = true
vpc_uuid = digitalocean_vpc.network.id
# TODO: Only official DigitalOcean images support IPv6
ipv6 = false
Expand Down
1 change: 0 additions & 1 deletion digital-ocean/flatcar-linux/kubernetes/controllers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ resource "digitalocean_droplet" "controllers" {
size = var.controller_type

# network
private_networking = true
vpc_uuid = digitalocean_vpc.network.id
# TODO: Only official DigitalOcean images support IPv6
ipv6 = false
Expand Down
2 changes: 1 addition & 1 deletion digital-ocean/flatcar-linux/kubernetes/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {

digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 1.20"
version = ">= 2.12, < 3.0"
}
}
}
Expand Down
1 change: 0 additions & 1 deletion digital-ocean/flatcar-linux/kubernetes/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ resource "digitalocean_droplet" "workers" {
size = var.worker_type

# network
private_networking = true
vpc_uuid = digitalocean_vpc.network.id
# only official DigitalOcean images support IPv6
ipv6 = local.is_official_image
Expand Down

0 comments on commit 2d0f892

Please sign in to comment.