Terraform Provider for integrating with OneFuse.
Note: Onefuse will drop support for Terraform 0.12.x after the release of Terraform Provider for OneFuse 1.0.1.
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 install the provider's dependencies
$ cd $GOPATH/src/github.com/CloudBoltSoftware/terraform-provider-onefuse.git
$ make install
To build the provider binary, create the $HOME/.terraform.d/plugins/
directory and run the make install
command:
$ make build
$ mkdir $HOME/.terraform.d/plugins/
$ mv terraform-provider-onefuse_v* $HOME/.terraform.d/plugins/
Then copy the binary to your terraform plugins directory
You may want to use Make 4.3+ to ensure all make features work.
To get started with the Terraform Provider for OneFuse, put the following into a file called main.tf
.
Fill in the provider "onefuse"
section with details about your OneFuse instance.
provider "onefuse" {
address = "localhost"
port = "8000"
user = "admin"
password = "my-password"
scheme = "https"
verify_ssl = false
}
resource "onefuse_naming" "my-onefuse-name" {
naming_policy_id = "2"
dns_suffix = "company.com"
workspace_id = "6"
template_properties = {
"ownerName" = "jsmith@company.com"
"Environment" = "dev"
"OS" = "Linux"
"Application" = "Web Servers"
"suffix" = "company.com"
"tenant" = "mytenant"
}
}
To learn more, please visit our docs
- OneFuse DNS module support
- OneFuse IPAM module support
- OneFuse Microsoft Active Directory module support
- OneFuse Naming module support
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.
Terraform Provider Onefuse is licensed under Mozilla Public License 2.0. For more information see LICENSE