Terraform Check Block - What's the point?

  Рет қаралды 3,152

Ned in the Cloud

Ned in the Cloud

Күн бұрын

Пікірлер: 7
@dmitrysemenov775
@dmitrysemenov775 Жыл бұрын
Good info, I learned something new. Thank you!
@slackerony
@slackerony Жыл бұрын
Love the video, but the music between each sections is incredibly loud and kinda distrupts everything. just my 2c. First video i've seen from you, but i'm subscribed!
@NedintheCloud
@NedintheCloud Жыл бұрын
Noted! I keep trying to find the right balance of music volume and transitions.
@NoirFleuri
@NoirFleuri Жыл бұрын
I feel most of the examples for using 'check' fall into a category that should be handled with an actual monitoring and alerting system. One usecase I was thinking was instead of relying on Sentinel not available on the (former) OSS version, you could add checks for certain policies, like tagging and labeling formats on resources.
@NedintheCloud
@NedintheCloud Жыл бұрын
I think you're right. A lot of the major issues should be picked up by a monitoring solution long before you run your next terraform plan. Could be a belt and suspenders type approach?
@ronaldonazo6961
@ronaldonazo6961 Жыл бұрын
10/10 explanation skill. Question: I use aws provider, i do have a module i have modified to deploy a ec2 and based of a variable to join it on directory service. Will this check block make use to firstly check if i do have a shared domain service in that account , and also its credentials stored in secrets manager? And if not throw an error that those 2 things are missing? Will this be one use case?
@NedintheCloud
@NedintheCloud Жыл бұрын
I would actually recommend using some combination of data sources and pre/postcondition blocks to accomplish that goal. It sounds like you would want the plan/apply to fail if you don't have the necessary credentials. The check block will only emit a warning, it will not stop the plan or apply processes.
Using Precondition and Postcondition Blocks in Terraform
22:27
Ned in the Cloud
Рет қаралды 2,4 М.
Using Moved Blocks in Terraform
17:49
Ned in the Cloud
Рет қаралды 6 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
HashiCorp Licensing Changes - What Does It Mean For You?!
5:55
Ned in the Cloud
Рет қаралды 5 М.
Exploring the Import Block in Terraform 1.5
23:44
Ned in the Cloud
Рет қаралды 16 М.
Code To Cloud: Deploying Azure Landing Zones with Terraform
1:29:49
Code To Cloud
Рет қаралды 2,5 М.
Managing Multiple Environments with Terraform
20:39
Ned in the Cloud
Рет қаралды 8 М.
Automating Tests for Terraform
21:43
HashiCorp
Рет қаралды 1,9 М.
Choosing Between Count and For-Each
17:53
Ned in the Cloud
Рет қаралды 13 М.
What is Terraform null_resource and how to use it? - Part-21
19:10
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
Terraform Remote State Backend using S3 and DynamoDB
15:33
Cloud Champ
Рет қаралды 18 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН