You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform has a feature where it can initialize a working directory from a terraform module like this:
terraform init -form-module <module>
The ansible cloud.terraform.terraform module does not support this unfortunately. And it would be nice if this feature exists.
ISSUE TYPE
Feature Idea
COMPONENT NAME
cloud.terraform.terraform
ADDITIONAL INFORMATION
I can work on it and open a pull request if everyone is busy (please indicate in the comment if you are interested in having this feature, and if you want me to work on it).
EXAMPLE
- name: Deploy Nginx Ingress Controllercloud.terraform.terraform:
project_path: '{{ project_dir }}'state: presentfrom_module: terraform-iaac/nginx-controller/helm # this should download https://registry.terraform.io/modules/terraform-iaac/nginx-controller/helm/latest
The text was updated successfully, but these errors were encountered:
@samerbahri98 Thanks for opening on issue. My understanding is that this feature is primarily intended for use with Terragrunt (see hashicorp/terraform#33276 (comment)), and I'm not sure it's something we would want to support. What's the use case for this?
ah sorry @gravesm I forgot to reply.
The use case here is that I use ansible to perform system integration tests. I used the example of the official terraform registry in the issue description, but the actual modules are in different git repositories and s3 buckets, and I would like to skip the steps of downloading the modules and putting them in a wrapper module to test them.
SUMMARY
Terraform has a feature where it can initialize a working directory from a terraform module like this:
The ansible cloud.terraform.terraform module does not support this unfortunately. And it would be nice if this feature exists.
ISSUE TYPE
COMPONENT NAME
cloud.terraform.terraform
ADDITIONAL INFORMATION
I can work on it and open a pull request if everyone is busy (please indicate in the comment if you are interested in having this feature, and if you want me to work on it).
EXAMPLE
The text was updated successfully, but these errors were encountered: