mirror of
https://github.com/dap-ps/infra-dapps.git
synced 2025-02-22 17:08:06 +00:00
fix how we extract the smtp password from aws_iam_access_key
https://www.terraform.io/docs/providers/aws/r/iam_access_key.html#ses_smtp_password Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
82e34bdfb0
commit
023d2bea60
11
outputs.tf
11
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
|
||||
**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user