Skip to content
This repository has been archived by the owner on May 21, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 1.19 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.19 KB

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 genDocumentuation && cd ..