Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Terraform Apply step failure due to multi-line output #4998
Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.
Trying to save output to an output variable. When we have "normal" outputs, i.e.
However, when we have a multi-line output. This breaks the deploy step even though terraform ran to success.
What I expected to happen
To successfully handles multiline output variables
Steps to reproduce
Since Terraform feature was introduced in v2018.3
remove the newlines from the output variables