Connectors - Terraform Resources
Manage Azion connectors with Terraform. Learn how to create and configure origin connectors using azion_connector for your applications.
Connectors replace the concept of origins in API v4. They provide a flexible way to configure origins for your applications.
The azion_connector resource allows you to manage origin connectors through Terraform. Connectors define how your applications communicate with content origins.
Available Resources
| Resource | Description |
|---|---|
azion_connector | Creates and manages connectors |
Available Data Sources
| Data Source | Description |
|---|---|
azion_connectors | Query existing connectors |
azion_connector
Basic Example
Main Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique connector name |
For the complete list of arguments, see the Terraform Registry.
Exported Attributes
| Attribute | Type | Description |
|---|---|---|
id | string | Unique connector ID |
Complete Example
Migrating from Origins (V3 to V4)
If you’re migrating from API v3, the azion_application_origin resource has been replaced by azion_connector.
Before (V3)
After (V4)
See the Migration Guide for more details.
Next Steps
- Workloads - Manage workloads
- Applications - Manage applications