terraform-provider-woodpecker/docs/resources/user.md

1017 B

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

  • admin (Boolean) whether user is an admin
  • avatar (String) the user's avatar URL
  • email (String) the email of the user

Read-Only

  • active (Boolean) whether user is active in the system
  • id (Number) the user's id