Skip to content

Commit

Permalink
ci: add Azure integration as a test resource (#608)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Nov 16, 2021
1 parent 264b450 commit 5cab0ef
Showing 1 changed file with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ terraform {
}
}

provider "lacework" {
}

provider "lacework" {}
provider "aws" {}

provider "google" {
credentials = file("gcp.json")
}
provider "azuread" {}
provider "azurerm" {
subscription_id = var.az_subscription
features {}
}

resource "lacework_agent_access_token" "token" {
name = "codefresh-int-test-token"
Expand All @@ -33,7 +35,8 @@ resource "lacework_integration_docker_hub" "techally_dockerhub" {

# Lacework AWS config integration, required for go-sdk/integration/compliance_aws_test.go
module "aws_config" {
source = "lacework/config/aws"
source = "lacework/config/aws"

lacework_aws_account_id = var.lacework_aws_account_id
}

Expand All @@ -46,13 +49,6 @@ module "gcp_organization_level_config" {
project_id = var.project_id
}

# Lacework Azure config integration; currently our CI does not require Azure cloud integration
//provider "azuread" {}
//provider "azurerm" {
// subscription_id = var.az_subscription
// features {}
//}

//module "az_config" {
// source = "lacework/config/azure"
//}
module "az_config" {
source = "lacework/config/azure"
}

0 comments on commit 5cab0ef

Please sign in to comment.