From 023d2bea60c9592dfdd185cde581966e67cea7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 6 Aug 2019 09:40:56 -0400 Subject: [PATCH] fix how we extract the smtp password from aws_iam_access_key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.terraform.io/docs/providers/aws/r/iam_access_key.html#ses_smtp_password Signed-off-by: Jakub SokoĊ‚owski --- outputs.tf | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/outputs.tf b/outputs.tf index 90a6547..b324e35 100644 --- a/outputs.tf +++ b/outputs.tf @@ -3,14 +3,9 @@ * For details see: https://www.terraform.io/docs/providers/aws/r/iam_access_key.html **/ -output "smtp_access_key" { +output "smtp_username" { value = "${aws_iam_access_key.smtp.id}" } -output "smtp_secret_key" { - value = "${aws_iam_access_key.smtp.encrypted_secret}" +output "smtp_password" { + value = "${aws_iam_access_key.smtp.ses_smtp_password}" } - -/** - * This can be decrypted with: - * echo $encrypted_secret | base64 --decode | keybase pgp - **/