diff --git a/examples/Microsoft.AppPlatform_Spring_buildServices@2023-05-01-preview/main.tf b/examples/Microsoft.AppPlatform_Spring_buildServices@2023-05-01-preview/basic/main.tf similarity index 84% rename from examples/Microsoft.AppPlatform_Spring_buildServices@2023-05-01-preview/main.tf rename to examples/Microsoft.AppPlatform_Spring_buildServices@2023-05-01-preview/basic/main.tf index 5d5c3ca76..6668e5972 100644 --- a/examples/Microsoft.AppPlatform_Spring_buildServices@2023-05-01-preview/main.tf +++ b/examples/Microsoft.AppPlatform_Spring_buildServices@2023-05-01-preview/basic/main.tf @@ -60,3 +60,10 @@ resource "azapi_resource_action" "buildService" { response_export_values = ["*"] } +data "azapi_resource" "buildService" { + type = "Microsoft.AppPlatform/Spring/buildServices@2023-05-01-preview" + name = "default" + parent_id = azapi_resource.Spring.id + + depends_on = [azapi_resource_action.buildService] +}