provider/azure: fixup storage service test
wrong region in fixture vs assertion
This commit is contained in:
parent
4981d7d28c
commit
860a0fcbf2
|
@ -21,7 +21,7 @@ func TestAccAzureStorageService(t *testing.T) {
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
testAccAzureStorageServiceExists(name),
|
testAccAzureStorageServiceExists(name),
|
||||||
resource.TestCheckResourceAttr(name, "name", "tftesting"),
|
resource.TestCheckResourceAttr(name, "name", "tftesting"),
|
||||||
resource.TestCheckResourceAttr(name, "location", "North Europe"),
|
resource.TestCheckResourceAttr(name, "location", "West US"),
|
||||||
resource.TestCheckResourceAttr(name, "description", "very descriptive"),
|
resource.TestCheckResourceAttr(name, "description", "very descriptive"),
|
||||||
resource.TestCheckResourceAttr(name, "account_type", "Standard_LRS"),
|
resource.TestCheckResourceAttr(name, "account_type", "Standard_LRS"),
|
||||||
),
|
),
|
||||||
|
@ -69,10 +69,10 @@ func testAccAzureStorageServiceDestroyed(s *terraform.State) error {
|
||||||
|
|
||||||
var testAccAzureStorageServiceConfig = `
|
var testAccAzureStorageServiceConfig = `
|
||||||
resource "azure_storage_service" "foo" {
|
resource "azure_storage_service" "foo" {
|
||||||
# NOTE: storage service names constrained to lowercase letters only.
|
# NOTE: storage service names constrained to lowercase letters only.
|
||||||
name = "tftesting"
|
name = "tftesting"
|
||||||
location = "West US"
|
location = "West US"
|
||||||
description = "very descriptive"
|
description = "very descriptive"
|
||||||
account_type = "Standard_LRS"
|
account_type = "Standard_LRS"
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue