Skip to content

About

Terraform provider for Sigma

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Sigma Terraform Provider

Tests Latest release Terraform Registry License

The Sigma provider for Terraform manages a Sigma organization as code through Sigma's REST API: users, teams and account types, warehouse connections and grants, workspaces and folders, user attributes, tenants, organization settings, and more.

Documentation: Sigma documentation | Registry reference | Changelog | Contributing | Security policy

Status: the provider is pre-1.0. Resources and attributes can change between minor versions, and breaking changes are listed in the changelog. Pin a minor version (~> 0.16) and read the changelog before you upgrade.

Security: to report a security issue, use Sigma's Vulnerability Disclosure Program. Don't open a public GitHub issue.

Requirements

The provider is free to download and use. To use it, you need the following:

  • Terraform 1.0 or later. Importing with import blocks requires 1.5 or later.
  • A Sigma organization and an API client ID and secret, created under Administration > Developer Access. Most resources require the credentials be assigned to a user with an Admin account type.
  • Your organization's API base URL, also available at Administration > Developer Access. The URL depends on your cloud and region, for example https://aws-api.sigmacomputing.com.

Release binaries are built for Linux, macOS, and Windows on amd64 and arm64, plus 386 for Linux and Windows.

Quickstart

Quickly get started using the Sigma Terraform provider:

terraform {
  required_providers {
    sigma = {
      source  = "sigmacomputing/sigma"
      version = "~> 0.16"
    }
  }
}

# Or set SIGMA_BASE_URL, SIGMA_CLIENT_ID, and SIGMA_CLIENT_SECRET instead.
provider "sigma" {
  base_url      = "https://aws-api.sigmacomputing.com"
  client_id     = var.sigma_client_id
  client_secret = var.sigma_client_secret
}

resource "sigma_team" "analytics" {
  name = "Analytics"
}

resource "sigma_member" "jane" {
  email       = "jane@example.com"
  first_name  = "Jane"
  last_name   = "Doe"
  member_type = "build"
}

resource "sigma_team_membership" "jane_analytics" {
  team_id   = sigma_team.analytics.id
  member_id = sigma_member.jane.id
}
terraform init   # download the provider
terraform plan   # preview changes
terraform apply  # create the resources

Keep the client secret out of version control. Pass it with TF_VAR_sigma_client_secret or SIGMA_CLIENT_SECRET, or read it from your secrets manager.

One provider block targets one organization. To manage several organizations, such as for Sigma Tenants, use provider aliases. To bring existing Sigma objects under Terraform, see the Import section on each resource page in the registry docs.

For authentication options, air-gapped installation, importing, how resources behave when you change or destroy them, and troubleshooting, see the Sigma Terraform provider documentation. Review resource behavior before you apply changes to a production organization. The examples/ directory has one configuration for each resource and data source.

What you can manage

The groups below match the registry's sections. The registry docs contain the full reference.

Area Resources Data sources
Identity & Access sigma_member, sigma_member_account_type, sigma_team, sigma_team_membership, sigma_account_type, sigma_api_credential, sigma_user_attribute, sigma_user_attribute_team_assignment, sigma_user_attribute_user_assignment, sigma_user_attribute_tenant_assignment sigma_member, sigma_members, sigma_member_teams, sigma_teams, sigma_team_user_attributes, sigma_account_types, sigma_account_type_permissions, sigma_whoami
Connections & Integrations sigma_connection, sigma_connection_grant, sigma_connection_path_grant, sigma_source_swap_policy, sigma_storage_integration, sigma_api_connector, sigma_api_connector_credential, sigma_api_connector_grant, sigma_jwk_set, sigma_jwk_set_key sigma_connection, sigma_connections, sigma_connection_path, sigma_connection_table_columns, sigma_storage_integrations, sigma_api_connectors, sigma_api_connector_credentials
Workspaces & Content sigma_workspace, sigma_workspace_grant, sigma_folder, sigma_tag, sigma_plugin, sigma_shared_template_acceptance sigma_workspaces, sigma_workbook, sigma_workbooks, sigma_tags, sigma_tag_workbooks, sigma_template, sigma_templates, sigma_shared_templates, sigma_plugins
Organization sigma_organization_settings, sigma_smtp_settings, sigma_allowed_ip, sigma_saml_service_provider_certificate sigma_allowed_ips, sigma_saml_service_providers
Tenants & Deployment sigma_tenant, sigma_tenant_deployment_capability, sigma_deployment_policy, sigma_deployment_policy_file, sigma_deployment_policy_tenant sigma_deployment_policy_tenants

Security tips

  • Keep the client secret in a secrets manager. Never commit the client secret to version control.
  • Store Terraform state in an encrypted remote backend with restricted access. Some resources, such as sigma_api_credential and sigma_connection, store sensitive values in state.
  • Use a dedicated API credential for Terraform, and rotate it regularly.

For more information, see Use the Sigma Terraform provider in the Sigma documentation.

Support

Report bugs and request features in GitHub issues. For questions about Sigma itself, see the Sigma documentation.

To build the provider, run tests, or contribute a change, see CONTRIBUTING.md.

License and Legal Notices

Sigma Terraform Provider
Copyright 2026 Sigma Computing, Inc.

Sigma Terraform Provider (the “application”) is licensed by Sigma Computing, Inc. (“Sigma”) under the Apache License, Version 2.0 (the “License”).

The application is not a part of Sigma’s services provided under Sigma’s Main Services Agreement and other similar commercial agreements between Sigma and its customers. The provision, access, installation, download, and use of the application are governed solely by the License; and you may not use the application except in compliance with the License. Unless required by applicable law or agreed to in writing, the application is distributed on an “as-is” basis, without warranties or conditions of any kind, either express or implied. Your use of the application is at your own risk, and Sigma has no obligation to support your use of this application.

About

Terraform provider for Sigma

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages