Skip to content

Releases: f0rkz/terraform-provider-awx

v0.9.1

14 Feb 18:14
Compare
Choose a tag to compare

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

09 Feb 03:46
Compare
Choose a tag to compare

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

Full Changelog: v0.8.1...v0.9.0

v0.8.1

04 Nov 15:20
Compare
Choose a tag to compare

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

04 Nov 14:48
Compare
Choose a tag to compare

Important! Before upgrading to this new inventory source resource, remove instance_filter from your resources.

Feature: Add credential type resource and data source

25 Oct 14:34
Compare
Choose a tag to compare

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

25 Aug 03:52
Compare
Choose a tag to compare

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

20 Aug 21:49
Compare
Choose a tag to compare
Update docs

v0.5.0

20 Aug 21:35
Compare
Choose a tag to compare
Generate the map

v0.3.0

17 Aug 22:20
Compare
Choose a tag to compare
Actions release