terraform/communicator
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
..
remote have remote.ExitError format errors and status 2018-03-23 11:36:57 -04:00
shared move connection block schema out of terraform core 2020-12-02 12:45:00 -05:00
ssh communicator/ssh: Fix crash with SSH bastion port 2021-05-10 11:46:07 -04:00
winrm update winrm communicator to use new types 2020-12-02 12:45:00 -05:00
communicator.go Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
communicator_mock.go udpate communicator package to use new types 2020-12-02 12:45:00 -05:00
communicator_test.go udpate communicator package to use new types 2020-12-02 12:45:00 -05:00