Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data_awx_workflow_job_template_node #35

Open
rmalchow opened this issue Apr 6, 2023 · 0 comments
Open

data_awx_workflow_job_template_node #35

rmalchow opened this issue Apr 6, 2023 · 0 comments

Comments

@rmalchow
Copy link

rmalchow commented Apr 6, 2023

hi,

we would like to be able to add and remove nodes in a workflow job template that was created outside of terraform. there is an api for that in AWX here:

/api/v2/workflow_job_templates/302/workflow_nodes/?page=1&page_size=200

so it seems it might be an easy addition?

here's what we would like to use:

data "awx_workflow_job_template_node" "existing_node" {
       workflow_job_template_id = NNN
       name = "example name"
}

resource "awx_workflow_job_template_node_success" "new_node" {
               workflow_job_template_id = NNN
               workflow_job_template_node_id = data.awx_workflow_job_template_node.existing_node.id
              [....]
}

would this be easily doable? it looks like yes, but the go foo is lacking on my side ...

regards

.rm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant