Bug Fix: Terraform crashes during azurerm_container_service provisioning (#12516)
* Corrected referencing on sshKeys map * changed tests to use East US due to resource availability
This commit is contained in:
parent
5d894e4ffd
commit
c2a6625d0f
|
@ -360,7 +360,7 @@ func flattenAzureRmContainerServiceLinuxProfile(profile containerservice.LinuxPr
|
|||
}
|
||||
|
||||
values["admin_username"] = *profile.AdminUsername
|
||||
values["ssh_key"] = &sshKeys
|
||||
values["ssh_key"] = sshKeys
|
||||
profiles.Add(values)
|
||||
|
||||
return profiles
|
||||
|
|
|
@ -154,7 +154,7 @@ func TestAccAzureRMContainerService_swarmBasic(t *testing.T) {
|
|||
var testAccAzureRMContainerService_dcosBasic = `
|
||||
resource "azurerm_resource_group" "test" {
|
||||
name = "acctestRG-%d"
|
||||
location = "West US"
|
||||
location = "East US"
|
||||
}
|
||||
|
||||
resource "azurerm_container_service" "test" {
|
||||
|
@ -192,7 +192,7 @@ resource "azurerm_container_service" "test" {
|
|||
var testAccAzureRMContainerService_kubernetesBasic = `
|
||||
resource "azurerm_resource_group" "test" {
|
||||
name = "acctestRG-%d"
|
||||
location = "West US"
|
||||
location = "East US"
|
||||
}
|
||||
|
||||
resource "azurerm_container_service" "test" {
|
||||
|
@ -235,7 +235,7 @@ resource "azurerm_container_service" "test" {
|
|||
var testAccAzureRMContainerService_kubernetesComplete = `
|
||||
resource "azurerm_resource_group" "test" {
|
||||
name = "acctestRG-%d"
|
||||
location = "West US"
|
||||
location = "East US"
|
||||
}
|
||||
|
||||
resource "azurerm_container_service" "test" {
|
||||
|
@ -282,7 +282,7 @@ resource "azurerm_container_service" "test" {
|
|||
var testAccAzureRMContainerService_swarmBasic = `
|
||||
resource "azurerm_resource_group" "test" {
|
||||
name = "acctestRG-%d"
|
||||
location = "West US"
|
||||
location = "East US"
|
||||
}
|
||||
|
||||
resource "azurerm_container_service" "test" {
|
||||
|
|
Loading…
Reference in New Issue