| page_title | forgejo_repository_action_variable Resource - forgejo |
|---|---|
| subcategory | |
| description | Forgejo repository action variable resource. |
Forgejo repository action variable resource.
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"
}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.