Skip to content

Commit

Permalink
Merge pull request #6972 from lrxtom2/api_logger_fix
Browse files Browse the repository at this point in the history
Update test config in api_management_logger_resource_test
  • Loading branch information
tombuildsstuff authored May 18, 2020
2 parents d0a2519 + ab570bd commit 99e1ec1
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,23 +260,23 @@ resource "azurerm_resource_group" "test" {
resource "azurerm_eventhub_namespace" "test" {
name = "acctesteventhubnamespace-%d"
location = "azurerm_resource_group.test.location"
resource_group_name = "azurerm_resource_group.test.name"
sku_name = "Basic_1"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
sku = "Basic"
}
resource "azurerm_eventhub" "test" {
name = "acctesteventhub-%d"
namespace_name = "azurerm_eventhub_namespace.test.name"
resource_group_name = "azurerm_resource_group.test.name"
namespace_name = azurerm_eventhub_namespace.test.name
resource_group_name = azurerm_resource_group.test.name
partition_count = 2
message_retention = 1
}
resource "azurerm_api_management" "test" {
name = "acctestAM-%d"
location = "azurerm_resource_group.test.location"
resource_group_name = "azurerm_resource_group.test.name"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
publisher_name = "pub1"
publisher_email = "[email protected]"
Expand All @@ -285,12 +285,12 @@ resource "azurerm_api_management" "test" {
resource "azurerm_api_management_logger" "test" {
name = "acctestapimnglogger-%d"
api_management_name = "azurerm_api_management.test.name"
resource_group_name = "azurerm_resource_group.test.name"
api_management_name = azurerm_api_management.test.name
resource_group_name = azurerm_resource_group.test.name
eventhub {
name = "azurerm_eventhub.test.name"
connection_string = "azurerm_eventhub_namespace.test.default_primary_connection_string"
name = azurerm_eventhub.test.name
connection_string = azurerm_eventhub_namespace.test.default_primary_connection_string
}
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger, data.RandomInteger)
Expand Down Expand Up @@ -329,7 +329,7 @@ resource "azurerm_application_insights" "test" {
name = "acctestappinsights-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
application_type = "Other"
application_type = "other"
}
resource "azurerm_api_management" "test" {
Expand Down Expand Up @@ -369,7 +369,7 @@ resource "azurerm_application_insights" "test" {
name = "acctestappinsights-%d"
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
application_type = "Other"
application_type = "other"
}
resource "azurerm_api_management" "test" {
Expand Down

0 comments on commit 99e1ec1

Please sign in to comment.