19 lines
1 KiB
Markdown
19 lines
1 KiB
Markdown
---
|
|
title: >
|
|
In what language should I write my automation?
|
|
pubDate: 2023-03-09
|
|
permalink: >-
|
|
daily/2023/03/09/in-what-language-should-i-write-my-automation
|
|
# tags:
|
|
# - a
|
|
# - b
|
|
---
|
|
|
|
Of the three tools I mentioned in yesterday's email - Ansible, Terraform and Pulumi - I mostly use Pulumi these days for writing automation code.
|
|
|
|
Why? As someone who is already familiar with writing code in certain programming languages, I like that I can use those languages to also write automation, avoid learning a domain-specific language, and those existing approaches like functions and classes to make reusable components and resources.
|
|
|
|
I like that it supports a number of languages. I started with TypeScript but since watching a recent episode of the AltF4Stream, I'm looking at Python too. I've written Python before with Fabric and what you can achieve in Pulumi with a small amount of Python code is very impressive compared to other languages like Go and TypeScript.
|
|
|
|
If you prefer those other languages, why not give Pulumi a try with it?
|