Hi,
I'm trying to provision a CIS baseline hardened server, which one of the requirements is to have /tmp mounted with noexec,nosuid but this breaks remote-exec provisioner.
Looks like the inline calls on remote-exec are not really "inline", they create a shell script on /tmp which is executed in the end by terraform, are my assumptions based on the problem I'm seeing true?
module.stack.ldap_config.null_resource.upload_ldap_certificates.1 (remote-exec): bash: /tmp/terraform_920505565.sh: Permission denied
module.stack.ldap_config.null_resource.upload_ldap_certificates.2 (remote-exec): bash: /tmp/terraform_605246161.sh: Permission denied
module.stack.ldap_config.null_resource.upload_ldap_certificates.0 (remote-exec): bash: /tmp/terraform_956533229.sh: Permission denied
Thanks,
Cassiano