terraform/communicator/ssh
Alisdair McDiarmid 0cbe4d8efb communicator/ssh: Fix crash with SSH bastion port
The connection block schema defines the bastion_port argument as a
number, but we were incorrectly trying to convert it from a string. This
commit fixes that by attempting to convert the cty.Number to the int
result type, returning the error on failure.

An alternative approach would be to change the bastion_port argument in
the schema to be a string, matching the port argument. I'm less sure
about the secondary effects of that change, though.
2021-05-10 11:46:07 -04:00
..
communicator.go Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
communicator_test.go communicator/ssh: staticcheck 2020-12-02 13:59:19 -05:00
password.go Fix import formatting across code base 2016-04-18 17:28:46 -07:00
password_test.go communicator/ssh: staticcheck 2020-12-02 13:59:19 -05:00
provisioner.go communicator/ssh: Fix crash with SSH bastion port 2021-05-10 11:46:07 -04:00
provisioner_test.go communicator/ssh: Fix crash with SSH bastion port 2021-05-10 11:46:07 -04:00
ssh_test.go Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00