Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.05 KB

File metadata and controls

48 lines (38 loc) · 1.05 KB
page_title forgejo_repository_action_variable Resource - forgejo
subcategory
description Forgejo repository action variable resource.

forgejo_repository_action_variable (Resource)

Forgejo repository action variable resource.

Example Usage

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

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

# Personal repository
resource "forgejo_repository" "personal" {
  name = "personal_test_repo"
}

# Repository action variable
resource "forgejo_repository_action_variable" "this" {
  repository_id = forgejo_repository.personal.id
  name          = "my_variable"
  data          = "my_variable_value"
}

Schema

Required

  • data (String) Data of the variable.
  • name (String) Name of the variable.
  • repository_id (Number) Numeric identifier of the repository. Changing this forces a new resource to be created.