Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Resource : azurerm_storage_mover_agent #21273

Merged
Prev Previous commit
Next Next commit
updat code
sinbai committed Apr 13, 2023
commit bda7d85233c8f6c58b7909957421280d185900ea
Original file line number Diff line number Diff line change
@@ -226,20 +226,17 @@ resource "azurerm_linux_virtual_machine" "test" {
}
}

data "azurerm_hybrid_compute_machine" "test" {
name = azurerm_linux_virtual_machine.test.name
resource_group_name = azurerm_resource_group.test.name
depends_on = [
azurerm_linux_virtual_machine.test
]
}

resource "azurerm_storage_mover" "test" {
name = "acctest-ssm-%[1]d"
resource_group_name = azurerm_resource_group.test.name
location = azurerm_resource_group.test.location
}

data "azurerm_hybrid_compute_machine" "test" {
name = azurerm_linux_virtual_machine.test.name
resource_group_name = azurerm_resource_group.test.name
depends_on = [
data.azurerm_hybrid_compute_machine.test
azurerm_linux_virtual_machine.test, azurerm_storage_mover.test
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.