Open jrobison-sb opened 4 years ago
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
.
.
Community Note
Description
It's probably pretty common for infrastructure to depend upon the output of whatever CodePipeline is building. Such as if CodePipeline is building a Docker image which will be used by an ECS service.
It would be nice if Terraform was able to not only build a pipeline, but also wait for the pipeline to complete an execution (at least upon creation), similar to the way an
aws_autoscaling_group
useswait_for_capacity_timeout
to wait for instances inside the ASG to spin up. This would allow us to usedepends_on
in other resources which might need to consume the Docker image or whatever one is building with CodePipeline. Preferably this would be user-configurable the way thatwait_for_capacity_timeout
is, where the user can specify a timeout to wait or they can disable waiting altogether.Currently we accomplish this with
aws codepipeline get-pipeline-execution
hacky bash scripts run through aprovisioner
block, but it would be nice not to need those.New or Affected Resource(s)
Potential Terraform Configuration
Or: