terraform-provider-docker
terraform-provider-docker copied to clipboard
Allow chmod to be specified
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Proposal to allow specific permissions on file upload to be specified: https://github.com/kreuzwerker/terraform-provider-docker/blob/54685a5fb9b375961620d2c555c7f3925327112c/internal/provider/resource_docker_container_funcs.go#L466
On some aplications require specific permissions to be present on files eg 0600
New or Affected Resource(s)
- resource_docker_container
Potential Terraform Configuration
resource "docker_container" "foo_bar" {
upload {
content = file("${path.module}/foo.yaml")
file = "/bar.yaml"
permissions = "0600"
}
}
References
- #0000