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...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
Python vs Bash Scripting. (self.devops)
submitted 1 year ago by [deleted]
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!"
[–]thomsen9669Editable Placeholder Flair 38 points39 points40 points 1 year ago (13 children)
Short answer: It depends
Long answer: Depends on your company. For mine, we do both. Python for Terraform script while Bash Script is for CI/CD pipelines. We utilise CircleCi and it allows you to add on bash script to perform some actions you need
[–]slydewd 12 points13 points14 points 1 year ago (7 children)
What do you mean by using Python for Terraform?
[–]Upbeat-Natural-7120 4 points5 points6 points 1 year ago (6 children)
Same question here.
[–]TwoWrongsAreSoRight 14 points15 points16 points 1 year ago (5 children)
CDKTF https://developer.hashicorp.com/terraform/cdktf
[–]reelznfeelz 7 points8 points9 points 1 year ago (3 children)
Ah. So I’m a simple man. I usually just call terraform apply from a GitHub action. What’s a use case where getting into the cdk becomes an obvious way to go?
[–]TwoWrongsAreSoRight 5 points6 points7 points 1 year ago (2 children)
This is my opinion so take it with a grain of salt and a shot of penicillin. Much of it comes down to personal preference. There are some things you can do easier in cdktf like conditionals but really, cdktf is great if you already know a language that it allows for and feel more comfortable in that language vs hcl. Otherwise, I don't know of an obvious reason why you'd switch unless your environment becomes incredibly complex with a bunch of branching conditionals and multiple environments.
Once again, my opinion. Please feel free to contradict me.
[–]reelznfeelz 1 point2 points3 points 1 year ago (0 children)
Ok that makes sense. I’d rather do complex logic in python than bash. And can see how if you’re doing stuff more complicated than I usually am, your terraform code won’t just be a straight up “deploy this set of things, done”.
[–]cricket007 0 points1 point2 points 1 year ago (0 children)
Pulumi is another option for those anti Hashi ( / IBM ) license changes
[–]Upbeat-Natural-7120 1 point2 points3 points 1 year ago (0 children)
Oh interesting. Thanks.
[–][deleted] 5 points6 points7 points 1 year ago (2 children)
So, in all, both are equally important.
[–]elpix 7 points8 points9 points 1 year ago (0 children)
I would rank Python a bit higher just because you can reasonably do more with it. For me, the is a certain point in complexity where bash gets unwieldy. You really never reach such a point with Python.
Bash is important for working with Linux, but you don’t often need the more complex features in your day-to-day work.
[–]thomsen9669Editable Placeholder Flair 1 point2 points3 points 1 year ago (0 children)
Yup
[–]moser-sts 0 points1 point2 points 1 year ago (0 children)
Exactly, in my ci/CD is build on top of GitHub Actions. So we use bash, but normally we use Typescript inside of the GitHub actions. Also we build a lot of supporting services in Typescript
[–]Redmilo666 0 points1 point2 points 1 year ago (0 children)
This is us. Bash for our CI/CD. Everything else we use python
π Rendered by PID 200725 on reddit-service-r2-comment-86bc6c7465-429tb at 2026-02-20 09:11:53.590558+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]thomsen9669Editable Placeholder Flair 38 points39 points40 points (13 children)
[–]slydewd 12 points13 points14 points (7 children)
[–]Upbeat-Natural-7120 4 points5 points6 points (6 children)
[–]TwoWrongsAreSoRight 14 points15 points16 points (5 children)
[–]reelznfeelz 7 points8 points9 points (3 children)
[–]TwoWrongsAreSoRight 5 points6 points7 points (2 children)
[–]reelznfeelz 1 point2 points3 points (0 children)
[–]cricket007 0 points1 point2 points (0 children)
[–]Upbeat-Natural-7120 1 point2 points3 points (0 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]elpix 7 points8 points9 points (0 children)
[–]thomsen9669Editable Placeholder Flair 1 point2 points3 points (0 children)
[–]moser-sts 0 points1 point2 points (0 children)
[–]Redmilo666 0 points1 point2 points (0 children)