upbound / provider-terraform

A Crossplane provider for Terraform
https://marketplace.upbound.io/providers/upbound/provider-terraform/
Apache License 2.0
150 stars 59 forks source link

Change default pollInterval to 10m #114

Closed bobh66 closed 1 year ago

bobh66 commented 1 year ago

Description of your changes

Updated the default pollInterval to 10 minutes. Given the amount of time it takes to run terraform init/plan/apply the default 1m poll interval was likely to expire before the first reconciliation completed.

Users are free to adjust this value using ControllerConfig:

spec:
  args:
  - --poll=10m

I have:

How has this code been tested

Applied to changes in a test cluster and verified that reconciliations are requeued with a 10 minute interval by default.

bobh66 commented 1 year ago

I added documentation of the change and also information on performance tuning for the provider