newcontext-oss / kitchen-terraform

Test Kitchen plugins for testing Terraform configurations
https://github.com/newcontext/kitchen-terraform
Apache License 2.0
1.13k stars 146 forks source link

Compatibility with Terraspace #486

Open duncanwraight opened 1 year ago

duncanwraight commented 1 year ago

Hi folks

Is there any way we could use kitchen-terraform with Terraspace?

It's a Ruby wrapper to allow layering of configuration. Makes TF repositories cleaner and more DRY-friendly: https://terraspace.cloud/

Instead of terraform plan, terraform apply etc. we use terraspace up <>, e.g. terraform up eks-cluster.

Could we override the executable commands used?

aaron-lane commented 1 year ago

Hi @duncanwraight 👋🏼

It is currently possible to override the executable client using the driver's client attribute, but that does not include overriding the specific commands issued. If you are able to provide the analogous Terraspace commands that should be invoked to implement the same workflow as exists using Terraform then we may be able to determine how to support it 🤔