/terraform-provider-graphql

Terraform GraphQL plugin to automate the full life-cycle of graphql api resources.

Primary LanguageGoMozilla Public License 2.0MPL-2.0

graphql provider

Terraform GraphQL Provider

Build Acceptance Tests E2E Test Release Release


Synopsis

A Terraform GraphQL provider to manage the full lifecyle of graphql based api resources.

Docs:

Click HERE to view the documentation site.

Testing this provider:

  • In the root of this project, run make fulltest This will build the plugin, and copy the binaries to the basic_test/terraform.d/* folder and run the E2E Test.

  • To run a test without a build, simply run make test

  • Run go test -v ./... to run the graphql package's internal unit & acceptance tests.

    NOTE: The acceptance tests utilize a mocked http response to simulate a graphql api. Therefore, TF_ACC is set automatically by the test init() functions.

License

MPL-2 - See the included LICENSE file for more details.