potiuk commented on issue #10454:
URL: https://github.com/apache/airflow/issues/10454#issuecomment-678671949


   I think it would be nice to have a Hook/Operator that could manage 
installing Terraform automatically and expose a python API. There is the 
https://pypi.org/project/python-terraform/ wrapper and installing terraform is 
basically downloading the right binary from 
https://www.terraform.io/downloads.html (you can even specify version of 
terraform). This way you could use the power of terraform without worrying 
about having it installed at your worker. 
   
   I think just mentioning that there  is a "Terraform" hook/operaotr is 
something that can make more Airflow users more aware that they can actually 
use Terraform rather than dedicated actions. Plus I think often terraform 
scripts are rather complex - usually they are stored somewhere in repository - 
not necessarily in the DAG's folder, so it would be great to have an option to 
somehow download (git-sync?) a specified set of terraform scripts. Or maybe we 
can think out some more "airflow-y" way of distributing such scripts. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to