Skip to content

Commit 7ed1c98

Browse files
authored
docs: Add destroy_on_drift docs to organization secret (#2825)
1 parent ca40d87 commit 7ed1c98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

website/docs/r/actions_organization_secret.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ The following arguments are supported:
6565
* `visibility` - (Required) Configures the access that repositories have to the organization secret.
6666
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
6767
* `selected_repository_ids` - (Optional) An array of repository ids that can access the organization secret.
68+
* `destroy_on_drift` - (Optional) Boolean indicating whether to recreate the secret if it's modified outside of Terraform.
69+
When `true` (default), Terraform will delete and recreate the secret if it detects external changes.
70+
When `false`, Terraform will acknowledge external changes but not recreate the secret. Defaults to `true`.
6871

6972
## Attributes Reference
7073

0 commit comments

Comments
 (0)