Managing Resource Drift in Terraform: - refresh-only, -replace, -import

preview_player
Показать описание
"Efficiently Managing Resource Drift in Terraform: Strategies for Refresh-Only, Replace, and Import"

In this insightful video, we delve into the crucial topic of handling resource drift in Terraform deployments. Discover essential techniques for mitigating drift scenarios using three powerful strategies: 'refresh-only,' 'replace,' and 'import.' Learn how to maintain infrastructure consistency, address configuration changes, and regain control over your cloud resources with confidence. Join us as we guide you through practical examples and best practices, ensuring a seamless and reliable Terraform environment."
Рекомендации по теме
Комментарии
Автор

Appreciate your effort but Please correct your explanation about drifting from what you said in the video. Drift will happen only when someone modifies or updates manually the resources created by Terraform that do not reflect or not same in the Terraform current state with their modified or updated infrastructure configuration. That is called drift. If you add any resources manually in the AWS Console, they will not be added by the Terraform refresh command. Added resources will be manually added to your state file with the Terraform import command.

CloudOpsCorner