Nick Kelly
02/07/2025, 7:38 PMkapa.ai
02/07/2025, 7:38 PMNick Kelly
02/07/2025, 7:40 PMkapa.ai
02/07/2025, 7:41 PMkapa.ai
02/07/2025, 7:41 PMhcl schedule { cron { cron_expression = "0 0 * * * ?" cron_time_zone = "America/New_York" } }
In this structure: - schedule
is the top-level block - cron
is nested within schedule
- cron_expression
and cron_time_zone
are attributes within the cron
block This structure differs from what I previously suggested, which was incorrect. The Terraform provider documentation is the authoritative source for how to properly configure Airbyte resources using Terraform. I apologize for the misinformation in my previous response. Thank you for bringing this to my attention, as it allows me to provide you with the correct information based on the official documentation.Nick Kelly
02/07/2025, 7:42 PMkapa.ai
02/07/2025, 7:42 PMkapa.ai
02/07/2025, 7:42 PMcron_time_zone
attribute. Here's how you would configure it: hcl schedule { cron { cron_expression = "0 0 * * * ?" cron_time_zone = "UTC" } }
In this configuration: - cron_expression
is set to run at midnight every day (you can adjust this as needed) - cron_time_zone
is set to "UTC" This setup ensures that your cron schedule will run based on Coordinated Universal Time (UTC), regardless of the server's local time or daylight saving time changes. This information is based on the official [Terraform provider documentation for Airbyte connections](https://registry.terraform.io/providers/airbytehq/airbyte/latest/docs/resources/connection#nested-schema-for-schedule), which provides the correct structure for setting up schedules in Airbyte connections using Terraform.