Support custom permissions mask for local state files #34949
Labels
enhancement
new
new issue not yet triaged
waiting-response
An issue/pull request is waiting for a response from the community
Terraform Version
Use Cases
As a Terraform user I want my state files containing sensitive information (eg: TLS key secrets) to be secured without being forced to upload them to a remote endpoint/bucket.
Attempted Solutions
The local backend does not provide a way to configure the permissions mask of the state files.
See https://developer.hashicorp.com/terraform/language/settings/backends/local
Proposal
Add a new attribute
permissions
to the local backend, accepting POSIX permissions mask.Example:
References
No response
The text was updated successfully, but these errors were encountered: