GoogleCloudPlatform / terraform-provider-cdap

Custom Terraform Provider for CDAP
https://registry.terraform.io/providers/GoogleCloudPlatform/cdap/
Apache License 2.0
12 stars 12 forks source link
cdap terraform

Terraform CDAP Provider

This custom provider for Terraform can be used to manage a CDAP API (exposed for example by a GCP Cloud Data Fusion Instance) in an infra-as-code manner.

This is a community maintained provider and not an official Google or Hashicorp product.

GCP Data Fusion specific helpers and modules can be found in the corresponding Cloud Foundation Toolkit repo.

Documentation

Contributing

See CONTRIBUTING.md

Development

To build a local version of the provider, run go build -o ${test_dir} where test_dir is the path to a directory hosting test Terraform configs.

Releasing

Automated releases are handled by Github Actions.

  1. Choose a version. It should match the regex ^v[0-9]+\.[0-9]+\.[0-9]+$. That is, a leading "v", followed by three period-separated numbers.

    version="v0.1.0"
  2. Create the Git tag.

    For binaries:

    git tag -a "${version}" -m "${version}"
  3. Push the tag:

    git push origin --tags