ansible-collections / cloud.terraform

The collection automates the management and provisioning of infrastructure as code (IaC) using the Terraform CLI tool within Ansible playbooks and Execution Environment runtimes.
GNU General Public License v3.0
100 stars 36 forks source link

Support project_path specified relative to inventory file rather than current working directory in terraform_provider #164

Open jimmycav opened 3 months ago

jimmycav commented 3 months ago
SUMMARY

When trying to set up my development environment for ansible and terraform I find that sometimes I run the commands from different working locations. Generally ansible supports file paths relative from the configuration file, but I note that terraform_provider doesn't

ISSUE TYPE
COMPONENT NAME

terraform_provider

ADDITIONAL INFORMATION

plugin: cloud.terraform.terraform_provider
project_path: ../terraform