| page_title | forgejo_organization_action_secret Resource - forgejo |
|---|---|
| subcategory | |
| description | Forgejo organization action secret resource. Note: The authenticated user must be a member of the managed organization(s) or have administrative privileges! |
Forgejo organization action secret resource.
Note: The authenticated user must be a member of the managed organization(s) or have administrative privileges!
terraform {
required_providers {
forgejo = {
source = "svalabs/forgejo"
}
}
}
provider "forgejo" {
host = "http://localhost:3000"
}
# Organization
resource "forgejo_organization" "test" {
name = "test_org"
}
# Organization action secret
resource "forgejo_organization_action_secret" "this" {
organization_id = forgejo_organization.test.id
name = "my_secret"
data = "my_secret_value"
}data(String, Sensitive) Data of the secret.name(String) Name of the secret. Changing this forces a new resource to be created.
organization(String) Name of the owning organization. Changing this forces a new resource to be created. Note: One oforganizationororganization_idmust be specified.organization_id(Number) Numeric identifier of the owning organization. Changing this forces a new resource to be created. Note: One oforganizationororganization_idmust be specified.
created_at(String) Time at which the secret was created.