Census Terraform Provider
The Census Terraform Provider enables you to manage Census resources programmatically using infrastructure as code (IaC). Built to support modern DevOps workflows, the provider allows you to version control, automate, and reproducibly deploy your Census configurations.Why Use Terraform with Census?
- Version Control - Track all changes to your Census configuration in Git alongside your infrastructure code
- Reproducibility - Deploy identical configurations across development, staging, and production environments
- Automation - Integrate Census setup into your CI/CD pipelines for automated deployments
- Multi-Region - Manage Census resources across US, EU, and AU regions from a single provider
Getting Started
Installation
The Census Terraform Provider is available in the Terraform Registry. Add it to your Terraform configuration:Authentication
The provider requires a Census personal access token. Generate one from your Census account settings.Store your personal access token securely using environment variables or a secrets management system. Never commit tokens to version control.
CENSUS_PERSONAL_ACCESS_TOKEN environment variable.
Using Terraform Variables:
Basic Example
Here’s a complete example showing how to manage Census resources with Terraform:Available Resources
The provider supports the complete Census data pipeline:census_workspace- Create and manage Census workspacescensus_source- Connect data warehouses (Snowflake, BigQuery, Postgres, etc.)census_dataset- Define SQL transformationscensus_destination- Configure business tool integrations (Salesforce, HubSpot, etc.)census_sync- Define data syncs with field mappings and schedules
Resources
GitHub Repository
View the source code, report issues, and browse complete examples
Terraform Registry
Browse resource documentation, data sources, and version history
Management API
Learn about the underlying Census API that powers the provider
Product Documentation
Explore Census features and capabilities in the main product docs
Support
Need help with the Terraform Provider? We’re here to help:- Email: support@getcensus.com
- GitHub Issues: Report bugs or request features on our GitHub repository
- In-App Chat: Start a conversation from the Census app