scaleway / terraform-provider-scaleway

Terraform Scaleway provider

Home Page:https://www.terraform.io/docs/providers/scaleway/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

job_definition: support cron

Codelax opened this issue · comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Add new cron arguments to job defintion.
Schedule is a cron schedule, we can look at function and container cron for an example.
Timezone refers to Canonical TZ identifiers, can be found in wikipedia. We want to include this information and link directly in terraform doc.

New or Affected Resource(s)

  • scaleway_job_definition

Potential Terraform Configuration

resource job_definition job {
  cron {
    schedule = "5 4 1 * *"
    timezone = "Europe/Paris"
  }
}

References

  • #0000