From 739bc8f9daabf9ac0b962fc1e03507209c9acdcc Mon Sep 17 00:00:00 2001 From: anilchalissery <37653985+anilchalissery@users.noreply.github.com> Date: Thu, 19 Sep 2024 12:41:25 +0530 Subject: [PATCH 1/6] Update outputs.tf --- outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/outputs.tf b/outputs.tf index b4b412c..2f5df47 100644 --- a/outputs.tf +++ b/outputs.tf @@ -12,6 +12,11 @@ output "secret_id" { value = try(aws_secretsmanager_secret.this[0].id, null) } +output "secret_name" { + description = "The name of the secret" + value = try(aws_secretsmanager_secret.this[0].name, null) +} + output "secret_replica" { description = "Attributes of the replica created" value = try(aws_secretsmanager_secret.this[0].replica, null) From 462ec8c94819b608b74d076c77c3ae4d75c81e38 Mon Sep 17 00:00:00 2001 From: anilchalissery <37653985+anilchalissery@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:41:35 +0530 Subject: [PATCH 2/6] Update outputs.tf Examples output.tf updated --- examples/complete/outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/complete/outputs.tf b/examples/complete/outputs.tf index dc87c16..628bd31 100644 --- a/examples/complete/outputs.tf +++ b/examples/complete/outputs.tf @@ -12,6 +12,11 @@ output "standard_secret_id" { value = module.secrets_manager.secret_id } +output "standard_secret_name" { + description = "The name of the secret" + value = module.secrets_manager.secret_name +} + output "standard_secret_replica" { description = "Attributes of the replica created" value = module.secrets_manager.secret_replica From 1127157b4b83b36678ff725bf4d2d1a8955f941a Mon Sep 17 00:00:00 2001 From: anilchalissery <37653985+anilchalissery@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:48:55 +0530 Subject: [PATCH 3/6] Update README.md updated readme --- examples/complete/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/complete/README.md b/examples/complete/README.md index 598b0db..a7d4836 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -68,6 +68,7 @@ No inputs. | [rotate\_secret\_version\_id](#output\_rotate\_secret\_version\_id) | The unique identifier of the version of the secret | | [standard\_secret\_arn](#output\_standard\_secret\_arn) | The ARN of the secret | | [standard\_secret\_id](#output\_standard\_secret\_id) | The ID of the secret | +| [standard\_secret\_id](#output\_standard\_secret\_name) | The Name of the secret | | [standard\_secret\_replica](#output\_standard\_secret\_replica) | Attributes of the replica created | | [standard\_secret\_string](#output\_standard\_secret\_string) | The secret string | | [standard\_secret\_version\_id](#output\_standard\_secret\_version\_id) | The unique identifier of the version of the secret | From 400610433449daeb9238e32fb094574fd6050434 Mon Sep 17 00:00:00 2001 From: anilchalissery <37653985+anilchalissery@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:51:26 +0530 Subject: [PATCH 4/6] Update README.md --- examples/complete/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complete/README.md b/examples/complete/README.md index a7d4836..504b1fa 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -68,7 +68,7 @@ No inputs. | [rotate\_secret\_version\_id](#output\_rotate\_secret\_version\_id) | The unique identifier of the version of the secret | | [standard\_secret\_arn](#output\_standard\_secret\_arn) | The ARN of the secret | | [standard\_secret\_id](#output\_standard\_secret\_id) | The ID of the secret | -| [standard\_secret\_id](#output\_standard\_secret\_name) | The Name of the secret | +| [standard\_secret\_name](#output\_standard\_secret\_name) | The Name of the secret | | [standard\_secret\_replica](#output\_standard\_secret\_replica) | Attributes of the replica created | | [standard\_secret\_string](#output\_standard\_secret\_string) | The secret string | | [standard\_secret\_version\_id](#output\_standard\_secret\_version\_id) | The unique identifier of the version of the secret | From cf5541bf8e580a7c3eeea84d2fe7f88e0fee8cd1 Mon Sep 17 00:00:00 2001 From: anilchalissery <37653985+anilchalissery@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:54:11 +0530 Subject: [PATCH 5/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index af108dd..cf6a56b 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,7 @@ No modules. | [secret\_arn](#output\_secret\_arn) | The ARN of the secret | | [secret\_binary](#output\_secret\_binary) | The secret binary | | [secret\_id](#output\_secret\_id) | The ID of the secret | +| [secret\_name](#output\_secret\_name) | The name of the secret | | [secret\_replica](#output\_secret\_replica) | Attributes of the replica created | | [secret\_string](#output\_secret\_string) | The secret string | | [secret\_version\_id](#output\_secret\_version\_id) | The unique identifier of the version of the secret | From c1a2906e319ce3f262ef5bdc63b19f7d2875dc32 Mon Sep 17 00:00:00 2001 From: anil Date: Thu, 19 Sep 2024 20:35:03 +0530 Subject: [PATCH 6/6] fix --- examples/complete/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complete/README.md b/examples/complete/README.md index 504b1fa..016cce6 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -68,7 +68,7 @@ No inputs. | [rotate\_secret\_version\_id](#output\_rotate\_secret\_version\_id) | The unique identifier of the version of the secret | | [standard\_secret\_arn](#output\_standard\_secret\_arn) | The ARN of the secret | | [standard\_secret\_id](#output\_standard\_secret\_id) | The ID of the secret | -| [standard\_secret\_name](#output\_standard\_secret\_name) | The Name of the secret | +| [standard\_secret\_name](#output\_standard\_secret\_name) | The name of the secret | | [standard\_secret\_replica](#output\_standard\_secret\_replica) | Attributes of the replica created | | [standard\_secret\_string](#output\_standard\_secret\_string) | The secret string | | [standard\_secret\_version\_id](#output\_standard\_secret\_version\_id) | The unique identifier of the version of the secret |