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...
Смотрите видео Modifying Infrastructure With Terraform | Terraform Tutorial | #4 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Will Brock 16 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 23,490 раз и оно понравилось 222 людям.