Skip to content

Commit 2e23975

Browse files
committed
code format
1 parent 48cb267 commit 2e23975

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/services/apimanagement/api_management_gateway_workspace_connection_resource_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ provider "azurerm" {
8888
resource "azurerm_api_management_gateway_workspace_connection" "test" {
8989
name = "acctest-gc-%d"
9090
api_management_gateway_id = azurerm_api_management_standalone_gateway.test.id
91-
workspace_id = azurerm_api_management_workspace.test.id
91+
workspace_id = azurerm_api_management_workspace.test.id
9292
}
9393
`, r.template(data), data.RandomInteger)
9494
}
@@ -100,7 +100,7 @@ func (r ApiManagementGatewayWorkspaceConnectionResource) requiresImport(data acc
100100
resource "azurerm_api_management_gateway_workspace_connection" "import" {
101101
name = azurerm_api_management_gateway_workspace_connection.test.name
102102
api_management_gateway_id = azurerm_api_management_gateway_workspace_connection.test.api_management_gateway_id
103-
workspace_id = azurerm_api_management_gateway_workspace_connection.test.workspace_id
103+
workspace_id = azurerm_api_management_gateway_workspace_connection.test.workspace_id
104104
}
105105
`, r.basic(data))
106106
}
@@ -116,7 +116,7 @@ provider "azurerm" {
116116
resource "azurerm_api_management_gateway_workspace_connection" "test" {
117117
name = "acctest-gc-%d"
118118
api_management_gateway_id = azurerm_api_management_standalone_gateway.test.id
119-
workspace_id = azurerm_api_management_workspace.test.id
119+
workspace_id = azurerm_api_management_workspace.test.id
120120
121121
hostnames = [
122122
"example.com",

website/docs/r/api_management_gateway_workspace_connection.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource "azurerm_api_management_workspace" "example" {
4848
resource "azurerm_api_management_gateway_workspace_connection" "example" {
4949
name = "example-connection"
5050
api_management_gateway_id = azurerm_api_management_standalone_gateway.example.id
51-
source_id = azurerm_api_management_workspace.example.id
51+
workspace_id = azurerm_api_management_workspace.example.id
5252
}
5353
```
5454

0 commit comments

Comments
 (0)