Skip to content

Commit

Permalink
feat(service): expose tech_emails
Browse files Browse the repository at this point in the history
Allow users to set `tech_emails` member of service.
  • Loading branch information
jeff-held-aiven committed Dec 18, 2023
1 parent 844d0b7 commit 64e1167
Show file tree
Hide file tree
Showing 36 changed files with 379 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ nav_order: 1
## [4.9.4] - 2023-12-13

- Fix race issues with `aiven_mirrormaker_replication_flow` on create/update/delete operations
- Add `tech_emails` to services

## [4.9.3] - 2023-10-27

Expand Down
9 changes: 9 additions & 0 deletions docs/data-sources/cassandra.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_cassandra" "bar" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--cassandra"></a>
Expand Down Expand Up @@ -152,3 +153,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/clickhouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_clickhouse" "clickhouse" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--clickhouse"></a>
Expand Down Expand Up @@ -154,3 +155,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_flink" "flink" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -129,3 +130,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_grafana" "gr1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -286,3 +287,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/influxdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_influxdb" "inf1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -163,3 +164,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ data "aiven_kafka" "kafka1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -303,3 +304,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/kafka_connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_kafka_connect" "kc1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -171,3 +172,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/kafka_mirrormaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_kafka_mirrormaker" "mm1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -134,3 +135,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/m3aggregator.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_m3aggregator" "m3a" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -118,3 +119,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/m3db.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_m3db" "m3" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -248,3 +249,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_mysql" "mysql1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -212,3 +213,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_opensearch" "os1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -311,3 +312,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
9 changes: 9 additions & 0 deletions docs/data-sources/pg.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_pg" "pg" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -295,3 +296,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
2 changes: 1 addition & 1 deletion docs/data-sources/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ data "aiven_project" "myproject" {
- `parent_id` (String) An optional property to link a project to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
- `payment_method` (String) The method of invoicing used for payments for this project, e.g. `card`.
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize projects. (see [below for nested schema](#nestedatt--tag))
- `technical_emails` (Set of String) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- `technical_emails` (Set of String) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is a good practice to keep this up-to-date to be aware of any potential issues with your project.
- `use_source_project_billing_group` (Boolean) Use the same billing group that is used in source project.

<a id="nestedatt--tag"></a>
Expand Down
9 changes: 9 additions & 0 deletions docs/data-sources/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "aiven_redis" "redis1" {
- `state` (String) Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
- `static_ips` (Set of String) Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- `tag` (Set of Object) Tags are key-value pairs that allow you to categorize services. (see [below for nested schema](#nestedatt--tag))
- `tech_emails` (Set of Object) Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. (see [below for nested schema](#nestedatt--tech_emails))
- `termination_protection` (Boolean) Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.

<a id="nestedatt--components"></a>
Expand Down Expand Up @@ -176,3 +177,11 @@ Read-Only:

- `key` (String)
- `value` (String)


<a id="nestedatt--tech_emails"></a>
### Nested Schema for `tech_emails`

Read-Only:

- `email` (String)
Loading

0 comments on commit 64e1167

Please sign in to comment.