Terraform features you should be using

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

That pre-commit hook you mentioned is pretty sweet.

DaveHillEsq
Автор

Thank you for the video. I just started using Terraform a few weeks back and need all the help I can get. Look forward to future videos on this subject. Thanks again....

mike
Автор

Nice one really. .. please come up with new vedios for Terraform

bhaskar
Автор

Great tips!
Have a quick question, how to rebuild same infrastructure again without destroying previous one?

deviprasaddev
Автор

Great tips!!! Why are there not more likes on this video?
I'm forwarding to my team.

jwellsntr
Автор

Excellent, excellent, advise about the RELEASE notes. And very interesting : Hum, so as of today (timemachine back to the 2016 year, but migh still be true...), habits are that it takes time, before what's in the Release notes, actually appears in the proper documentation (hugo generated doc website) ?

jean-baptistelasselle
Автор

Amazing content, but wonder if it’s time for updated video...a lot changed since then 🙏🏿

Luther_Luffeigh
Автор

Nice tips. Please share the video how to use the modules in terraform??

mahipalreddyg
Автор

plzzz slowdown a little bit the speed 👏

chapulinkolorador
Автор

Very good tips. Some of them are still working for 0.10.

AntonBabenkoLive
Автор

Buddy, Can you take a session on terraform log files?

alan-j
Автор

What if I do not have access to destroy but to update the resource. What all options are there to make it simple. Like, a lambda already existing, it is failing with already exist error.

manugupta
Автор

Hello,

I'm using terraform with all resources created within modules and i did stuck while calling security group module from ec2 instance module.

Commands i have used so far are :

#security_group_id =
#security_group_ids =
#security_group_ids = "${element(module.securitygroup.security_group_ids, 1)}"
#security_group_ids =

Where securitygroup is my module name and i'm calling this from ec2 module.

Error i'm getting everytime is : Error: module 'instance': "security_group_id" is not a valid output for module "securitygroup" (same error for this_securitygroup_id also)

i did tried many parameters like security group_id, instance_id to refer to each other module (For attaching security group to instance and attaching instance id with alb)

However i also tried to call variables in output, tf file but same error i'm getting there also as shown above.

Please suggest where i am going wrong?

Any help is appreciated.

manujdubey
Автор

It's really unfair, because video is from 2016, and its now 2020, but I can't help mentoning :
I do agree about why you should be against command line update the terraform state.

but no, you should not yell at them, what should happen, is that you, should provide tools to make that useless, and modify your high level factory, so that those you don't want to be allowed to modify the state, can't :
=> .gitignore terraform state
=> reject any comit modifying the .gitignore
=> allow only robots to manage terraform state for you : you never commad-line, instead, to do what you want to do, you modify the source code of the robot, and let the robot do the job.

This pattern is infrastructure as code, so yes, command line changing state is against infratstructure adressed as code, but now that it is explained, there you have the why :

This pattern is extremmely important, because now :
=> to do any operations, people change source code of the robot, and never EVER touch the infrastructure.
=> And now, you, can set any extremely rich control over the dev flow on the robot, so have an extremely rich, so much better control, over people changing infrastructure, than just a stupid user permission model, whether it's an OpenID connect / Gravitee.io duet, or a stupid LDAP.

jean-baptistelasselle