-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'doc_update' into 'master'
feat(doc-templates): added doc templates See merge request rackn/terraform-provider-drp!101
- Loading branch information
Showing
6 changed files
with
181 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
provider "drp" { | ||
username = "rocketskates" | ||
password = "r0cketsk8ts" | ||
endpoint = "https://192.168.1.93:8092" | ||
# token = will read from RS_TOKEN if set | ||
# key = will read from RS_KEY if set | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource "drp_machine" "one_random_node" { | ||
pool = k8s_pool | ||
allocate_workflow = universal_k8s_build | ||
deallocate_workflow = universal_k8s_decom | ||
timeout = "120m" | ||
add_profiles = ["admin_access_keys", "k8s_node_network_settings"] | ||
filters = ["Address=Ne()"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
page_title: "Digital Rebar (drp) Provider" | ||
description: |- | ||
Provider Information | ||
subcategory: "Infrastructure" | ||
--- | ||
# Digital Rebar (drp) Provider | ||
|
||
The Digital Rebar provider makes controlling Bare Metal simple, powerful and cloud-like. | ||
|
||
Manage physical servers, bare metal, virtual machines and cloud infrastructure via Terraform machines by leveraging Digital Rebar Machine Pools and Infrastructure PIpelines. These features provide powerful operational governance and transparency behind the scenes for infrastructure teams while keeping the Terraform "give me a machine" experience simple and cloud-like for development teams. | ||
|
||
Digital Rebar is a self-contained user-managed software platform: no external networking or cloud service is required. Further information about installing, licenses and operation of Digital Rebar can be found on the RackN websites: https://RackN.com/rebar. | ||
|
||
## Prerequisites & Usage | ||
|
||
You _must_ install Digital Rebar before using this provider. See https://portal.rackn.io for instructions. | ||
|
||
Integration documentation: https://docs.rackn.io/en/latest/doc/integrations/terraform.html | ||
|
||
Note: once installed, export `RS_KEY` environmental variable to define the "user:password" credentials (recommended over including the the plan provider stanza) | ||
|
||
{{ .SchemaMarkdown | trimspace }} | ||
|
||
## Provider Example | ||
|
||
{{ tffile "examples/provider/provider.tf" }} | ||
|
||
## Example of Complete tf File | ||
|
||
{{ tffile "examples/example.tf" }} | ||
|