ilijamt / terraform-provider-awx

A complete terraform provider for AWX
MIT License
6 stars 1 forks source link

Feature: Instance groups association with teams #94

Closed reshifirdous closed 6 months ago

reshifirdous commented 6 months ago

I would like to see if we could implement roles to team of type instance groups. I didnt find any documenation or any such examples that could point if this is already been developed, but as far as i check it seems we dont have it implemented yet. Would it be possible to get this included in the stack?

ilijamt commented 6 months ago

~Hi @reshifirdous can you point me to the API in question for association? I need to check.~

Found it I'll add it to the provider. Looks like it's the only one I missed, the object roles were added in version 23.5.1

ilijamt commented 6 months ago

https://github.com/ilijamt/terraform-provider-awx/blob/b9223490c7687b395d627efbdf7906dcd9e49c80/examples/roles/main.tf#L68-L79

ilijamt commented 6 months ago

You can try the new releases depending on which version you use.

Let me know if it works for you now?

reshifirdous commented 6 months ago

thanks a ton it did work i overlooked this example. i opened example section didnt paid attention at the end. i am testing things looks good so far. :) thanks once again for quick response