Modifying Infrastructure With Terraform | Terraform Tutorial | #4

Published: 16 June 2020
on channel: Will Brock
23,490
222

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:
https://github.com/WillBrock/terrafor...

Terraform Resources:
https://www.terraform.io/docs/configu...


Watch video Modifying Infrastructure With Terraform | Terraform Tutorial | #4 online without registration, duration hours minute second in high quality. This video was added by user Will Brock 16 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 23,490 once and liked it 222 people.