-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doppler_secrets_sync_github_actions resource
- Loading branch information
Showing
3 changed files
with
131 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
page_title: "doppler_secrets_sync_github_actions Resource - terraform-provider-doppler" | ||
subcategory: "" | ||
description: |- | ||
Manage a GitHub Actions Doppler sync. | ||
--- | ||
|
||
# doppler_secrets_sync_github_actions (Resource) | ||
|
||
Manage a GitHub Actions Doppler sync. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "doppler_secrets_sync_github_actions" "backend_prod" { | ||
integration = "bae40485-eca7-478b-abd8-34100c82c679" | ||
project = "backend" | ||
config = "prd" | ||
sync_target = "repo" | ||
repo_name = "backend" | ||
} | ||
``` | ||
|
||
```terraform | ||
resource "doppler_secrets_sync_github_actions" "backend_prod" { | ||
integration = "bae40485-eca7-478b-abd8-34100c82c679" | ||
project = "backend" | ||
config = "prd" | ||
sync_target = "repo" | ||
repo_name = "backend" | ||
environment_name = "production" | ||
} | ||
``` | ||
|
||
```terraform | ||
resource "doppler_secrets_sync_github_actions" "backend_prod" { | ||
integration = "bae40485-eca7-478b-abd8-34100c82c679" | ||
project = "backend" | ||
config = "prd" | ||
sync_target = "org" | ||
org_scope = "private" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
|
||
## Schema | ||
|
||
### Required | ||
|
||
- `config` (String) The name of the Doppler config | ||
- `integration` (String) The slug of the integration to use for this sync | ||
- `project` (String) The name of the Doppler project | ||
- `sync_target` (String) Either "repo" or "org", based on the resource type to sync to | ||
|
||
### Optional | ||
|
||
- `environment_name` (String) The GitHub repo environment name to sync to | ||
- `org_scope` (String) Either "all" or "private", based on the which repos you want to have access (only usable when `sync_target` is set to "repo") | ||
- `repo_name` (String) The GitHub repo name to sync to | ||
|
||
### Read-Only | ||
|
||
- `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