Skip to content

pop/terraform-provider-onefuse

 
 

Repository files navigation

Terraform Provider for OneFuse

Terraform Provider for integrating with SovLabs OneFuse.

Requirements

  • Terraform 0.12.x
  • Go >= 1.14 (to build the provider plugin)

Building the provider

Clone repository to: $GOPATH/src/github.com/cloudboltsoftware/terraform-provider-onefuse

$ mkdir -p $GOPATH/src/github.com/CloudBoltSoftware
$ cd $GOPATH/src/github.com/CloudBoltSoftware
$ git clone https://github.com/CloudBoltSoftware/terraform-provider-onefuse.git

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/CloudBoltSoftware/terraform-provider-onefuse.git
$ make build

Using the provider

Sample Terraform Configuration

To get started with the Terraform Provider for SovLabs OneFuse, put the following into a file called main.tf.

Fill in the provider "onefuse" section with details about your SovLabs OneFuse instance.

provider "onefuse" {
  address     = "localhost"
  port        = "8000"
  user        = "admin"
  password    = "my-password"
  scheme      = "http"
  verify_ssl  = false
}

resource "onefuse_naming" "my-onefuse-name" {
  naming_policy_id        = "2"
  dns_suffix              = "sovlabs.net"
  workspace_id            = "6"
  template_properties     = {
      "ownerName"               = "[email protected]"
      "Environment"             = "dev"
      "OS"                      = "Linux"
      "Application"             = "Web Servers"
      "suffix"                  = "sovlabs.net"
      "tenant"                  =  "mytenant"
  }
}

Contributing

Interested in contributing? Wonderful!

  • If you spot a problem, or room for improvement, please create an issue.
  • If you are interested in fixing an issue, please make a pull request.
  • A CloudBolt Developer will review your submission within a few days.

For more information about contributing to Terraform Provider Onefuse, see CONTRIBUTING.md.

License

Terraform Provider Onefuse is licensed under Mozilla Public License 2.0. For more information see LICENSE

Packages

No packages published

Languages

  • Go 77.7%
  • Shell 16.6%
  • Makefile 5.7%