Modifying Infrastructure With Terraform | Terraform Tutorial | #4

preview_player
Показать описание
Modifying infrastructure in Terraform is as simple as changing values in our configuration files and applying the changes. Examples of what you might modify could be adding tags to an existing resource, updating DNS entries, updating ingress/egress security group rules and more. All resources can be modified and Terraform will handle any needs to shutdown, restart and/or re-create any resources if needed.

In this video we'll update the configuration of the original AWS EC2 instance that we created in the previous video. Below is an overview of what we'll be doing.

- Adding new tags to an AWS EC2 instance performing an update-in-place
- Changing an EC2 instance size showing how terraform will start and stop an instance
- Changing an ami showing how terraform will destroy and re-create an instance
- Running terraform apply to preview our changes
- Running terraform destroy to remove our infrastructure

Course Examples:

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

You're phenomenal at explaining stuff; even though the terraform version is outdated, I'm able to follow your explanation regarding the new version. Thanks a million... I could not follow other paid-for tutorials...thanks soo much

mynewinterests
Автор

Thank you Mr Will, much appreciated. This tutorial is pure gold !!!

sondaika
Автор

Thank you for this!!! We all appreciate it!

felipeozoski
Автор

I really appreciate you for making these videos

ykmedia
Автор

Thanks for the wonderful video. It would be very helpful to make modifying and extending ebs volume using terraform

ravisankar
Автор

haha that "What happened? Did I save it?" happened to me yesterday as well during a demo session

hangoszto
Автор

when i changed the main.tf and command terraform init, why the aws create new instance, not modify it?

muhamadthoriq
Автор

I tried ec2 instance already created via Gui and but failed to modify through terraform ? any separate process for that

matsiv
Автор

Where you have stored the IAM user credentials? what is best practice to provide credentials?

sarveshrasam
Автор

Thanks for the video. If I want to have my instance use an existing Security Group how do you update your instance to use an existing Security Group?

qtnguyen
visit shbcf.ru