@@ -23,16 +23,16 @@ const vsiPatternTerraformDir = "patterns/vsi"
2323const resourceGroup = "geretain-test-resources"
2424
2525// Temp: the atracker_target ignore is being tracked in https://github.ibm.com/GoldenEye/issues/issues/4302
26- // The ACL ignores can be removed once we merge this PR (https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/pull/315)
2726var ignoreUpdates = []string {
28- "module.landing_zone.module.landing_zone.module.vpc[\" management\" ].ibm_is_network_acl.network_acl[\" management-acl\" ]" ,
29- "module.landing_zone.module.vpc[\" management\" ].ibm_is_network_acl.network_acl[\" management-acl\" ]" ,
30- "module.landing_zone.module.landing_zone.module.vpc[\" workload\" ].ibm_is_network_acl.network_acl[\" workload-acl\" ]" ,
31- "module.landing_zone.module.vpc[\" workload\" ].ibm_is_network_acl.network_acl[\" workload-acl\" ]" ,
3227 "module.landing_zone.module.landing_zone.ibm_atracker_target.atracker_target[0]" ,
3328 "module.landing_zone.ibm_atracker_target.atracker_target[0]" ,
3429}
3530
31+ // TODO: Remove after https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/pull/346 is merged
32+ var ignoreDestroys = []string {
33+ "module.landing_zone.ibm_resource_key.key[\" cos-bind-key\" ]" ,
34+ }
35+
3636var sharedInfoSvc * cloudinfo.CloudInfoService
3737
3838// TestMain will be run before any parallel tests, used to set up a shared InfoService object to track region usage
@@ -74,6 +74,9 @@ func setupOptions(t *testing.T, prefix string, dir string) *testhelper.TestOptio
7474 IgnoreUpdates : testhelper.Exemptions {
7575 List : ignoreUpdates ,
7676 },
77+ IgnoreDestroys : testhelper.Exemptions {
78+ List : ignoreDestroys ,
79+ },
7780 CloudInfoService : sharedInfoSvc ,
7881 })
7982
@@ -92,6 +95,9 @@ func setupOptions(t *testing.T, prefix string, dir string) *testhelper.TestOptio
9295 IgnoreUpdates : testhelper.Exemptions {
9396 List : ignoreUpdates ,
9497 },
98+ IgnoreDestroys : testhelper.Exemptions {
99+ List : ignoreDestroys ,
100+ },
95101 CloudInfoService : sharedInfoSvc ,
96102 })
97103
@@ -157,6 +163,9 @@ func setupOptionsRoksPattern(t *testing.T, prefix string) *testhelper.TestOption
157163 IgnoreUpdates : testhelper.Exemptions {
158164 List : ignoreUpdates ,
159165 },
166+ IgnoreDestroys : testhelper.Exemptions {
167+ List : ignoreDestroys ,
168+ },
160169 CloudInfoService : sharedInfoSvc ,
161170 })
162171
@@ -209,6 +218,9 @@ func setupOptionsVsiPattern(t *testing.T, prefix string) *testhelper.TestOptions
209218 IgnoreUpdates : testhelper.Exemptions {
210219 List : ignoreUpdates ,
211220 },
221+ IgnoreDestroys : testhelper.Exemptions {
222+ List : ignoreDestroys ,
223+ },
212224 CloudInfoService : sharedInfoSvc ,
213225 })
214226
0 commit comments