Skip to content

Commit 9cff52a

Browse files
feat!: update TPG version constraints to allow 4.0, add Terraform 0.13 constraint (#258)
Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
1 parent bf1fc2f commit 9cff52a

File tree

13 files changed

+62
-40
lines changed

13 files changed

+62
-40
lines changed

examples/mssql-public/versions.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,5 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">= 0.12"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}

examples/mysql-ha/versions.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,5 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">=0.12.6"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}

examples/mysql-private/versions.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,5 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">=0.12.6"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}

examples/mysql-public/versions.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,5 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">=0.12.6"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}

examples/postgresql-ha/versions.tf

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,6 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">=0.12.6"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}
20-

examples/postgresql-public-iam/versions.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,5 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">=0.12.6"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}

examples/postgresql-public/versions.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,5 +15,11 @@
1515
*/
1616

1717
terraform {
18-
required_version = ">=0.12.6"
18+
required_providers {
19+
google-beta = {
20+
source = "hashicorp/google-beta"
21+
version = "~> 4.0"
22+
}
23+
}
24+
required_version = ">= 0.13"
1925
}

modules/mssql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ terraform {
2020

2121
google-beta = {
2222
source = "hashicorp/google-beta"
23-
version = "~> 3.60"
23+
version = ">= 3.60, < 5.0"
2424
}
2525
}
2626

modules/mysql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ terraform {
2727
}
2828
google = {
2929
source = "hashicorp/google"
30-
version = "~> 3.60"
30+
version = ">= 3.60, < 5.0"
3131
}
3232
}
3333

modules/postgresql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ terraform {
2727
}
2828
google = {
2929
source = "hashicorp/google"
30-
version = "~> 3.60"
30+
version = ">= 3.60, < 5.0"
3131
}
3232
}
3333

0 commit comments

Comments
 (0)