github.com/hashicorp/packer@v1.14.3/website/content/partials/packer-plugin-sdk/communicator/WinRM-not-required.mdx (about)

     1  <!-- Code generated from the comments of the WinRM struct in communicator/config.go; DO NOT EDIT MANUALLY -->
     2  
     3  - `winrm_username` (string) - The username to use to connect to WinRM.
     4  
     5  - `winrm_password` (string) - The password to use to connect to WinRM.
     6  
     7  - `winrm_host` (string) - The address for WinRM to connect to.
     8    
     9    NOTE: If using an Amazon EBS builder, you can specify the interface
    10    WinRM connects to via
    11    [`ssh_interface`](/packer/plugins/builders/amazon/ebs#ssh_interface)
    12  
    13  - `winrm_no_proxy` (bool) - Setting this to `true` adds the remote
    14    `host:port` to the `NO_PROXY` environment variable. This has the effect of
    15    bypassing any configured proxies when connecting to the remote host.
    16    Default to `false`.
    17  
    18  - `winrm_port` (int) - The WinRM port to connect to. This defaults to `5985` for plain
    19    unencrypted connection and `5986` for SSL when `winrm_use_ssl` is set to
    20    true.
    21  
    22  - `winrm_timeout` (duration string | ex: "1h5m2s") - The amount of time to wait for WinRM to become available. This defaults
    23    to `30m` since setting up a Windows machine generally takes a long time.
    24  
    25  - `winrm_use_ssl` (bool) - If `true`, use HTTPS for WinRM.
    26  
    27  - `winrm_insecure` (bool) - If `true`, do not check server certificate chain and host name.
    28  
    29  - `winrm_use_ntlm` (bool) - If `true`, NTLMv2 authentication (with session security) will be used
    30    for WinRM, rather than default (basic authentication), removing the
    31    requirement for basic authentication to be enabled within the target
    32    guest. Further reading for remote connection authentication can be found
    33    [here](https://msdn.microsoft.com/en-us/library/aa384295(v=vs.85).aspx).
    34  
    35  <!-- End of code generated from the comments of the WinRM struct in communicator/config.go; -->