Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1001 Bytes

File metadata and controls

50 lines (38 loc) · 1001 Bytes
page_title forgejo_repository_action_variable Data Source - forgejo
subcategory
description Forgejo repository action variable data source.

forgejo_repository_action_variable (Data Source)

Forgejo repository action variable data source.

Example Usage

terraform {
  required_providers {
    forgejo = {
      source = "svalabs/forgejo"
    }
  }
}

provider "forgejo" {
  host = "http://localhost:3000"
}

# Existing repository
data "forgejo_repository" "test" {
  name = "test_repo"
}

# Existing repository action variable
data "forgejo_repository_action_variable" "this" {
  repository_id = data.forgejo_repository.test.id
  name          = "my_variable"
}

Schema

Required

  • name (String) Name of the variable.
  • repository_id (Number) Numeric identifier of the repository.

Read-Only

  • data (String) Data of the variable.