Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump lacework provider version to 2.0 #1678

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lwgenerate/aws/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ var requiredProvidersWithCustomBlock = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
backend "s3" {
Expand All @@ -436,7 +436,7 @@ var requiredProviders = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down Expand Up @@ -569,7 +569,7 @@ var moduleImportAgentless = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down Expand Up @@ -613,7 +613,7 @@ var moduleImportAgentlessOrganization = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down Expand Up @@ -740,7 +740,7 @@ var moduleImportConfigWithProviderTags = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down Expand Up @@ -787,7 +787,7 @@ var moduleImportConfigWithMultipleAccounts = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions lwgenerate/aws_controltower/aws_controltower_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var moduleCloudtrailControlTowerBasic = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down Expand Up @@ -123,7 +123,7 @@ var moduleCloudtrailControlTowerWithAccountMappings = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lwgenerate/aws_eks_audit/aws_eks_audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ var requiredProviders = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
all_subscriptions = true
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
service_principal_id = module.az_ad_application.service_principal_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -21,12 +21,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
6 changes: 3 additions & 3 deletions lwgenerate/azure/test-data/activity-log-with-location.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
8 changes: 4 additions & 4 deletions lwgenerate/azure/test-data/activity_log_with_config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_config" {
source = "lacework/config/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
service_principal_id = module.az_ad_application.service_principal_id
Expand All @@ -31,7 +31,7 @@ module "az_config" {

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -18,12 +18,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_config" {
source = "lacework/config/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
service_principal_id = module.az_ad_application.service_principal_id
Expand All @@ -32,7 +32,7 @@ module "az_config" {

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_config" {
source = "lacework/config/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
service_principal_id = module.az_ad_application.service_principal_id
Expand All @@ -31,7 +31,7 @@ module "az_config" {

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -18,12 +18,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_config" {
source = "lacework/config/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
service_principal_id = module.az_ad_application.service_principal_id
Expand All @@ -32,7 +32,7 @@ module "az_config" {

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
backend "s3" {
Expand All @@ -19,12 +19,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_config" {
source = "lacework/config/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
service_principal_id = module.az_ad_application.service_principal_id
Expand All @@ -33,7 +33,7 @@ module "az_config" {

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
6 changes: 3 additions & 3 deletions lwgenerate/azure/test-data/activity_log_without_config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -17,12 +17,12 @@ provider "azurerm" {

module "az_ad_application" {
source = "lacework/ad-application/azure"
version = "~> 1.0"
version = "~> 2.0"
}

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 2.0"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
Expand Down
Loading
Loading