Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
stable-website
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
layout page_title sidebar_current description
bitbucket
Bitbucket: bitbucket_repository_variable
docs-bitbucket-resource-repository-variable
Manage your pipelines repository variables and configuration

bitbucket_repository_variable

This resource allows you to setup pipelines variables to manage your builds with. Once you have enabled pipelines on your repository you can then further setup variables here to use.

Example Usage

resource "bitbucket_repository" "monorepo" {
    owner = "gob"
    name = "illusions"
    pipelines_enable = true
}

resource "bitbucket_repository_variable" "debug" {
    key = "DEBUG"
    value = "true"
    repository = "${bitbucket_repository.monorepo.id}"
    secured = false
}

Argument Reference

  • key - (Required) The key of the key value pair

  • value - (Required) The value of the key

  • repository - (Required) The repository ID you want to put this variable onto.

  • secuired - (Optional) If you want to make this viewable in the UI.

  • uuid - (Computed) The UUID of the variable