Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
update generated docs action committed May 1, 2022
1 parent ee54312 commit dbedc77
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0 Provider"
subcategory: ""
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

```terraform
# 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
}
```

Expand Down

0 comments on commit dbedc77

Please sign in to comment.