Skip to content

Commit 4f96c42

Browse files
Fix acc test
1 parent 5ff62de commit 4f96c42

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

sysdig/resource_sysdig_secure_cloud_auth_account_component_test.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestAccSecureCloudAuthAccountComponent(t *testing.T) {
3838
Config: secureAzureWithServicePrincipalComponent(accID),
3939
},
4040
{
41-
ResourceName: "sysdig_secure_cloud_auth_account_component.azure_service_principal",
41+
ResourceName: "sysdig_secure_cloud_auth_account.azure_sample",
4242
ImportState: true,
4343
ImportStateVerify: true,
4444
},
@@ -59,6 +59,12 @@ resource "sysdig_secure_cloud_auth_account" "azure_sample" {
5959
enabled = true
6060
provider_tenant_id = "%s"
6161
provider_alias = "some-alias"
62+
lifecycle {
63+
ignore_changes = [
64+
component,
65+
feature
66+
]
67+
}
6268
}
6369
6470
resource "sysdig_secure_cloud_auth_account_component" "azure_service_principal" {

0 commit comments

Comments
 (0)