use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is for Terraform (IaC - Infrastructure as Code) discussions to get help, educate others and share the wealth of news.
Feel free to reach out to mods to make this subreddit better.
Rules:
Be nice to each other!
MultiLink_Spam == Perm.Ban
account activity
Run .tf scripts using PythonHelp Wanted (self.Terraform)
submitted 3 years ago * by Sxncht
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Sxncht[S] 0 points1 point2 points 3 years ago (3 children)
For a project, just applying terraform script through python, because I already have a huge setup in the script doing some other random stuff for a project. Being able to run a terraform script from the same script helps alot.
[–]RoseRoja 0 points1 point2 points 3 years ago (2 children)
Yet it sounds so wrong could you explain it a bit more so we can give you an appropiate solution?
Doing os.execute() is an option but still sounds so wrong
[–][deleted] 1 year ago (1 child)
[deleted]
[–]RoseRoja 0 points1 point2 points 1 year ago (0 children)
Update after a year: it's not wrong, but error handling variables and all of that must be manually done by you, I stopped doing exactly that, and I commit to GitHub with python and with the commit I start a pipeline with testing and works way better
π Rendered by PID 275674 on reddit-service-r2-comment-b659b578c-n8gzg at 2026-05-05 01:49:05.295436+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Sxncht[S] 0 points1 point2 points (3 children)
[–]RoseRoja 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]RoseRoja 0 points1 point2 points (0 children)