Skip to content

Commit 939745a

Browse files
authored
azurerm_chaos_studio_capability - fix resource reference in test (hashicorp#28993)
1 parent c35ae45 commit 939745a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/services/chaosstudio/chaos_studio_capability_resource_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ provider "azurerm" {
112112
}
113113
114114
resource "azurerm_chaos_studio_capability" "another" {
115-
chaos_studio_target_id = azurerm_storage_account.test.id
115+
chaos_studio_target_id = azurerm_chaos_studio_target.test.id
116116
capability_type = "NetworkChaos-2.0"
117117
}
118118
119119
resource "azurerm_chaos_studio_capability" "test" {
120-
chaos_studio_target_id = azurerm_storage_account.test.id
120+
chaos_studio_target_id = azurerm_chaos_studio_target.test.id
121121
capability_type = "PodChaos-2.1"
122122
}
123123
`, r.template(data))

0 commit comments

Comments
 (0)