terraform-provider-airbyte icon indicating copy to clipboard operation
terraform-provider-airbyte copied to clipboard

[airbyte_connection] Support basic schedule type

Open ivan-sukhomlyn opened this issue 9 months ago • 1 comments

Actually, due to limitations on the provider's side, the basic connection schedule type cannot be configured. For example, the manually created connection object structure got from API:

      "schedule": {
        "scheduleType": "basic",
        "basicTiming": "Every 24 hours"
      }

terraform config

resource "airbyte_connection" "test" {
...
  schedule = {
    schedule_type  = "basic"
    basic_schedule = "Every 24 hours"
  }

terraform plan error:

│ Error: Invalid Attribute Value Match
│ 
│   with airbyte_connection.test,
│   on airbyte-connections.tf line 164, in resource "airbyte_connection" "test":
│  164: resource "airbyte_connection" "test" {
│ 
│ Attribute schedule.schedule_type value must be one of: ["\"manual\"" "\"cron\""], got: "basic"

It would be very nice to have this possibility 🙂 🙏

ivan-sukhomlyn avatar May 21 '24 16:05 ivan-sukhomlyn