add email dkim & admin smtp cred

This commit is contained in:
2024-05-28 05:26:50 +06:00
parent 7812040eb8
commit 51eadd4b9a
5 changed files with 42 additions and 1 deletions
+20
View File
@@ -46,6 +46,17 @@ output "admin_auth_token" {
sensitive = true
}
output "admin_smtp_username" {
description = "The SMTP username of the admin user"
value = oci_identity_smtp_credential.admin[0].username
}
output "admin_smtp_password" {
description = "The SMTP password of the admin user"
value = oci_identity_smtp_credential.admin[0].password
sensitive = true
}
output "api_key_private" {
description = "The private part of the admin user API key"
value = try(tls_private_key.admin_api_key[0].private_key_pem, null)
@@ -121,6 +132,15 @@ output "email_endpoints" {
}
}
output "email_dkim_records" {
description = "The DKIM records for the email domain"
value = { for k, v in oci_email_dkim.domain : k => {
cname_value = v.cname_record_value
cname_record = v.dns_subdomain_name
txt_record = v.txt_record_value
} }
}
output "kms_vault_id" {
description = "The ID of the KMS vault"
value = oci_kms_vault.vault[0].id