dtz_rss2email_profile

last updated: 2025-07-10

The dtz_rss2email_profile resource allows you to create, update, and delete RSS2Email profiles in the DownToZero.cloud service. An RSS2Email profile defines the email settings for RSS feed notifications.

Example Usage

resource "dtz_rss2email_profile" "example" {
  email = "user@example.com"
  subject = "New RSS Item: {title}"
  body = "A new item has been published:\n\nTitle: {title}\nLink: {link}\nDescription: {description}"
}

Schema

Required

  • email (String) The email address where RSS notifications will be sent.

Optional

  • subject (String) The subject template for the email notifications. You can use placeholders like {title} that will be replaced with actual content from the RSS feed.
  • body (String) The body template for the email notifications. You can use placeholders like {title}, {link}, {description} that will be replaced with actual content from the RSS feed.

Read-Only

  • id (String) The ID of this resource.

Import

Import is supported using the following syntax:

terraform import dtz_rss2email_profile.example <profile_id>

Terraform Docs

Github Sources