diff --git a/README.md b/README.md index 7d3aa9f..9c3b8aa 100644 --- a/README.md +++ b/README.md @@ -13,15 +13,15 @@ A Terraform Module to configure the Lacework Agentless Scanner. |------|---------| | [terraform](#requirement\_terraform) | >= 1.5 | | [google](#requirement\_google) | >= 4.46 | -| [lacework](#requirement\_lacework) | ~> 1.18 | +| [lacework](#requirement\_lacework) | ~> 1.19 | ## Providers | Name | Version | |------|---------| -| [google](#provider\_google) | >= 4.46 | -| [lacework](#provider\_lacework) | ~> 1.18 | -| [random](#provider\_random) | n/a | +| [google](#provider\_google) | 4.84.0 | +| [lacework](#provider\_lacework) | 1.15.1 | +| [random](#provider\_random) | 3.5.1 | | [terraform](#provider\_terraform) | n/a | ## Modules diff --git a/examples/custom-vpc-network/main.tf b/examples/custom-vpc-network/main.tf index 12c2dc2..0a8039a 100644 --- a/examples/custom-vpc-network/main.tf +++ b/examples/custom-vpc-network/main.tf @@ -69,12 +69,13 @@ module "lacework_gcp_agentless_scanning_project_multi_region_use1" { project_filter_list = local.project_filter_list - global = true - regional = true + global = true + regional = true + organization_id = "your_organization_id" custom_vpc_subnet = google_compute_subnetwork.awls_subnet_1.id # example: passing an environment variable to the cloud run task - additional_environment_variables = [{name="EXAMPLE_ENV_VAR", value="something"}] + additional_environment_variables = [{ name = "EXAMPLE_ENV_VAR", value = "something" }] } module "lacework_gcp_agentless_scanning_project_multi_region_usc1" { @@ -84,11 +85,13 @@ module "lacework_gcp_agentless_scanning_project_multi_region_usc1" { google = google.usc1 } - regional = true + regional = true + organization_id = "your_organization_id" + global_module_reference = module.lacework_gcp_agentless_scanning_project_multi_region_use1 custom_vpc_subnet = google_compute_subnetwork.awls_subnet_2.id # example: how to pass an environment variable to a cloud task - additional_environment_variables = [{name="EXAMPLE_ENV_VAR", value="something"}] + additional_environment_variables = [{ name = "EXAMPLE_ENV_VAR", value = "something" }] } diff --git a/examples/custom-vpc-network/versions.tf b/examples/custom-vpc-network/versions.tf index 9a7746c..2379487 100644 --- a/examples/custom-vpc-network/versions.tf +++ b/examples/custom-vpc-network/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.5" required_providers { lacework = { diff --git a/examples/org-level-multi-region/versions.tf b/examples/org-level-multi-region/versions.tf index 9a7746c..2379487 100644 --- a/examples/org-level-multi-region/versions.tf +++ b/examples/org-level-multi-region/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.5" required_providers { lacework = { diff --git a/examples/org-level-single-region/versions.tf b/examples/org-level-single-region/versions.tf index 9a7746c..2379487 100644 --- a/examples/org-level-single-region/versions.tf +++ b/examples/org-level-single-region/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.5" required_providers { lacework = { diff --git a/examples/project-level-multi-region/main.tf b/examples/project-level-multi-region/main.tf index 648068f..fb703bc 100644 --- a/examples/project-level-multi-region/main.tf +++ b/examples/project-level-multi-region/main.tf @@ -26,8 +26,10 @@ module "lacework_gcp_agentless_scanning_project_multi_region_use1" { project_filter_list = local.project_filter_list - global = true - regional = true + global = true + regional = true + organization_id = "your_organization_id" + lacework_integration_name = "agentless_from_terraform" } @@ -38,6 +40,8 @@ module "lacework_gcp_agentless_scanning_project_multi_region_usc1" { google = google.usc1 } - regional = true + regional = true + organization_id = "your_organization_id" + global_module_reference = module.lacework_gcp_agentless_scanning_project_multi_region_use1 } diff --git a/examples/project-level-multi-region/versions.tf b/examples/project-level-multi-region/versions.tf index 9a7746c..2379487 100644 --- a/examples/project-level-multi-region/versions.tf +++ b/examples/project-level-multi-region/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.5" required_providers { lacework = { diff --git a/examples/project-level-single-region/main.tf b/examples/project-level-single-region/main.tf index 36d4e8f..16410d5 100644 --- a/examples/project-level-single-region/main.tf +++ b/examples/project-level-single-region/main.tf @@ -12,7 +12,9 @@ module "lacework_gcp_agentless_scanning_project_single_region" { "monitored-project-2" ] - global = true - regional = true + global = true + regional = true + organization_id = "your_organization_id" + lacework_integration_name = "agentless_from_terraform" } diff --git a/examples/project-level-single-region/versions.tf b/examples/project-level-single-region/versions.tf index 9a7746c..2379487 100644 --- a/examples/project-level-single-region/versions.tf +++ b/examples/project-level-single-region/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.5" required_providers { lacework = { diff --git a/versions.tf b/versions.tf index e11251d..a160452 100644 --- a/versions.tf +++ b/versions.tf @@ -5,7 +5,7 @@ terraform { google = ">= 4.46" lacework = { source = "lacework/lacework" - version = "~> 1.18" + version = "~> 1.19" } } }