Skip to content

Commit d2c0995

Browse files
committed
CCM-10296: rename things
1 parent 071bcb8 commit d2c0995

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

infrastructure/terraform/components/app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
| <a name="input_environment"></a> [environment](#input\_environment) | The name of the tfscaffold environment | `string` | n/a | yes |
3535
| <a name="input_event_delivery_logging"></a> [event\_delivery\_logging](#input\_event\_delivery\_logging) | Enable SNS Event Delivery logging | `bool` | `true` | no |
3636
| <a name="input_event_delivery_logging_success_sample_percentage"></a> [event\_delivery\_logging\_success\_sample\_percentage](#input\_event\_delivery\_logging\_success\_sample\_percentage) | Enable caching of events to an S3 bucket | `number` | `0` | no |
37+
| <a name="input_external_email_domain"></a> [external\_email\_domain](#input\_external\_email\_domain) | Externally managed domain used to create an SES identity for sending emails from. Validation DNS records will need to be manually configured in the DNS provider. | `string` | `null` | no |
3738
| <a name="input_group"></a> [group](#input\_group) | The group variables are being inherited from (often synonmous with account short-name) | `string` | n/a | yes |
3839
| <a name="input_kms_deletion_window"></a> [kms\_deletion\_window](#input\_kms\_deletion\_window) | When a kms key is deleted, how long should it wait in the pending deletion state? | `string` | `"30"` | no |
3940
| <a name="input_letter_suppliers"></a> [letter\_suppliers](#input\_letter\_suppliers) | Letter suppliers enabled in the environment | <pre>map(object({<br/> enable_polling = bool<br/> default_supplier = optional(bool)<br/> }))</pre> | `{}` | no |
@@ -43,7 +44,6 @@
4344
| <a name="input_project"></a> [project](#input\_project) | The name of the tfscaffold project | `string` | n/a | yes |
4445
| <a name="input_region"></a> [region](#input\_region) | The AWS Region | `string` | n/a | yes |
4546
| <a name="input_retention_period"></a> [retention\_period](#input\_retention\_period) | Backup Vault Retention Period | `number` | `14` | no |
46-
| <a name="input_ses_overload_domain"></a> [ses\_overload\_domain](#input\_ses\_overload\_domain) | Additional SES domain identity (e.g. from an external domain). Validation DNS records will need to be manually configured in the DNS provider. | `string` | `null` | no |
4747
| <a name="input_url_prefix"></a> [url\_prefix](#input\_url\_prefix) | The url prefix to use for the deployed branch | `string` | `"main"` | no |
4848
## Modules
4949

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resource "aws_ses_domain_dkim" "external" {
2+
count = var.external_email_domain == null ? 0 : 1
3+
4+
domain = aws_ses_domain_identity.external[0].domain
5+
}

infrastructure/terraform/components/app/ses_domain_dkim_overload.tf

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resource "aws_ses_domain_identity" "external" {
2+
count = var.external_email_domain == null ? 0 : 1
3+
4+
domain = var.external_email_domain
5+
}

infrastructure/terraform/components/app/ses_domain_identity_overload.tf

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
resource "aws_ses_domain_mail_from" "external" {
2+
count = var.external_email_domain == null ? 0 : 1
3+
4+
domain = aws_ses_domain_identity.external[0].domain
5+
mail_from_domain = "mail.${aws_ses_domain_identity.external[0].domain}"
6+
}

infrastructure/terraform/components/app/ses_domain_mail_from_overload.tf

Lines changed: 0 additions & 6 deletions
This file was deleted.

infrastructure/terraform/components/app/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ variable "letter_suppliers" {
212212
description = "Letter suppliers enabled in the environment"
213213
}
214214

215-
variable "ses_overload_domain" {
215+
variable "external_email_domain" {
216216
type = string
217217
default = null
218-
description = "Additional SES domain identity (e.g. from an external domain). Validation DNS records will need to be manually configured in the DNS provider."
218+
description = "Externally managed domain used to create an SES identity for sending emails from. Validation DNS records will need to be manually configured in the DNS provider."
219219
}

0 commit comments

Comments
 (0)