Terraform
Success
Buddy is an official technological partner of Terraform. You can find the full documentation of our provider in the HashiCorp Terraform Registry.
The Terraform Buddy provider enables developers to automate creating and managing resources in Buddy. It is based on Buddy's REST API and can be used with both cloud and self-hosted versions of Buddy.
Configuration
Automation with Terraform requires a personal API token or a token created with an OAuth application.
If you use Terraform to manage resources on the self-hosted version, you also need to provide the URL to the API, and check the 'insecure' flag if your instance of Buddy doesn't have a signed SSL certificate:
provider "buddy" {
token = var.buddy_token
base_url = IP_STANDALONE/api
}
Warning
The provider requires Buddy at least in version 2.5.0.
Usage
This is the current list of Buddy resources that can be managed with Terraform:
workspace
profile
profile_email
profile_public_key
member
group
group_member
project
project_member
project_group
variable
variable_ssh_key
webhook
integration
pipeline
Last modified on Sep 23, 2024