Skip to content

Commit

Permalink
feat(terraform): enable email routing for tyriis.dev and jazzlyn.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 6, 2023
1 parent b3cec6f commit 9489577
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infra/terraform/cloudflare/jazzlyn_dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ resource "cloudflare_record" "cname_jazzlyn_github_io" {
proxied = true
}

# enable email routing for jazzlyn.dev
resource "cloudflare_email_routing_settings" "jazzlyn_dev" {
zone_id = data.cloudflare_zones.jazzlyn_dev.zones[0]["id"]
enabled = "true"
}

# create a cloudflare email routing rule to forward all emails sent to
# [email protected] to the main email address
Expand Down
5 changes: 5 additions & 0 deletions infra/terraform/cloudflare/tyriis_dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ resource "cloudflare_record" "cname_tyriis_github_io" {
proxied = true
}

# enable email routing for tyriis.dev
resource "cloudflare_email_routing_settings" "tyriis_dev" {
zone_id = data.cloudflare_zones.tyriis_dev.zones[0]["id"]
enabled = "true"
}

# create a cloudflare email routing rule to forward all emails sent to
# [email protected] to the main email address
Expand Down

0 comments on commit 9489577

Please sign in to comment.