Releases: f0rkz/terraform-provider-awx
v0.9.1
Projects were not able to be updated due to a constraint on local_path
. The API blocks updating the local_path
attribute if the scm_type
is anything other than the Manual
type. Not sure why you would even use Manual
, but it is what it is....Someone out there probably does!
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- General Fixes by @wdreeveii in #3
- Add resource and data entities for provisioning teams and role access by @wdreeveii in #2
- Note previous versions are incompatible starting at this version
Breaking changes
organisation
is replaced with the proper spelling:organization
New Contributors
- @wdreeveii made their first contribution in #2
- @wdreeveii enhanced the release with contribution in #3
Full Changelog: v0.8.1...v0.9.0
v0.8.1
This version supports both old and new options.
v1.0 will not have this backward compatibility built in. Please update your code (and awx)
Update inventory source
Important! Before upgrading to this new inventory source resource, remove instance_filter from your resources.
Feature: Add credential type resource and data source
This release adds the resource awx_credential_type
as well as a data source awx_credential_type
.
This is useful for configuring custom data types.
Example:
terraform {
required_providers {
awx = {
source = "f0rkz/awx"
version = "0.7.1"
}
}
}
provider "awx" {
hostname = "https://your-tower-host.com"
username = "someuser"
password = "somepassword"
}
data "awx_credential_type" "testing" {
id = awx_credential_type.testing.id
}
resource "awx_credential_type" "testing" {
name = "testing credential type"
description = "this is a test"
inputs = jsonencode(
{
"fields": [
{
"id": "db_hostname",
"type": "string",
"label": "Database Hostname foo"
},
{
"id": "db_name",
"type": "string",
"label": "Database Name"
},
{
"id": "db_username",
"type": "string",
"label": "Database Username"
},
{
"id": "db_password",
"type": "string",
"label": "Database Password",
"secret": true
}
],
"required": [
"db_hostname",
"db_username",
"db_password",
"db_name"
]
}
)
injectors = jsonencode(
{
"extra_vars": {
"db_hostname": "{{ db_hostname }}",
"db_name": "{{ db_name }}",
"db_password": "{{ db_password }}",
"db_username": "{{ db_username }}"
}
}
)
}
Feature release: Job template launching
This release adds the ability to launch a job template with job template ID:
data "awx_job_template" "foo" {
id = 5
}
resource "awx_job_template_launch" "initial" {
job_template_id = data.awx_job_template.foo.id
}
This will start a run of the template and store the job ID in the state file. Since there is no delete function on the launch endpoint, the "delete" resource is just a fudge.
v0.5.3
Update docs
v0.5.0
Generate the map
v0.3.0
Actions release