Open ryehowell opened 1 month ago
I can confirm that the issue that I reported HERE still persists even after the fix. I'm still getting the same error
Hey,
What version of Terraform are you using?
What version of Terraform are you using ?
In my case, I tested with Terraform 1.9.3 and 1.9.5
What version of Terraform are you using ?
In my case, I tested with Terraform 1.9.3 and 1.9.5
Do you have some sort of alias or wrapper around the Terraform binary? I'm struggling to reproduce this issue. Is there a chance you could share an example of the output that is failing for you?
To be honest, it seems like the Terraform binary is not receiving the -no-color
parameter, as the JSON decode fails on the ANSI escape sequences. However, Terratest is passing that argument here.
Do you have some sort of alias or wrapper around the Terraform binary?
You are absolutely right, because I forgot to mention that in my case I'm using Terragrunt (v0.64.4) as a wrapper, Not sure if @ryehowell is using a wrapper as well or not.
I don't have access to my laptop now, but will try to share an example later if still needed.
What version of Terraform are you using ?
In my case, I tested with Terraform 1.9.3 and 1.9.5
Do you have some sort of alias or wrapper around the Terraform binary? I'm struggling to reproduce this issue. Is there a chance you could share an example of the output that is failing for you?
To be honest, it seems like the Terraform binary is not receiving the
-no-color
parameter, as the JSON decode fails on the ANSI escape sequences. However, Terratest is passing that argument here.
Yes, terragrunt is being used with the test execution.
What version of Terraform are you using ?
In my case, I tested with Terraform 1.9.3 and 1.9.5
Do you have some sort of alias or wrapper around the Terraform binary? I'm struggling to reproduce this issue. Is there a chance you could share an example of the output that is failing for you? To be honest, it seems like the Terraform binary is not receiving the
-no-color
parameter, as the JSON decode fails on the ANSI escape sequences. However, Terratest is passing that argument here.Yes, terragrunt is being used with the test execution.
You don’t have any custom alias in your shell for Terragrunt, right?
Can you confirm that when you are running the output, the Terraform binary is set to Terragrunt?
I have quite a few tests using outputs and cannot reproduce your issue. Is there a chance you could share the HCL output file (with mocked data) and the test showing how you are using the code?
Describe the bug When calling the
OutputRequired
function in theterraform/output
module, I am getting an Error:Received unexpected error: invalid character 'm' after array element
.This error looks to have been reported in this Issue, but continues to persist.
To Reproduce Run the following internal test Offending line
Result:
Expected behavior A clear and concise description of what you expected to happen.
Nice to have
Versions
Additional context
terratest
versionsv0.47.1
andv0.47.2
14.2.1 (23C71)
When debugging locally