rebuild module.ses_email

This commit is contained in:
Kenneth Kehl
2025-10-24 08:28:26 -07:00
parent 08f8104f76
commit cfb645c5ad
2 changed files with 15 additions and 1 deletions

View File

@@ -27,3 +27,17 @@ resource "cloudfoundry_service_instance" "ses" {
enable_feedback_notifications = true
})
}
resource "cloudfoundry_service_instance" "ses_official" {
provider = cloudfoundry.official
name = var.name
space = data.cloudfoundry_space.space.id
service_plan = data.cloudfoundry_service.ses.service_plans["base"]
json_params = jsonencode({
region = var.aws_region
domain = var.email_domain
mail_from_subdomain = var.mail_from_subdomain
email_receipt_error = var.email_receipt_error
enable_feedback_notifications = true
})
}

View File

@@ -65,7 +65,7 @@ module "egress-space" {
}
module "ses_email" {
source = "../shared/ses"
source = "../shared/ses_official"
providers = {
cloudfoundry = cloudfoundry.official
}