f0rkz / terraform-provider-awx

Ansible AWX provider for Terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform Provider AWX

Fork from mrcrilly/terraform-provider-awx for develop additional functions

Coming soon.

Local Development

# Start a Local AWX deployed to a Kind
cd ./tools && go run mage.go -v reCreate && cd ..
# Build Provider
goreleaser build --snapshot --rm-dist

# Copy Provider
mkdir -p ~/.terraform.d/plugins/github.com/mrcrilly/awx/0.1/linux_amd64/terraform-provider-awx
find ./dist/terraform-provider-awx_linux_amd64/* -name 'terraform-provider-awx*' -print0 | xargs -0 -I {} mv {} ~/.terraform.d/plugins/github.com/mrcrilly/awx/0.1/linux_amd64/terraform-provider-awx

# start the Tests
go test ./test -count=1

# or as one command
goreleaser build --snapshot --rm-dist \
    && mkdir -p ~/.terraform.d/plugins/github.com/mrcrilly/awx/0.1/linux_amd64/ \
    && find ./dist/terraform-provider-awx_linux_amd64/* -name 'terraform-provider-awx*' -print0 | xargs -0 -I {} mv {} ~/.terraform.d/plugins/github.com/mrcrilly/awx/0.1/linux_amd64/terraform-provider-awx \
    && go test ./test -count=1

Documentation

The files from ./docs are generated by cd ./tools && go run mage.go -v genDocumentation && cd ..

About

Ansible AWX provider for Terraform


Languages

Language:Go 97.4%Language:Dockerfile 1.2%Language:Makefile 0.8%Language:Shell 0.6%