Return "To Be" Terraform State Data from validate-apply

Currently, the validate-apply API endpoint only returns a boolean success status.

Ideally, the API could return the changes that would be applied if the apply state was run based on the changes present in the Integration’s source, i.e., the output of the terraform plan comparing the current state to the changes.

It would be helpful for automation and CI/CD as external applications could see what changes were going to be applied without a user having to go into the web interface.

1 Like

you should be getting a return with both a success and an executionId.

image

You can then call the api endpoint for the execution.

/api/execution-request/27ea07df-12da-4051-9597-d4c898e07943

This will return the Terraform data in the stdOut

I think this achieves what the originally post was asking. I’ll set this to auto-close in 2 weeks if no-response.

This topic was automatically closed after 11 days. New replies are no longer allowed.