published on Wednesday, Apr 8, 2026 by Pydantic
published on Wednesday, Apr 8, 2026 by Pydantic
Manages a Logfire organization. This resource is only available for self-hosted deployments and requires an API key with a special organization scope.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as logfire from "@pydantic/pulumi-logfire";
const example = new logfire.Organization("example", {
deletionProtection: false,
displayName: "Terraform Example Org",
});
import pulumi
import pulumi_logfire as logfire
example = logfire.Organization("example",
deletion_protection=False,
display_name="Terraform Example Org")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pydantic/pulumi-logfire/sdk/go/logfire"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := logfire.NewOrganization(ctx, "example", &logfire.OrganizationArgs{
DeletionProtection: pulumi.Bool(false),
DisplayName: pulumi.String("Terraform Example Org"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Logfire = Pulumi.Logfire;
return await Deployment.RunAsync(() =>
{
var example = new Logfire.Organization("example", new()
{
DeletionProtection = false,
DisplayName = "Terraform Example Org",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.logfire.Organization;
import com.pulumi.logfire.OrganizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Organization("example", OrganizationArgs.builder()
.deletionProtection(false)
.displayName("Terraform Example Org")
.build());
}
}
resources:
example:
type: logfire:Organization
properties:
# This defaults to true. Set false to allow destroy.
deletionProtection: false
displayName: Terraform Example Org
Create Organization Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Organization(name: string, args?: OrganizationArgs, opts?: CustomResourceOptions);@overload
def Organization(resource_name: str,
args: Optional[OrganizationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Organization(resource_name: str,
opts: Optional[ResourceOptions] = None,
avatar: Optional[str] = None,
billing_email: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
github_handle: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None)func NewOrganization(ctx *Context, name string, args *OrganizationArgs, opts ...ResourceOption) (*Organization, error)public Organization(string name, OrganizationArgs? args = null, CustomResourceOptions? opts = null)
public Organization(String name, OrganizationArgs args)
public Organization(String name, OrganizationArgs args, CustomResourceOptions options)
type: logfire:Organization
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var organizationResource = new Logfire.Index.Organization("organizationResource", new()
{
Avatar = "string",
BillingEmail = "string",
DeletionProtection = false,
Description = "string",
DisplayName = "string",
GithubHandle = "string",
Location = "string",
Name = "string",
});
example, err := logfire.NewOrganization(ctx, "organizationResource", &logfire.OrganizationArgs{
Avatar: pulumi.String("string"),
BillingEmail: pulumi.String("string"),
DeletionProtection: pulumi.Bool(false),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GithubHandle: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
})
var organizationResource = new Organization("organizationResource", OrganizationArgs.builder()
.avatar("string")
.billingEmail("string")
.deletionProtection(false)
.description("string")
.displayName("string")
.githubHandle("string")
.location("string")
.name("string")
.build());
organization_resource = logfire.Organization("organizationResource",
avatar="string",
billing_email="string",
deletion_protection=False,
description="string",
display_name="string",
github_handle="string",
location="string",
name="string")
const organizationResource = new logfire.Organization("organizationResource", {
avatar: "string",
billingEmail: "string",
deletionProtection: false,
description: "string",
displayName: "string",
githubHandle: "string",
location: "string",
name: "string",
});
type: logfire:Organization
properties:
avatar: string
billingEmail: string
deletionProtection: false
description: string
displayName: string
githubHandle: string
location: string
name: string
Organization Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Organization resource accepts the following input properties:
- Avatar string
- Avatar URL.
- Billing
Email string - Billing contact email.
- Deletion
Protection bool - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- Description string
- Organization description.
- Display
Name string - Display name shown in the UI.
- Github
Handle string - Organization GitHub handle.
- Location string
- Organization location.
- Name string
- Organization name/slug.
- Avatar string
- Avatar URL.
- Billing
Email string - Billing contact email.
- Deletion
Protection bool - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- Description string
- Organization description.
- Display
Name string - Display name shown in the UI.
- Github
Handle string - Organization GitHub handle.
- Location string
- Organization location.
- Name string
- Organization name/slug.
- avatar String
- Avatar URL.
- billing
Email String - Billing contact email.
- deletion
Protection Boolean - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description String
- Organization description.
- display
Name String - Display name shown in the UI.
- github
Handle String - Organization GitHub handle.
- location String
- Organization location.
- name String
- Organization name/slug.
- avatar string
- Avatar URL.
- billing
Email string - Billing contact email.
- deletion
Protection boolean - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description string
- Organization description.
- display
Name string - Display name shown in the UI.
- github
Handle string - Organization GitHub handle.
- location string
- Organization location.
- name string
- Organization name/slug.
- avatar str
- Avatar URL.
- billing_
email str - Billing contact email.
- deletion_
protection bool - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description str
- Organization description.
- display_
name str - Display name shown in the UI.
- github_
handle str - Organization GitHub handle.
- location str
- Organization location.
- name str
- Organization name/slug.
- avatar String
- Avatar URL.
- billing
Email String - Billing contact email.
- deletion
Protection Boolean - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description String
- Organization description.
- display
Name String - Display name shown in the UI.
- github
Handle String - Organization GitHub handle.
- location String
- Organization location.
- name String
- Organization name/slug.
Outputs
All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:
- Ai
Enabled bool - Whether AI features are enabled.
- Created
At string - Timestamp when the organization was created.
- Gateway
Enabled bool - Whether gateway features are enabled.
- Has
Admin boolPanel - Whether the organization has access to the admin panel.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - Timestamp when the organization was last updated.
- Ai
Enabled bool - Whether AI features are enabled.
- Created
At string - Timestamp when the organization was created.
- Gateway
Enabled bool - Whether gateway features are enabled.
- Has
Admin boolPanel - Whether the organization has access to the admin panel.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - Timestamp when the organization was last updated.
- ai
Enabled Boolean - Whether AI features are enabled.
- created
At String - Timestamp when the organization was created.
- gateway
Enabled Boolean - Whether gateway features are enabled.
- has
Admin BooleanPanel - Whether the organization has access to the admin panel.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - Timestamp when the organization was last updated.
- ai
Enabled boolean - Whether AI features are enabled.
- created
At string - Timestamp when the organization was created.
- gateway
Enabled boolean - Whether gateway features are enabled.
- has
Admin booleanPanel - Whether the organization has access to the admin panel.
- id string
- The provider-assigned unique ID for this managed resource.
- updated
At string - Timestamp when the organization was last updated.
- ai_
enabled bool - Whether AI features are enabled.
- created_
at str - Timestamp when the organization was created.
- gateway_
enabled bool - Whether gateway features are enabled.
- has_
admin_ boolpanel - Whether the organization has access to the admin panel.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - Timestamp when the organization was last updated.
- ai
Enabled Boolean - Whether AI features are enabled.
- created
At String - Timestamp when the organization was created.
- gateway
Enabled Boolean - Whether gateway features are enabled.
- has
Admin BooleanPanel - Whether the organization has access to the admin panel.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - Timestamp when the organization was last updated.
Look up Existing Organization Resource
Get an existing Organization resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OrganizationState, opts?: CustomResourceOptions): Organization@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ai_enabled: Optional[bool] = None,
avatar: Optional[str] = None,
billing_email: Optional[str] = None,
created_at: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
gateway_enabled: Optional[bool] = None,
github_handle: Optional[str] = None,
has_admin_panel: Optional[bool] = None,
location: Optional[str] = None,
name: Optional[str] = None,
updated_at: Optional[str] = None) -> Organizationfunc GetOrganization(ctx *Context, name string, id IDInput, state *OrganizationState, opts ...ResourceOption) (*Organization, error)public static Organization Get(string name, Input<string> id, OrganizationState? state, CustomResourceOptions? opts = null)public static Organization get(String name, Output<String> id, OrganizationState state, CustomResourceOptions options)resources: _: type: logfire:Organization get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ai
Enabled bool - Whether AI features are enabled.
- Avatar string
- Avatar URL.
- Billing
Email string - Billing contact email.
- Created
At string - Timestamp when the organization was created.
- Deletion
Protection bool - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- Description string
- Organization description.
- Display
Name string - Display name shown in the UI.
- Gateway
Enabled bool - Whether gateway features are enabled.
- Github
Handle string - Organization GitHub handle.
- Has
Admin boolPanel - Whether the organization has access to the admin panel.
- Location string
- Organization location.
- Name string
- Organization name/slug.
- Updated
At string - Timestamp when the organization was last updated.
- Ai
Enabled bool - Whether AI features are enabled.
- Avatar string
- Avatar URL.
- Billing
Email string - Billing contact email.
- Created
At string - Timestamp when the organization was created.
- Deletion
Protection bool - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- Description string
- Organization description.
- Display
Name string - Display name shown in the UI.
- Gateway
Enabled bool - Whether gateway features are enabled.
- Github
Handle string - Organization GitHub handle.
- Has
Admin boolPanel - Whether the organization has access to the admin panel.
- Location string
- Organization location.
- Name string
- Organization name/slug.
- Updated
At string - Timestamp when the organization was last updated.
- ai
Enabled Boolean - Whether AI features are enabled.
- avatar String
- Avatar URL.
- billing
Email String - Billing contact email.
- created
At String - Timestamp when the organization was created.
- deletion
Protection Boolean - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description String
- Organization description.
- display
Name String - Display name shown in the UI.
- gateway
Enabled Boolean - Whether gateway features are enabled.
- github
Handle String - Organization GitHub handle.
- has
Admin BooleanPanel - Whether the organization has access to the admin panel.
- location String
- Organization location.
- name String
- Organization name/slug.
- updated
At String - Timestamp when the organization was last updated.
- ai
Enabled boolean - Whether AI features are enabled.
- avatar string
- Avatar URL.
- billing
Email string - Billing contact email.
- created
At string - Timestamp when the organization was created.
- deletion
Protection boolean - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description string
- Organization description.
- display
Name string - Display name shown in the UI.
- gateway
Enabled boolean - Whether gateway features are enabled.
- github
Handle string - Organization GitHub handle.
- has
Admin booleanPanel - Whether the organization has access to the admin panel.
- location string
- Organization location.
- name string
- Organization name/slug.
- updated
At string - Timestamp when the organization was last updated.
- ai_
enabled bool - Whether AI features are enabled.
- avatar str
- Avatar URL.
- billing_
email str - Billing contact email.
- created_
at str - Timestamp when the organization was created.
- deletion_
protection bool - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description str
- Organization description.
- display_
name str - Display name shown in the UI.
- gateway_
enabled bool - Whether gateway features are enabled.
- github_
handle str - Organization GitHub handle.
- has_
admin_ boolpanel - Whether the organization has access to the admin panel.
- location str
- Organization location.
- name str
- Organization name/slug.
- updated_
at str - Timestamp when the organization was last updated.
- ai
Enabled Boolean - Whether AI features are enabled.
- avatar String
- Avatar URL.
- billing
Email String - Billing contact email.
- created
At String - Timestamp when the organization was created.
- deletion
Protection Boolean - Prevents accidental destroy when true (defaults to true). Set to false and apply before deleting this resource.
- description String
- Organization description.
- display
Name String - Display name shown in the UI.
- gateway
Enabled Boolean - Whether gateway features are enabled.
- github
Handle String - Organization GitHub handle.
- has
Admin BooleanPanel - Whether the organization has access to the admin panel.
- location String
- Organization location.
- name String
- Organization name/slug.
- updated
At String - Timestamp when the organization was last updated.
Package Details
- Repository
- logfire pydantic/pulumi-logfire
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
logfireTerraform Provider.
published on Wednesday, Apr 8, 2026 by Pydantic
