From 4bddf7a043429a90c6d4a6fa50b0d86e4430db0d Mon Sep 17 00:00:00 2001 From: Melissa Greenbaum <69476188+magreenbaum@users.noreply.github.com> Date: Sat, 20 Apr 2024 08:07:09 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Anton Babenko --- UPGRADE-6.0.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UPGRADE-6.0.md b/UPGRADE-6.0.md index f4530be4..fefc89e7 100644 --- a/UPGRADE-6.0.md +++ b/UPGRADE-6.0.md @@ -43,7 +43,7 @@ With RDS now supporting the integration with SecretsManager to manage the master ### Before 5.x Example ```hcl -module "rds_before" { +module "rds" { source = "terraform-aws-modules/rds/aws" version = "~> 5.0" @@ -63,7 +63,7 @@ module "rds_before" { ### After 6.x Example ```hcl -module "rds_after" { +module "rds" { source = "terraform-aws-modules/rds/aws" version = "~> 6.0" @@ -90,7 +90,7 @@ resource "random_password" "master_password" { special = false } -module "rds_after" { +module "rds" { source = "terraform-aws-modules/rds/aws" version = "~> 5.0" @@ -111,5 +111,5 @@ module "rds_after" { A state move must be done to preserve the previously used random password. Example: ``` -terraform state mv 'module.db.random_password.master_password[0]' random_password.master_password +terraform state mv 'module.rds.random_password.master_password[0]' random_password.master_password ```