Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run scheduled workflows #18

Open
IbraheemAlSaady opened this issue Jul 7, 2022 · 0 comments
Open

run scheduled workflows #18

IbraheemAlSaady opened this issue Jul 7, 2022 · 0 comments

Comments

@IbraheemAlSaady
Copy link
Contributor

Describe the solution you'd like
A way to schedule Terraform workflows and run either plan or apply

Additional context
The configuration could look something like this

apiVersion: run.terraform-operator.io/v1alpha1
kind: ScheduledWorkflow
metadata:
  name: terraform-aws-s3
spec:
  schedule: 0 * * * *
  withApply: true
  terraformRef:
    name: terraform-aws-s3

By default, it will schedule a run to execute a plan, we can specify the withApply flag to run Terraform apply as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant