Skip to content

Commit

Permalink
chore(lwgenerate): bump GCP config module to ~> 2.0 (#814)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Jun 10, 2022
1 parent ca37520 commit 913740b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lwgenerate/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
HashAzureRMProviderVersion = "~> 2.91.0"

GcpConfigSource = "lacework/config/gcp"
GcpConfigVersion = "~> 1.0"
GcpConfigVersion = "~> 2.0"
GcpAuditLogSource = "lacework/audit-log/gcp"
GcpAuditLogVersion = "~> 2.0"
)
13 changes: 6 additions & 7 deletions lwgenerate/gcp/gcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ var moduleImportOrganizationLevelAuditLogWithoutConfiguration = `module "gcp_org
organization_id = "123456789"
}
`

var moduleImportOrganizationLevelAuditLogCustomIntegrationName = `module "gcp_organization_level_audit_log" {
source = "lacework/audit-log/gcp"
version = "~> 2.0"
Expand All @@ -527,13 +526,13 @@ var moduleImportOrganizationLevelAuditLogCustomIntegrationName = `module "gcp_or

var moduleImportProjectLevelConfiguration = `module "gcp_project_level_config" {
source = "lacework/config/gcp"
version = "~> 1.0"
version = "~> 2.0"
}
`

var moduleImportProjectLevelConfigurationExistingSA = `module "gcp_project_level_config" {
source = "lacework/config/gcp"
version = "~> 1.0"
version = "~> 2.0"
service_account_name = "foo"
service_account_private_key = "123456789"
use_existing_service_account = true
Expand All @@ -542,22 +541,22 @@ var moduleImportProjectLevelConfigurationExistingSA = `module "gcp_project_level

var moduleImportProjectLevelConfigurationCustomIntegrationName = `module "gcp_project_level_config" {
source = "lacework/config/gcp"
version = "~> 1.0"
version = "~> 2.0"
lacework_integration_name = "custom_integration_name"
}
`

var moduleImportOrganizationLevelConfiguration = `module "gcp_organization_level_config" {
source = "lacework/config/gcp"
version = "~> 1.0"
version = "~> 2.0"
org_integration = true
organization_id = "123456789"
}
`

var moduleImportOrganizationLevelConfigurationExistingSA = `module "gcp_organization_level_config" {
source = "lacework/config/gcp"
version = "~> 1.0"
version = "~> 2.0"
org_integration = true
organization_id = "123456789"
service_account_name = "foo"
Expand All @@ -568,7 +567,7 @@ var moduleImportOrganizationLevelConfigurationExistingSA = `module "gcp_organiza

var moduleImportOrganizationLevelConfigurationCustomIntegrationName = `module "gcp_organization_level_config" {
source = "lacework/config/gcp"
version = "~> 1.0"
version = "~> 2.0"
lacework_integration_name = "custom_integration_name"
org_integration = true
organization_id = "123456789"
Expand Down

0 comments on commit 913740b

Please sign in to comment.