Open psmola opened 1 month ago
Problem is with new line \n - for some reason cause a error
Hi @psmola, thanks for creating this issue.
Couple questions for you:
.gitattributes
file. You can list your repo's current config with git config --list
.)It appears that carriage return characters ("\r") are being stripped at some point during the plan/apply. I'm not sure yet if this is a bug in Terraform, but in the meantime you should be able to work around it by stripping carriage returns yourself in the secrets file. This can be accomplished with the dos2unix
tool or any capable text editor. Once it's done, your line breaks should only consist of line feed characters ("\n").
I'll follow up on my end with some more investigation to see if this is something that can be fixed on our end.
Terraform Enterprise version
Terraform Enterprise v202404-2
Terraform version
Terraform Configuration Files
File ws_vcf_app_settings.hcl :
Debug Output
Expected Behavior
Terraform Enterprise variable is created
Actual Behavior
│ Error: Provider produced inconsistent result after apply
Additional Context
Variable is created if file do not contain value in hcl format