DRY vs WET in Terraform: When ‘Elegance’ Makes Your Code a Mess!

  Рет қаралды 527

Azure Terraformer

Azure Terraformer

Күн бұрын

Пікірлер
@andrearizzioli5446
@andrearizzioli5446 Ай бұрын
I totally agree with keeping the code as simple and readable as possible. In my experience, classic developers tend to write less readable code due to their habit to write dry code with other languages. Your video is a good starting point for a discussion between dev and ops in a devops team, where generally there are more dev than ops.
@azure-terraformer
@azure-terraformer Ай бұрын
Glad you found it helpful! 🤗
@DaveSheeks
@DaveSheeks Ай бұрын
Thank you for your content!
@azure-terraformer
@azure-terraformer Ай бұрын
Glad that you enjoy it!!! ✊🤓
@ArnabDeveloper
@ArnabDeveloper Ай бұрын
Please provide the URL of the PR.
@azure-terraformer
@azure-terraformer Ай бұрын
Hey sorry these code ninja reviews are private!
@decius596
@decius596 Ай бұрын
My comment may have been deleted, so I'll repost. I don't think you're right about the .terraform.lock.hcl file. This should definitely be included into source control. The `.terraform` folder itself should be ignored. Here is the relevant blurb from terraform documentation: "Terraform automatically creates or updates the dependency lock file each time you run the terraform init command. You should include this file in your version control repository so that you can discuss potential changes to your external dependencies via code review, just as you would discuss potential changes to your configuration itself."
@azure-terraformer
@azure-terraformer Ай бұрын
Interesting. Thanks for sharing! I’ve never included it in source. Never observed any malfeasance. I wonder what the impact is of including it. It seemed (in my head) as a file used by the local operator that would be unique to their local environment, also a file that gets dynamically generated when needed anyway. Do you have the link to the docs where you found this? I’d like to take a closer look! Thanks again for bringing this to my attention! 😊
@decius596
@decius596 Ай бұрын
@azure-terraformer I tried to link it before which is why I think my comment was deleted. If you've ever done node development this is something similar. You want every run of tf init to be locked to the same versions that you tested with. This essentially makes it so that you have a predictable deployment of all of your dependences. I'll post another comment with the link and see if it gets deleted by yt
@azure-terraformer
@azure-terraformer Ай бұрын
Rgr rgr
@decius596
@decius596 28 күн бұрын
@@azure-terraformer yeah it got deleted but if you search for terraform lock file and go to the link, the part I pasted is under "lock file location" or something like that
@azure-terraformer
@azure-terraformer 28 күн бұрын
@decius596 are you in discord?
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
CAS92AF24Lecture16
1:05:18
Packetlevel
Рет қаралды 35
Code To Cloud: Microsoft Fabric With AI Search
46:56
Code To Cloud
Рет қаралды 63
Async Transform Streams - Part 1 - Sane C++ Libraries [ep.32]
1:07:20
Stefano Cristiano
Рет қаралды 70
HashiConf 2024: Books, Boats, and Battlestar Galactica!!!
21:08
Azure Terraformer
Рет қаралды 138
Integrating Cisco ACI with RADIUS/TACACS with MFA Using Microsoft Entra ID (Azure AD)
1:23:54
Advanced Terraform Techniques
29:47
HashiCorp
Рет қаралды 16 М.
Clean Code is SLOW But REQUIRED? | Prime Reacts
28:22
ThePrimeTime
Рет қаралды 330 М.
Modules | Terraform Tutorial | #15
35:11
Will Brock
Рет қаралды 121 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН