File tree Expand file tree Collapse file tree 10 files changed +45
-3
lines changed
subscription-multi-region
subscription-single-region Expand file tree Collapse file tree 10 files changed +45
-3
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ resource "azurerm_virtual_network" "example" {
8484module "lacework_azure_agentless_scanning_rg_and_vnet" {
8585 source = "lacework/agentless-scanning/azure"
8686
87+ # Specify your Lacework account name - only specify this in the global module.
88+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
89+ lacework_account = "my-org"
90+
8791 integration_level = "TENANT"
8892 global = true
8993 custom_network = tolist(azurerm_virtual_network.example.subnet)[0].id
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ this to succeed. */
5454module "lacework_azure_agentless_scanning_rg_and_vnet" {
5555 source = " ../.."
5656
57+ # Specify your Lacework account name - only specify this in the global module.
58+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
59+ lacework_account = " my-org"
60+
5761 integration_level = " TENANT"
5862 global = true
5963 custom_network = tolist (azurerm_virtual_network. example . subnet )[0 ]. id
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ terraform {
2323module "lacework_azure_agentless_scanning_subscription_us_west" {
2424 source = "lacework/agentless-scanning/azure"
2525
26+ # Replace with your Lacework account name.
27+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
28+ lacework_account = "my-org"
29+
2630 integration_level = "SUBSCRIPTION"
2731 global = true
2832 create_log_analytics_workspace = true
Original file line number Diff line number Diff line change 33module "lacework_azure_agentless_scanning_subscription_us_west" {
44 source = " ../.."
55
6+ # Specify your Lacework account name - only specify this in the global module.
7+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
8+ lacework_account = " my-org"
9+
610 integration_level = " SUBSCRIPTION"
711 global = true
812 create_log_analytics_workspace = true
Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ terraform {
2121module "lacework_azure_agentless_scanning_subscription_us_west" {
2222 source = "lacework/agentless-scanning/azure"
2323
24+ # Specify your Lacework account name - only specify this in the global module.
25+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
26+ lacework_account = "my-org"
27+
2428 integration_level = "SUBSCRIPTION"
2529 global = true
2630 create_log_analytics_workspace = true
2731 region = "West US"
28- scanning_subscription_id = "abcd-1234"
29- tenant_id = "efgh-5678"
3032 // specify which subscriptions to monitor - only do this in the global module
3133 included_subscriptions = ["/subscriptions/subscription-1", "/subscriptions/subscription-2"]
3234}
Original file line number Diff line number Diff line change 22module "lacework_azure_agentless_scanning_subscription_us_west" {
33 source = " ../.."
44
5+ # Specify your Lacework account name - only specify this in the global module.
6+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
7+ lacework_account = " my-org"
8+
59 integration_level = " SUBSCRIPTION"
610 global = true
711 create_log_analytics_workspace = true
812 region = " West US"
13+ // specify which subscriptions to monitor - only do this in the global module
914 included_subscriptions = [" /subscriptions/subscription-1" , " /subscriptions/subscription-2" ]
1015}
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ terraform {
3333module "lacework_azure_agentless_scanning_tenant_us_west" {
3434 source = "lacework/agentless-scanning/azure"
3535
36+ # Specify your Lacework account name - only specify this in the global module.
37+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
38+ lacework_account = "my-org"
39+
3640 integration_level = "TENANT"
3741 global = true
3842 create_log_analytics_workspace = true
Original file line number Diff line number Diff line change 33module "lacework_azure_agentless_scanning_tenant_us_west" {
44 source = " ../.."
55
6+ # Specify your Lacework account name - only specify this in the global module.
7+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
8+ lacework_account = " my-org"
9+
610 integration_level = " TENANT"
711 global = true
812 create_log_analytics_workspace = true
Original file line number Diff line number Diff line change @@ -27,9 +27,14 @@ provider "lacework" {}
2727module "lacework_azure_agentless_scanning_single_tenant" {
2828 source = "lacework/agentless-scanning/azure"
2929
30+ # Specify your Lacework account name - only specify this in the global module.
31+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
32+ lacework_account = "my-org"
33+
3034 global = true
3135 create_log_analytics_workspace = true
3236 integration_level = "tenant"
37+ region = "West US"
3338 tags = { "lw-example-tf" : "true" }
3439 scanning_subscription_id = "abcd-1234"
3540 tenant_id = "efgh-5678"
Original file line number Diff line number Diff line change @@ -5,9 +5,15 @@ provider "lacework" {}
55module "lacework_azure_agentless_scanning_single_tenant" {
66 source = " ../.."
77
8+ # Specify your Lacework account name - only specify this in the global module.
9+ # For example, 'my-org' is the account name in 'my-org.lacework.net'.
10+ lacework_account = " my-org"
11+
812 global = true
913 create_log_analytics_workspace = true
1014 integration_level = " tenant"
15+ region = " West US"
1116 tags = { " lw-example-tf" : " true" }
12- additional_environment_variables = [{name= " EXAMPLE_ENV_VAR" , value= " some_value" }]
17+ scanning_subscription_id = " abcd-1234"
18+ tenant_id = " efgh-5678"
1319}
You can’t perform that action at this time.
0 commit comments