0cbe4d8efb
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. |
||
---|---|---|
.. | ||
remote | ||
shared | ||
ssh | ||
winrm | ||
communicator.go | ||
communicator_mock.go | ||
communicator_test.go |