terraform-provider-spacelift icon indicating copy to clipboard operation
terraform-provider-spacelift copied to clipboard

Add tail option to spacelift_run resource

Open jwenz723 opened this issue 2 years ago • 0 comments

I have a terraform module which creates stacks in spacelift using the spacelift_stack terraform resource. I am trying to create an automated test for my module using the spacelift module registry. The test runs my module, which causes the child stacks to be created, but it does not automatically run the child stacks. In my test I would like to run the child stacks so that I can validate they are configured properly.

I am able to use the spacelift_run resource to trigger the child stacks to run, but there is not a way for me to know when the run has completed. I need to know when the run has completed so that my automated test can destroy the child stacks.

jwenz723 avatar Feb 08 '23 23:02 jwenz723