terraform-provider-cphalo

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 3 Imported by: 0

README

Terraform provider for CloudPassage Halo

coverage report pipeline status mit license go report go doc contribute

The CloudPassage Halo provider is used to interact with CloudPassage Halo resources.

Acceptance tests run every night, to ensure the provider is working. Check the Pipeline status badge.

Requirements

  • Terraform 0.12.x
  • Go 1.12 (to build the provider plugin)

Note: If you need compatibility with older version of Terraform < v0.12, use provider version < v0.2.0.

Building the Provider

Clone repository

$ git clone git@gitlab.com:kiwicom/terraform-provider-cphalo.git

Enter the provider directory and build the provider

$ cd terraform-provider-cphalo
$ make build

You can then find binary in bin/current_system.

Running tests

The Terraform Provider has acceptance tests, these can run against CloudPassage Halo service. Credentials are required.
For more information on getting the credentials, consult the official docs of CloudPassage Halo.

AWS credentials are also needed, since tests need access to AWS to properly test CSP AWS account integration.

Create .env file

make .env

Fill .env with your credentials

And run tests

make testacc

Contributing

Contributions are always welcome. Pull requests have to pass the following checks:

  • lint make lint
  • tests make test
  • website make website-build
  • acceptance tests make testacc
  • build make release

For more information on existing tools use make help.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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