diff --git a/README.md b/README.md index 96b0fb7a..3fdbf3d3 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,9 @@ This document describes the abbreviated process below: "iam:TagUser", "iam:GetUser", "iam:DeleteUser", - "iam:CreateAccessKey" + "iam:CreateAccessKey", + "iam:ListAccessKeys", + "iam:DeleteAccessKeys" ], "Resource": "arn:aws:iam::{{AWS ACCOUNT ID}}:user/smtp_user" } diff --git a/modules/signoz/README.md b/modules/signoz/README.md index 58c3dd67..efdf9ffb 100644 --- a/modules/signoz/README.md +++ b/modules/signoz/README.md @@ -16,12 +16,10 @@ A number of items are needed: ## Setting up SMTP for alertmanager Alertmanager is an additional tool that is deployed to the kubernetes cluster that -handles forwarding an alert out to 1 or more streams that will recieve the alert. -The first stream setup is SMTP (Email) through gmail. In order to accomplish this -the following tasks need to be completed: - -1) Create an [App Password](https://support.google.com/accounts/answer/185833?hl=en) -2) In the account where this application is deployed create an AWS secretmanager secret named: `{cluster_name}/alertmanager_smtp_password` Example: `dpe-sandbox/alertmanager_smtp_password` +handles forwarding an alert out to 1 or more streams that will receive the alert. +Alert manager is set to to send emails through AWS SES (Simple Email Service) set up +by the `modules/sage-aws-ses` terraform scripts. See that module for more information +about the setup of AWS SES. ## Accessing signoz (Internet) diff --git a/modules/signoz/data.tf b/modules/signoz/data.tf deleted file mode 100644 index b84d635c..00000000 --- a/modules/signoz/data.tf +++ /dev/null @@ -1,7 +0,0 @@ -data "aws_secretsmanager_secret" "smtp_password" { - name = "${var.cluster_name}/alertmanager_smtp_password" -} - -data "aws_secretsmanager_secret_version" "smtp_password" { - secret_id = data.aws_secretsmanager_secret.smtp_password.id -} diff --git a/modules/signoz/templates/values.yaml b/modules/signoz/templates/values.yaml index 740ef38d..0147221d 100644 --- a/modules/signoz/templates/values.yaml +++ b/modules/signoz/templates/values.yaml @@ -1041,7 +1041,7 @@ alertmanager: ALERTMANAGER_SMTP_HOST: email-smtp.us-east-1.amazonaws.com ALERTMANAGER_SMTP_PORT: "465" ALERTMANAGER_SMTP_AUTH_USERNAME: - ALERTMANAGER_SMTP_AUTH_PASSWORD: + ALERTMANAGER_SMTP_AUTH_PASSWORD: initContainers: init: