Skip to content

Commit 21d3771

Browse files
authored
chore: Update null and random providers (#228)
BREAKING CHANGE: `null` and `random` providers upgraded to `v3.x.x`.
1 parent 2237a3d commit 21d3771

File tree

11 files changed

+5
-107
lines changed

11 files changed

+5
-107
lines changed

examples/mssql-public/main.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google-beta" {
18-
version = ">= 3.1.0, <4.0.0"
19-
region = var.region
20-
}
21-
2217
module "mssql" {
2318
source = "../../modules/mssql"
2419
name = var.name

examples/mysql-ha/main.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
version = "~> 3.22"
19-
}
20-
21-
provider "null" {
22-
version = "~> 2.1"
23-
}
24-
25-
provider "random" {
26-
version = "~> 2.2"
27-
}
28-
2917
locals {
3018
read_replica_ip_configuration = {
3119
ipv4_enabled = true

examples/mysql-private/main.tf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
version = "~> 3.22"
19-
}
20-
21-
provider "google-beta" {
22-
version = "~> 3.22"
23-
}
24-
25-
provider "null" {
26-
version = "~> 2.1"
27-
}
28-
29-
provider "random" {
30-
version = "~> 2.2"
31-
}
32-
3317
resource "random_id" "suffix" {
3418
byte_length = 5
3519
}

examples/mysql-public/main.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
version = "~> 3.22"
19-
}
20-
21-
provider "null" {
22-
version = "~> 2.1"
23-
}
24-
25-
provider "random" {
26-
version = "~> 2.2"
27-
}
28-
2917
resource "random_id" "name" {
3018
byte_length = 2
3119
}

examples/postgresql-ha/main.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
version = "~> 3.22"
19-
}
20-
21-
provider "null" {
22-
version = "~> 2.1"
23-
}
24-
25-
provider "random" {
26-
version = "~> 2.2"
27-
}
2817

2918
locals {
3019
read_replica_ip_configuration = {

examples/postgresql-public-iam/main.tf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
version = "~> 3.22"
19-
}
20-
21-
provider "google-beta" {
22-
version = "~> 3.5"
23-
}
24-
25-
provider "null" {
26-
version = "~> 2.1"
27-
}
28-
29-
provider "random" {
30-
version = "~> 2.2"
31-
}
3217

3318
module "postgresql-db" {
3419
source = "../../modules/postgresql"

examples/postgresql-public/main.tf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
version = "~> 3.22"
19-
}
20-
21-
provider "google-beta" {
22-
version = "~> 3.5"
23-
}
24-
25-
provider "null" {
26-
version = "~> 2.1"
27-
}
28-
29-
provider "random" {
30-
version = "~> 2.2"
31-
}
3217

3318
module "postgresql-db" {
3419
source = "../../modules/postgresql"

modules/mysql/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ terraform {
1919
required_providers {
2020
null = {
2121
source = "hashicorp/null"
22-
version = "~> 2.1"
22+
version = "~> 3.1.0"
2323
}
2424
random = {
2525
source = "hashicorp/random"
26-
version = "~> 2.2"
26+
version = "~> 3.1.0"
2727
}
2828
google = {
2929
source = "hashicorp/google"

modules/postgresql/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ terraform {
1919
required_providers {
2020
null = {
2121
source = "hashicorp/null"
22-
version = "~> 2.1"
22+
version = "~> 3.1.0"
2323
}
2424
random = {
2525
source = "hashicorp/random"
26-
version = "~> 2.2"
26+
version = "~> 3.1.0"
2727
}
2828
google = {
2929
source = "hashicorp/google"

modules/private_service_access/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ terraform {
1919
required_providers {
2020
null = {
2121
source = "hashicorp/null"
22-
version = "~> 2.1"
22+
version = "~> 3.1.0"
2323
}
2424
google = {
2525
source = "hashicorp/google"

0 commit comments

Comments
 (0)