-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(GROW-2819): split azuread/azurerm gen args
- Loading branch information
ipcrm
committed
May 31, 2024
1 parent
67c7bbc
commit 328709c
Showing
4 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
lwgenerate/azure/test-data/activity_log_with_config_azureadprovider_args.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
terraform { | ||
required_providers { | ||
lacework = { | ||
source = "lacework/lacework" | ||
version = "~> 1.0" | ||
} | ||
} | ||
} | ||
|
||
provider "azuread" { | ||
foo = "bar" | ||
} | ||
|
||
provider "azurerm" { | ||
features { | ||
} | ||
} | ||
|
||
module "az_ad_application" { | ||
source = "lacework/ad-application/azure" | ||
version = "~> 1.0" | ||
} | ||
|
||
module "az_config" { | ||
source = "lacework/config/azure" | ||
version = "~> 2.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 | ||
use_existing_ad_application = true | ||
} | ||
|
||
module "az_activity_log" { | ||
source = "lacework/activity-log/azure" | ||
version = "~> 2.0" | ||
application_id = module.az_ad_application.application_id | ||
application_password = module.az_ad_application.application_password | ||
infrastructure_encryption_enabled = true | ||
service_principal_id = module.az_ad_application.service_principal_id | ||
use_existing_ad_application = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ terraform { | |
} | ||
|
||
provider "azuread" { | ||
foo = "bar" | ||
} | ||
|
||
provider "azurerm" { | ||
|