hashicorp / terraform-provider-azure-classic

Terraform Azure Classic (Service Management) provider
https://www.terraform.io/docs/providers/azure/
Mozilla Public License 2.0
2 stars 11 forks source link

azure (classic) provisioning with winrm wont work #24

Closed hashibot closed 6 years ago

hashibot commented 7 years ago

This issue was originally opened by @MattFenner as hashicorp/terraform#6733. It was migrated here as part of the provider split. The original body of the issue is below.


Hi, when ever i try to run a remote-exec or file provisioner it fails to work (i'm guessing they are both trying to use winrm). (havn't tried chef yet)

At the moment i am just using the marketplace image "Windows 8.1 Enterprise N (x64)".

i have opened all the endpoints that i think i should need in the tf file.

e.g.


    endpoint {
        name = "RDP"
        protocol = "tcp"
        public_port = 3389
        private_port = 3389
    }

    endpoint {
        name = "WinRM-SSL"
        protocol = "tcp"
        public_port = 5986
        private_port = 5986
    }

    endpoint {
        name = "WinRM"
        protocol = "tcp"
        public_port = 5985
        private_port = 5985
    }

also for good measure i have added

resource "azure_security_group_rule" "ait" {
    name = "allowall"
    security_group_names = ["${azure_security_group.ait.name}"]
    type = "Inbound"
    action = "Allow"
    priority = 200
    source_address_prefix = "*"
    source_port_range = "*"
    destination_address_prefix = "*"
    destination_port_range = "*"
    protocol = "TCP"
}

is there some modifications that i have to make to the base image to make this work, or should it just work out of the box?

vancluever commented 6 years ago

Hello!

Thank you for opening this issue and participating in the discussion. Today (December 19, 2017) we’ve announced the deprecation and archival of the Azure Classic Provider. Matching Microsoft’s commitment to gradually remove access to Azure Classic (or Service Management) which is outlined in this blog post, we are closing all open PR's and Issues here. This repository will remain available here on GitHub, but in an archived state, and no longer receiving support or new releases.

The Azure (Resource Manager) Provider remains fully supported and is our recommended approach for managing Azure with Terraform. More information about this process is available in the blog post linked above.

Thanks! The Terraform Team