From 0feb999cc89572a1da3ce5f689ecd01a4fbd3735 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Tue, 31 Jan 2023 01:26:28 +0000 Subject: [PATCH] Output the credentials --- tform/blog/.gitignore | 1 + tform/blog/output.tf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tform/blog/.gitignore b/tform/blog/.gitignore index a08f4f6..70d0f6f 100644 --- a/tform/blog/.gitignore +++ b/tform/blog/.gitignore @@ -1,2 +1,3 @@ *.tfvars .terraform/* +*.tfstate* diff --git a/tform/blog/output.tf b/tform/blog/output.tf index 4a24bf4..24b7306 100644 --- a/tform/blog/output.tf +++ b/tform/blog/output.tf @@ -1,8 +1,8 @@ output "id" { - value = aws_iam_access_key.blog_upload_key.id sensitive = true + value = aws_iam_access_key.blog_upload_key.id } -output "secret" { +output "key" { sensitive = true value = aws_iam_access_key.blog_upload_key.secret }