upbound / provider-terraform

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

Official stance on using newer Terraform versions #287

Open jeanduplessis opened 2 months ago

jeanduplessis commented 2 months ago

This issue documents the official stance that we will not adopt any Terraform version in this provider released under the BSL license.

As such, this provider will be frozen on Terraform 1.5.7.

We are also not open to allowing end-users to specify the version of Terraform they want to use using a solution like tfenv.

senare commented 2 months ago

Thank you (now we know) !

How did we end up in this decision ? I am guessing this is a license issue ?

How (and if) would that decision impact the discussion to support OpenTofu or TerraGrunt ?

Personally I think it would be nice If we could find some way to support different ways of 'adhoc executing HCL code'.

Would it be possible to create a OpenTofu and or TerraGrunt 'resource' or some other sort of separate runtime ?

I think it would be nice to keep it to one community / module. And I am assuming that at lot of the plumbing will be the same no matter what 'runtime/framework' one uses ?

jeanduplessis commented 2 months ago

@senare The decision is the culmination of the legal opinion sought on the license terms of Terraform and upcoming guidelines from the CNCF: https://github.com/cncf/foundation/pull/843/files

While we appreciate the desire to see one unified solution, this provider will not look to provide OpenTofu or Terragrunt integration, and if the community wants to pursue an OpenTofu solution, it should be created as a separate provider.