terraform-provider-kaleido

command module
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

Kaleido Terraform Provider

Build & Unit Tests

make

Using

To install the provider from a local build with Terraform 0.14, configure your ~/.terraformrc with:

provider_installation {
  dev_overrides {
    "registry.terraform.io/kaleido/kaleido" = "/path/to/terraform-provider-kaleido"
  }
  direct {}
}

Examples

End to end example in examples/multi_region_with_b2b

Cross Compiling

make build-linux
make build-mac
make build-win

Acceptance Tests

Acceptance tests make actual calls to deploy and destroy resources. Any changes to the provider must pass acceptance tests.

export TF_ACC=true
export KALEIDO_API='https://control-stage.kaleido.io/api/v1'
export KALEIDO_API_KEY=XXXXXXX=
go test -v ./kaleido

Note unit tests are now being prioritized and the process of migrating acceptance tests to unit tests has been started in kaleido_service_test.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Jump to

Keyboard shortcuts

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