-
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.
Chore: main page documentation (#355)
- Loading branch information
Showing
2 changed files
with
32 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 |
---|---|---|
@@ -1,4 +1,16 @@ | ||
# Terraform 0.13+ uses the Terraform Registry: | ||
|
||
terraform { | ||
required_providers { | ||
env0 = { | ||
source = "env0/env0" | ||
} | ||
} | ||
} | ||
|
||
# Configure the env0 provider | ||
|
||
provider "env0" { | ||
api_key = var.env0_api_key # or use ENV0_API_KEY | ||
api_secret = var.env0_api_secret # or use ENV0_API_SECRET | ||
api_key = var.env0_api_key | ||
api_secret = var.env0_api_secret | ||
} |
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,18 @@ | ||
--- | ||
layout: "" | ||
page_title: "Provider: env0" | ||
description: |- | ||
The env0 provider allows you to interact with the env0 API. | ||
--- | ||
|
||
# env0 Provider | ||
|
||
The [env0][https://www.env0.com] provider is used to interact with the resources supported by env0. The provider needs to be configured with proper credentials before it can be used. Please refer tho [this guide](https://developer.env0.com/docs/api/YXBpOjY4Njc2-env0-api#creating-an-api-key) on how to generate those credentials. | ||
|
||
Use the navigation to the left to read about the available resources. | ||
|
||
## Example Usage | ||
|
||
{{tffile "examples/provider/provider.tf"}} | ||
|
||
{{ .SchemaMarkdown | trimspace }} |