Skip to content

Commit

Permalink
Alignment on Feature and Component names for Azure VM Workload Scanni…
Browse files Browse the repository at this point in the history
…ng Managed Containers (#64)

* Alignment

* Naming change after protorepo changes
  • Loading branch information
miguelpais authored Oct 1, 2024
1 parent 3bcac74 commit 6971225
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion modules/vm-workload-scanning/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ resource "azurerm_role_assignment" "sysdig_vm_workload_scanning_acrpull_assignme

resource "sysdig_secure_cloud_auth_account_component" "azure_workload_scanning_component" {
account_id = var.sysdig_secure_account_id
type = "COMPONENT_VM_WORKLOAD_SCANNING"
type = "COMPONENT_SERVICE_PRINCIPAL"
instance = "secure-vm-workload-scanning"
service_principal_metadata = jsonencode({
azure = {
Expand Down
5 changes: 0 additions & 5 deletions src/Main.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module "vm-workload-scanning" {

resource "sysdig_secure_cloud_auth_account_feature" "vm-workload-scanning-aca-aci" {
account_id = module.onboarding.sysdig_secure_account_id
type = "FEATURE_SECURE_VM_WORKLOAD_SCANNING_AZURE_ACA_ACI"
type = "FEATURE_SECURE_WORKLOAD_SCANNING_CONTAINERS"
enabled = true
components = [module.vm-workload-scanning.service_principal_component_id]
depends_on = [ module.vm-workload-scanning ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module "vm-workload-scanning" {

resource "sysdig_secure_cloud_auth_account_feature" "vm-workload-scanning-aca-aci" {
account_id = module.onboarding.sysdig_secure_account_id
type = "FEATURE_SECURE_VM_WORKLOAD_SCANNING_AZURE_ACA_ACI"
type = "FEATURE_SECURE_WORKLOAD_SCANNING_CONTAINERS"
enabled = true
components = [module.vm-workload-scanning.service_principal_component_id]
depends_on = [ module.vm-workload-scanning ]
Expand Down

0 comments on commit 6971225

Please sign in to comment.