hashicorp / terraform-cloud-operator

Kubernetes Operator allows managing HCP Terraform resources via Kubernetes Custom Resources.
https://developer.hashicorp.com/terraform/cloud-docs
Mozilla Public License 2.0
114 stars 27 forks source link

do we have an alternative execution environment apart from terraform cloud?🤔 #405

Closed Ashish7812 closed 2 months ago

Ashish7812 commented 2 months ago

Operator Version, Kind, and Kubernetes Version

YAML Manifest File

# Copy-paste your YAML manifest here

Output Log

Kubectl Outputs

Question

I am experimenting with the terraform operator. The terraform operator uses the terraform cloud to execute the terraform code. Can we execute the terraform code locally where the operator runs?

References

Community Note

alexsomesan commented 2 months ago

@Ashish7812 This operator was designed from day zero with the Terraform Cloud platform as its target and it's internals are optimised for that premise. There are currently no plans to support local execution with this operator.

However, this operator does support TFE, which is a variant of Terraform Cloud that runs on-premise. Would that better fit your needs?

It has to be mentioned that there are some alternative operators maintained by the community which might support in-cluster execution. We cannot vouch for the functionality of any of the community alternatives as they are independently maintained.

Ashish7812 commented 2 months ago

Thanks for the clarification.