Skip to content

Commit

Permalink
style: update aws and gcp templates
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
  • Loading branch information
afiune committed Apr 9, 2020
1 parent b71fa39 commit 3222ed6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 3222ed6

Please sign in to comment.