Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure VM Scaleset provisioning: OS Profile password authentication even i have setup "disable_password_authentication = true" #1962

Closed
ghost opened this issue Sep 21, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2018

This issue was originally opened by @vijayakrishnarg1 as hashicorp/terraform#18912. It was migrated here as a result of the provider split. The original body of the issue is below.


resource "azurerm_virtual_machine" "test" {
name = "acctvm"
location = "West US"
resource_group_name = "${azurerm_resource_group.test.name}"
network_interface_ids = ["${azurerm_network_interface.test.id}"]
vm_size = "Standard_A0"

storage_image_reference {
publisher = "Canonical"
offer = "UbuntuServer"
sku = "14.04.2-LTS"
version = "latest"
}

storage_os_disk {
    name = "myosdisk1"
    vhd_uri = "${azurerm_storage_account.test.primary_blob_endpoint}${azurerm_storage_container.test.name}/myosdisk1.vhd"
    caching = "ReadWrite"
    create_option = "FromImage"
}

os_profile {
computer_name = "hostname%d"
admin_username = "testadmin"
admin_password = ""
}

os_profile_linux_config {
disable_password_authentication = true
}

}

@katbyte
Copy link
Collaborator

katbyte commented Sep 21, 2018

Hi @vijayakrishnarg1,

Going to close this as I believe it is a duplicate of #1956

@katbyte katbyte closed this as completed Sep 21, 2018
@ghost
Copy link
Author

ghost commented Mar 6, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant