Typed resources for every AWX credential type
A generic credential resource works, and it puts the whole burden of knowing what goes inside on whoever writes the terraform.
A generic credential resource works, and it puts the whole burden of knowing what goes inside on whoever writes the terraform.
AWX hides POST on endpoints you have nothing to create against, so an empty instance hands back a schema that looks fine and is missing half its fields.
Every AWX quirk used to mean another branch in a template. Now it's a field on a config struct.
The AWX API describes every resource, so the provider is thirteen templates and a config file that says where the description lies.
AWX changes its API between releases, so the provider has to know which release it was generated from.
AWX describes its own resources if you send it an OPTIONS request, so writing the schemas by hand was work I did not need to do.