diff --git a/aws/main.tf b/aws/main.tf index 254dd44..07ddc65 100644 --- a/aws/main.tf +++ b/aws/main.tf @@ -242,12 +242,12 @@ resource "aws_iam_role_policy_attachment" "lacework_crossaccount_iam_role_policy } provider "lacework" { - account = var.lacework_account - api_key = var.lacework_api_key + account = var.lacework_account + api_key = var.lacework_api_key api_secret = var.lacework_api_secret } -resource "lacework_integration_aws_cfg" "example" { +resource "lacework_integration_aws_cfg" "default" { name = var.lacework_integration_config_name credentials { role_arn = aws_iam_role.lacework_iam_role.arn diff --git a/gcp/main.tf b/gcp/main.tf index abc0046..e3296d2 100644 --- a/gcp/main.tf +++ b/gcp/main.tf @@ -178,7 +178,7 @@ provider "lacework" { api_secret = var.lacework_api_secret } -resource "lacework_integration_gcp_cfg" "gcp_cfg" { +resource "lacework_integration_gcp_cfg" "default" { name = var.lacework_integration_config_name enabled = true credentials { @@ -194,7 +194,7 @@ resource "lacework_integration_gcp_cfg" "gcp_cfg" { ] } -resource "lacework_integration_gcp_at" "gcp_at" { +resource "lacework_integration_gcp_at" "default" { name = var.lacework_integration_auditlog_name enabled = true credentials {