Skip to content

Commit 6971225

Browse files
authored
Alignment on Feature and Component names for Azure VM Workload Scanning Managed Containers (#64)
* Alignment * Naming change after protorepo changes
1 parent 3bcac74 commit 6971225

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

modules/vm-workload-scanning/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ resource "azurerm_role_assignment" "sysdig_vm_workload_scanning_acrpull_assignme
109109

110110
resource "sysdig_secure_cloud_auth_account_component" "azure_workload_scanning_component" {
111111
account_id = var.sysdig_secure_account_id
112-
type = "COMPONENT_VM_WORKLOAD_SCANNING"
112+
type = "COMPONENT_SERVICE_PRINCIPAL"
113113
instance = "secure-vm-workload-scanning"
114114
service_principal_metadata = jsonencode({
115115
azure = {

src/Main.java

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/examples/modular_organization/vm-workload-scanning-aca-aci.tf renamed to test/examples/modular_organization/workload-scanning-containers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "vm-workload-scanning" {
1313

1414
resource "sysdig_secure_cloud_auth_account_feature" "vm-workload-scanning-aca-aci" {
1515
account_id = module.onboarding.sysdig_secure_account_id
16-
type = "FEATURE_SECURE_VM_WORKLOAD_SCANNING_AZURE_ACA_ACI"
16+
type = "FEATURE_SECURE_WORKLOAD_SCANNING_CONTAINERS"
1717
enabled = true
1818
components = [module.vm-workload-scanning.service_principal_component_id]
1919
depends_on = [ module.vm-workload-scanning ]

test/examples/modular_single_subscription/vm-workload-scanning-aca-aci.tf renamed to test/examples/modular_single_subscription/workload-scanning-containers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "vm-workload-scanning" {
1313

1414
resource "sysdig_secure_cloud_auth_account_feature" "vm-workload-scanning-aca-aci" {
1515
account_id = module.onboarding.sysdig_secure_account_id
16-
type = "FEATURE_SECURE_VM_WORKLOAD_SCANNING_AZURE_ACA_ACI"
16+
type = "FEATURE_SECURE_WORKLOAD_SCANNING_CONTAINERS"
1717
enabled = true
1818
components = [module.vm-workload-scanning.service_principal_component_id]
1919
depends_on = [ module.vm-workload-scanning ]

0 commit comments

Comments
 (0)