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 1 commit
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 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 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 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 Down
2 changes: 1 addition & 1 deletion 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 Down
2 changes: 1 addition & 1 deletion 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 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 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 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 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 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 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 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 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 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 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 Down
2 changes: 1 addition & 1 deletion lwgenerate/azure/test-data/customer-ad-details.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 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 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 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 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 Down
2 changes: 1 addition & 1 deletion lwgenerate/azure/test-data/renamed_activity_log.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 Down
2 changes: 1 addition & 1 deletion lwgenerate/azure/test-data/renamed_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 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 Down
2 changes: 1 addition & 1 deletion lwgenerate/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lwgenerate
// TODO update
const (
LaceworkProviderSource = "lacework/lacework"
LaceworkProviderVersion = "~> 1.0"
LaceworkProviderVersion = "~> 2.0"

AwsAgentlessSource = "lacework/agentless-scanning/aws"
AwsAgentlessVersion = "~> 0.6"
Expand Down
4 changes: 2 additions & 2 deletions lwgenerate/gcp/gcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ var RequiredProviders = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
}
Expand All @@ -814,7 +814,7 @@ var requiredProvidersWithCustomBlock = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = "~> 1.0"
version = "~> 2.0"
}
}
backend "s3" {
Expand Down
2 changes: 1 addition & 1 deletion lwgenerate/oci/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type GenerateOciTfConfigurationArgs struct {
type OciTerraformModifier func(c *GenerateOciTfConfigurationArgs)

const (
LaceworkProviderVersion = ">= 1.9.0"
LaceworkProviderVersion = "~> 2.0"
)

// Set the Lacework profile to use for integration
Expand Down
2 changes: 1 addition & 1 deletion lwgenerate/oci/oci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var ConfigResultBasic = `terraform {
required_providers {
lacework = {
source = "lacework/lacework"
version = ">= 1.9.0"
version = "~> 2.0"
}
}
}
Expand Down
Loading