Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rackn/terraform-provider-drp
Terraform Provider for Digital Rebar Provision
https://github.com/rackn/terraform-provider-drp
bare-metal bare-metal-systems baremetal deployment infrastructure provisioning pxe terraform
Last synced: 15 days ago
JSON representation
Terraform Provider for Digital Rebar Provision
- Host: GitHub
- URL: https://github.com/rackn/terraform-provider-drp
- Owner: rackn
- License: other
- Created: 2017-08-08T19:39:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T16:27:27.000Z (about 1 year ago)
- Last Synced: 2024-10-22T05:20:53.272Z (16 days ago)
- Topics: bare-metal, bare-metal-systems, baremetal, deployment, infrastructure, provisioning, pxe, terraform
- Language: Go
- Homepage: http://rebar.digital
- Size: 305 KB
- Stars: 18
- Watchers: 10
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.rst
Awesome Lists containing this project
README
# Terraform Provider for Digital Rebar v4.4+
- Hashicorp Website: https://www.terraform.io
- RackN Website: https://rackn.com
- Digital Rebar: http://rackn.com/rebar## NOT Usage Documentation!
This page is about building, NOT about using, the provider! DRP Terraform Provider documentation is maintained with the project integrations documentation, please see https://docs.rackn.io/en/latest/doc/integrations/terraform.html
## Build Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.13.x
- [Go](https://golang.org/doc/install) 1.13 (to build the provider plugin)
- Digital Rebar terraform/[params] in system (can be imported from RackN content)## Building The Provider
Clone repository to: `$GOPATH/src/gitlab.com/rackn/terraform-provider-drp`
```sh
$ mkdir -p $GOPATH/src/gitlab.com/rackn; cd $GOPATH/src/gitlab.com/rackn
$ git clone [email protected]:rackn/terraform-provider-drp
```Enter the provider directory and build the provider
```sh
$ cd $GOPATH/src/gitlab.com/rackn/terraform-provider-drp
$ make build
```## Building The Provider (v0.13+)
v0.13+ requres use of the required_providers stanza for your your OS and architecture! Then it will infer the cache path. You must copy your build output to the correct cache path.
```sh
$ mkdir -p .terraform/plugins/rackn/drp/2.3.1/linux_amd64
$ ln -s bin/linux/amd64/terraform-provider-drp .terraform/plugins/rackn/drp/2.3.1/linux_amd64
```## Tests
At this time, no tests are available for the provider.
## Requirements for the Digital Rebar Provision (DRP) provider
DRP Terraform Provider documentation is maintained with the project integrations documentation, please see https://provision.readthedocs.io/en/tip/doc/integrations/terraform.html
The DRP Terraform Provider uses the DRP v4.4+ Pooling API to allocate and release
machines from pools.By design, the only limited state is exposed via this provider. This prevents Terraform state from overriding or changing DRP machine information.
The Terraform Provider update interactions are limited to the allocation/release methods.
The Terraform Provider can read additional fields ("computed" valutes) when requesting inventory. In this way, users find additional characteristics; however, these are
added to the provider carefully.# To create and upload the 3rd party registery
See registery/readme.md