-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
74 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,26 @@ description: |- | |
|
||
# Spectro Cloud Provider | ||
|
||
The Spectro Cloud provider provides resources to interact with Spectro Cloud management API (SaaS or on-prem). | ||
|
||
The Spectro Cloud provider provides resources to interact with Spectro Cloud management API (SaaS or on-prem). Review the examples. | ||
## What is Spectro Cloud? | ||
|
||
The Spectro Cloud management platform brings the managed Kubernetes experience to users' own unique enterprise | ||
Kubernetes infrastructure stacks running in any public cloud, or private cloud environments, allowing users to | ||
not have to trade-off between flexibility and manageability. Spectro Cloud provides an as-a-service experience | ||
to users by automating the lifecycle of multiple Kubernetes clusters based on user-defined Kubernetes | ||
infrastructure stacks. | ||
|
||
## Spectro Cloud account | ||
|
||
This provider requires access to a valid Spectro Cloud account. | ||
|
||
If you haven't already, please signup for a free Spectro Cloud account here: [Spectro Cloud Signup](https://www.spectrocloud.com/free-trial/). | ||
|
||
## Example Usage | ||
|
||
Create a `providers.tf` file with the following | ||
|
||
```terraform | ||
terraform { | ||
required_providers { | ||
|
@@ -30,6 +45,24 @@ provider "spectrocloud" { | |
} | ||
``` | ||
|
||
Create or append to a `terraform.tfvars` file: | ||
|
||
```terraform | ||
# Credentials | ||
host = "console.spectrocloud.com" | ||
username = "[email protected]" # Username of the user (or specify with SPECTROCLOUD_USERNAME env var) | ||
password = "superSecure1!" # Password of the user (or specify with SPECTROCLOUD_PASSWORD env var) | ||
project_name = "Default" # Project name (e.g: Default) | ||
``` | ||
|
||
-> Be sure to populate the `username`, `password`, and other terraform vars. | ||
|
||
|
||
Next, initialize terraform using: | ||
|
||
terraform init | ||
|
||
|
||
## Schema | ||
|
||
### Required | ||
|
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