terraform-provider-confluent-cloud-datasource-connectors

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

terraform-provider-confluent-cloud-datasource-connectors

This is an experiment to read data from the Confluent Cloud API to determine whether a named connector exists or not.

Useful output is an argument .status containing either DEFINED or NOT_DEFINED

Project is heavily derived from confluent-terraform-provider

Example Usage

see testcase

deploy plugin locally for dev/test

https://stackoverflow.com/questions/68182628/terraform-use-local-provider-plugin

Terraform rc

cat <<EOF > ~/.terraformrc
provider_installation {
  filesystem_mirror {
    path    = "${HOME}/.terraform.d/plugins"
  }
  direct {
    exclude = ["terraform.local/*/*"]
  }
}
EOF

Directory for the plugin

mkdir -p ~/.terraform.d/plugins/terraform.local/local/confluent-cloud-datasource-connectors/0.0.2/linux_amd64/
ln -fs $(pwd)/terraform-provider-confluent-cloud-datasource-connectors_v0.0.2 ~/.terraform.d/plugins/terraform.local/local/confluent-cloud-datasource-connectors/0.0.2/linux_amd64/terraform-provider-confluent-cloud-datasource-connectors_v0.0.2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL