terraform-provider-solaris

command module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 5 Imported by: 0

README

Solaris Terraform Provider

Test

Release

[Terraform Registry

A Terraform provider, the tool for provisioning all your static resources using the Solaris API.

📝 Read the documentation

👀 See example/

Supported Resources

Using the provider

The provider can be installed directly from the Terraform Registry. To do this, include the following block in your Terraform configuration file. This will download the provider from the Terraform Registry.

provider "solaris" {
  endpoint = var.solaris_endpoint
  client_id = var.solaris_client_id
  client_secret = var.solaris_client_secret
}

You also have the option of setting those values through their respective environment variables:

  • SOLARIS_ENDPOINT
  • SOLARIS_CLIENT_ID
  • SOLARIS_CLIENT_ID_SECRET

For more information, check out the individual resource documents!

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
$ go install

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run make docs.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources. Usually they clean up after *themselves but if they fail, and warn about potential dirty states remotely, *please make sure to clean up manually.

$ make testacc

License

This software is distributed under the terms of the MIT license, see LICENSE for details.

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