mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-07-05 18:47:38 +00:00
1.0 KiB
1.0 KiB
page_title | subcategory | description |
---|---|---|
woodpecker_user Resource - terraform-provider-woodpecker | Provides a user resource. This resource allows you to add/remove users. When applied, a new user will be created. When destroyed, that user will be removed. |
woodpecker_user (Resource)
Provides a user resource.
This resource allows you to add/remove users. When applied, a new user will be created. When destroyed, that user will be removed.
Example Usage
# Create a user
resource "woodpecker_user" "test" {
login = "test"
email = "test@localhost"
}
Schema
Required
login
(String) the name of the user
Optional
avatar_url
(String) the user's avatar URLemail
(String) the email of the useris_admin
(Boolean) whether user is an admin
Read-Only
id
(Number) the user's idis_active
(Boolean) whether user is active in the system