delphix-integrations / terraform-provider-delphix

Repository for Delphix Terraform Provider built on DCT APIs.
https://integrations.delphix.com
11 stars 9 forks source link
data-as-code data-devops delphix golang infrastructure-automation programmable-data terraform

Terraform Provider Delphix

CodeQL Release Version

Terraform Provider for Delphix enables Terraform to create and manage Delphix Continuous Data & Continuous Compliance infrastructure using the Delphix Control Tower (DCT) APIs.

Full implementation directions can be found on the Delphix Ecosystem Documentation and Terraform Provider Registry.

Prerequisites

  1. Install Delphix Control Tower (DCT). For more information, visit the DCT documentation.
  2. Delphix Continuous Data and Continuous Compliance engines must be connected to DCT.
  3. An API key must be created for authenticating with DCT APIs. Refer to the DCT API keys documentation for more info.
  4. Additional infrastructure required for testing the provider operations. [e.g Hosts to be added as environments, dSources to create VDBs from]
  5. Development setup for Golang.

Getting Started (Development)

This guide covers the following

  1. Install IDE Visual Studio Code.

  2. Install guide for Golang.

  3. Install guide for GoReleaser.

  4. Install Go Plugin for VS Code.

  5. Install Terraform.

  6. Fork this repo and clone it locally. Switch to the develop branch which always heads to the latest development code.

  7. Run following command to create binaries:

    goreleaser release --skip-publish --snapshot --rm-dist

  8. Execute example main.tf file under /examples/ directory using the following commands:

        terraform init
        terraform plan
        terraform apply

Contributing

This project is currently not accepting external contributions.