Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.66 KB

File metadata and controls

59 lines (44 loc) · 1.66 KB
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)

Forgejo organization action secret resource.

Note: The authenticated user must be a member of the managed organization(s) or have administrative privileges!

Example Usage

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"
}

Schema

Required

  • data (String, Sensitive) Data of the secret.
  • name (String) Name of the secret. Changing this forces a new resource to be created.

Optional

  • organization (String) Name of the owning organization. Changing this forces a new resource to be created. Note: One of organization or organization_id must be specified.
  • organization_id (Number) Numeric identifier of the owning organization. Changing this forces a new resource to be created. Note: One of organization or organization_id must be specified.

Read-Only

  • created_at (String) Time at which the secret was created.