DEV Community

Discussion on: What I've Learned Learning Terraform: Part 7

Collapse
yellow1912 profile image
yellow1912

Thank you for sharing. I'm starting with terraform as well and I'm learning it along the way. One question: do you know how to reuse the remote exec among resources? I have many resources sharing some part of the remote exec, would love to know a better way to reuse instead of copy and paste. Also, when you setup certain things you may have to out password in the exec command which is unsafe as I understand it. Do you find any solution for that?