Skip to content

Commit aca6da9

Browse files
authored
refactor: allows upgrading the google provider to 5.x (#84)
* Upgrade the google provider to 5.x The google v5 provider is out since October 2023 and provides much needed features for us. But we can't upgrade to it because of lacework. This allows lacework to work with google v5.x * Update versions.tf * Require lacework/service-account/gcp 2.0 * Missing newline made me miss the commit
1 parent 6deaa09 commit aca6da9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ essentialcontacts.googleapis.com
6666
| Name | Version |
6767
|------|---------|
6868
| <a name="provider_google"></a> [google](#provider\_google) | >= 4.4.0, < 5.0.0 |
69-
| <a name="provider_lacework"></a> [lacework](#provider\_lacework) | ~> 1.0 |
69+
| <a name="provider_lacework"></a> [lacework](#provider\_lacework) | ~> 2.0 |
7070
| <a name="provider_random"></a> [random](#provider\_random) | n/a |
7171
| <a name="provider_time"></a> [time](#provider\_time) | ~> 0.6 |
7272

@@ -121,4 +121,4 @@ essentialcontacts.googleapis.com
121121
|------|-------------|
122122
| <a name="output_service_account_name"></a> [service\_account\_name](#output\_service\_account\_name) | The Service Account name |
123123
| <a name="output_service_account_private_key"></a> [service\_account\_private\_key](#output\_service\_account\_private\_key) | The private key in JSON format, base64 encoded |
124-
<!-- END_TF_DOCS -->
124+
<!-- END_TF_DOCS -->

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ data "google_project" "selected" {
9898

9999
module "lacework_cfg_svc_account" {
100100
source = "lacework/service-account/gcp"
101-
version = "~> 1.0"
101+
version = "~> 2.0"
102102
create = var.use_existing_service_account ? false : true
103103
service_account_name = local.service_account_name
104104
project_id = local.project_id

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_version = ">= 0.14.0"
33

44
required_providers {
5-
google = ">= 4.4.0, < 5.0.0"
5+
google = ">= 4.4.0"
66
time = "~> 0.6"
77
lacework = {
88
source = "lacework/lacework"

0 commit comments

Comments
 (0)