Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Files

Latest commit

c548911 · Jan 23, 2020

History

History
38 lines (29 loc) · 1.05 KB

repository_variable.html.markdown

File metadata and controls

38 lines (29 loc) · 1.05 KB
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