Loading...
Loading...
### Terraform Version ```shell Terraform v1.10.2 on darwin_arm64 + provider registry.terraform.io/hashicorp/local v2.5.2 ``` ### Terraform Configuration Files ```terraform resource "local_file" "this" { content = "並龎" filename = "${path.module}/output.txt" } ``` ### Debug Output https://gist.github.com/lijok/468052dd85e32282a79bbdae066a3e79 ### Expected Behavior The content in the `output.txt` file should be: `並龎` hexdump: `a9ef efb0 99ab` ### Actual Behavior The content in the `output.txt` file is `並龎` hexdump: `b8e4 e9a6 8ebe` ### Steps to Reproduce 1. `terraform init` 2. `terraform apply` ### Additional Context This is highly problematic as we're trying to upload minified js and the regex patterns inside of it are getting mangled to something that the destination doesn't recognize as utf-8 ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.