-
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.
Merge pull request #15 from DopplerHQ/nic/new-resources
Add resources for Doppler projects, environments, configs, and service tokens
- Loading branch information
Showing
28 changed files
with
1,260 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
page_title: "doppler_config Resource - terraform-provider-doppler" | ||
subcategory: "" | ||
description: |- | ||
Manage a Doppler config. | ||
--- | ||
|
||
# doppler_config (Resource, Pre-Release) | ||
|
||
**This resource is in pre-release and is not intended to be used in production.** | ||
|
||
Manage a Doppler config. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "doppler_config" "backend_ci_github" { | ||
project = "backend" | ||
environment = "ci" | ||
name = "ci_github" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **environment** (String) The name of the Doppler environment where the config is located | ||
- **name** (String) The name of the Doppler config | ||
- **project** (String) The name of the Doppler project where the config is located | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. |
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,35 @@ | ||
--- | ||
page_title: "doppler_environment Resource - terraform-provider-doppler" | ||
subcategory: "" | ||
description: |- | ||
Manage a Doppler environment. | ||
--- | ||
|
||
# doppler_environment (Resource, Pre-Release) | ||
|
||
**This resource is in pre-release and is not intended to be used in production.** | ||
|
||
Manage a Doppler environment. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "doppler_environment" "backend_ci" { | ||
project = "backend" | ||
slug = "ci" | ||
name = "Continuous Integration" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) The name of the Doppler environment | ||
- **project** (String) The name of the Doppler project where the environment is located | ||
- **slug** (String) The slug of the Doppler environment | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. |
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,33 @@ | ||
--- | ||
page_title: "doppler_project Resource - terraform-provider-doppler" | ||
subcategory: "" | ||
description: |- | ||
Manage a Doppler project. | ||
--- | ||
|
||
# doppler_project (Resource, Pre-Release) | ||
|
||
**This resource is in pre-release and is not intended to be used in production.** | ||
|
||
Manage a Doppler project. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "doppler_project" "backend" { | ||
name = "backend" | ||
description = "The main backend project" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **name** (String) The name of the Doppler project | ||
|
||
### Optional | ||
|
||
- **description** (String) The description of the Doppler project | ||
- **id** (String) The ID of this resource. |
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,43 @@ | ||
--- | ||
page_title: "doppler_service_token Resource - terraform-provider-doppler" | ||
subcategory: "" | ||
description: |- | ||
Manage a Doppler service_token. | ||
--- | ||
|
||
# doppler_service_token (Resource, Pre-Release) | ||
|
||
**This resource is in pre-release and is not intended to be used in production.** | ||
|
||
Manage a Doppler service token. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "doppler_service_token" "backend_ci_token" { | ||
project = "backend" | ||
config = "ci" | ||
name = "Builder Token" | ||
access = "read" | ||
} | ||
# Service token key available as `doppler_service_token.backend_ci_token.key` | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **config** (String) The name of the Doppler config where the service token is located | ||
- **name** (String) The name of the Doppler service token | ||
- **project** (String) The name of the Doppler project where the service token is located | ||
|
||
### Optional | ||
|
||
- **access** (String) The access level (read or read/write) | ||
- **id** (String) The ID of this resource. | ||
|
||
### Read-Only | ||
|
||
- **key** (String, Sensitive) The key for the Doppler service token |
Oops, something went wrong.