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

awx_job_template not wait for the first scm update of the awx_project to completed prior to it creation

Open survfate opened this issue 1 year ago • 1 comments

Hi

At the moment we are trying to using this provider to deploy our projects and templates in several AWX instances, and we notice that the default behavior of the awx_job_template is that it would not wait for the first scm update of the awx_project to completed prior to it creation, leading to cases where the awx_job_template creation failure (since at that time the playbook(s) of the projects still haven't been cloned/checked out yet.

Is this the intended behavior? Are the provider going to support some flag that ensure the latest job of /project_updates/ endpoint for that project is done before marking the awx_project as complete? Any recommended workaround at the moment?

I have checked the https://github.com/denouche/goawx/ repo but doesn't seem like the client support doing that yet.

survfate avatar Aug 09 '23 13:08 survfate