Created
June 29, 2023 10:03
-
-
Save nivleshc/8fcf69a91beee4c6811759ecf2922445 to your computer and use it in GitHub Desktop.
This gist is the fourth part of app_pipeline.tf from the blog-create-pipeline-to-deploy-terraform-code repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_sns_topic" "app_pipeline_approval_requests" { | |
name = "${var.project}_${var.env}_app_pipeline_approval_requests" | |
} | |
resource "aws_sns_topic_subscription" "app_approver_subscription" { | |
topic_arn = aws_sns_topic.app_pipeline_approval_requests.arn | |
protocol = "email" | |
endpoint = var.app_approver_email | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment