terraform/website/docs/language/resources/provisioners
Martin Atkins 087c2f06ee website: Documentation of how provisioners upload files
We recently made a change to how provisioners upload files in order to
address an unintended remote code execution vector when using SSH, which
revealed that we had not previously documented well enough the expected
contract for how provisioners upload files to remote systems, and so some
users were depending on unintended consequences of the the bug now fixed.

We are retaining the fix on security-related grounds, but this is a good
prompt to be clearer in the docs about what exactly Terraform is doing
when asked to upload files over SSH and WinRM, so users can understand
what is supported and write their configurations accordingly.

This also includes an additional section to the v1.1 upgrade guide, since
we apparently neglected to document this intentional breaking change in
the first draft of that page.

Of course, provisioners as a whole remain a last resort, and so we're
documenting this as hopefully a helpful aid to those who have no other
option, and not meaning in any way to recommend their use for any new
use-cases.
2022-01-06 13:04:55 -08:00
..
chef.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
connection.mdx website: Documentation of how provisioners upload files 2022-01-06 13:04:55 -08:00
file.mdx website: Documentation of how provisioners upload files 2022-01-06 13:04:55 -08:00
habitat.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
index.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
local-exec.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
null_resource.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
puppet.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
remote-exec.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
salt-masterless.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00
syntax.mdx migrate docs to mdx 2021-12-14 18:41:17 -08:00