Skip to content

Commit

Permalink
chore(release): v4.34.0 (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov authored Jan 29, 2025
1 parent 324583a commit d17b833
Show file tree
Hide file tree
Showing 20 changed files with 33 additions and 25 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ nav_order: 1
<!-- Always keep the following header in place: -->
<!--## [MAJOR.MINOR.PATCH] - YYYY-MM-DD -->

## [MAJOR.MINOR.PATCH] - YYYY-MM-DD
## [4.34.0] - 2025-01-29

- Fix `pg_user`: throws an error when the password is modified directly in the service
- Fix `pg_user`: throws an error when the password is modified directly in the service
- Enable `read_replica` service integration for `aiven_redis` and `aiven_valkey` resources
- Add `disaster_recovery` service integration type support
- Add `aiven_flink_jar_application`, `aiven_flink_jar_application_version` and `aiven_flink_jar_application_deployment` BETA resources
Expand All @@ -22,6 +22,7 @@ nav_order: 1
- Change `aiven_project_user` field `member_type` (enum): add `organization:networking:read`, `organization:networking:write`
- Change `aiven_service_integration_endpoint` field `endpoint_type` (enum): add `external_azure_blob_storage`
- Replaced `aiven-go-client/v2` with `aiven/go-client-codegen` in `project_user` resource/data source
- Add `aiven_valkey` field `valkey_user_config.frequent_snapshots`: When enabled, Valkey will create frequent local RDB snapshots

## [4.33.0] - 2025-01-16

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/account_team_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ data "aiven_account_team_project" "account_team_project1" {
### Read-Only

- `id` (String) The ID of this resource.
- `team_type` (String) The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:projects:write`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:networking:read`, `organization:networking:write` and `role:organization:admin`.
- `team_type` (String) The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
2 changes: 1 addition & 1 deletion docs/data-sources/connection_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ data "aiven_connection_pool" "main" {
- `connection_uri` (String, Sensitive) The URI for connecting to the pool.
- `database_name` (String) The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- `id` (String) The ID of this resource.
- `pool_mode` (String) The [operational mode](https://aiven.io/docs/products/postgresql/concepts/pg-connection-pooling#pooling-modes). The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
- `pool_mode` (String) The [operational mode](https://aiven.io/docs/products/postgresql/concepts/pg-connection-pooling#pooling-modes). The possible values are `session`, `statement` and `transaction`. The default value is `transaction`.
- `pool_size` (Number) The number of PostgreSQL server connections this pool can use at a time. This does not affect the number of incoming connections. Each pool can handle a minimum of 5000 client connections. The default value is `10`.
- `username` (String) The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
2 changes: 1 addition & 1 deletion docs/data-sources/mysql_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ data "aiven_mysql_user" "user" {

- `access_cert` (String, Sensitive) Access certificate for the user
- `access_key` (String, Sensitive) Access certificate key for the user
- `authentication` (String) Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
- `authentication` (String) Authentication details. The possible values are `caching_sha2_password`, `mysql_native_password` and `null`.
- `id` (String) The ID of this resource.
- `password` (String, Sensitive) The password of the MySQL User ( not applicable for all services ).
- `type` (String) Type of the user account. Tells whether the user is the primary account or a regular account.
2 changes: 1 addition & 1 deletion docs/data-sources/opensearch_acl_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ data "aiven_opensearch_acl_rule" "os_acl_rule" {
### Required

- `index` (String) The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
- `permission` (String) The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
- `permission` (String) The permissions for this ACL entry. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
- `project` (String) The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- `service_name` (String) The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- `username` (String) The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/service_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data "aiven_service_component" "sc1" {
### Optional

- `kafka_authentication_method` (String) Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
- `route` (String) Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
- `route` (String) Network access route. The possible values are `dynamic`, `private`, `privatelink` and `public`.
- `service_name` (String) Service name
- `ssl` (Boolean) Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
- `usage` (String) DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/valkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Read-Only:
- `additional_backup_regions` (List of String)
- `backup_hour` (Number)
- `backup_minute` (Number)
- `frequent_snapshots` (Boolean)
- `ip_filter` (Set of String)
- `ip_filter_object` (Set of Object) (see [below for nested schema](#nestedobjatt--valkey_user_config--ip_filter_object))
- `ip_filter_string` (Set of String)
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/account_team_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "aiven_account_team_project" "main" {
### Optional

- `project_name` (String) The name of an already existing project
- `team_type` (String) The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:projects:write`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:networking:read`, `organization:networking:write` and `role:organization:admin`.
- `team_type` (String) The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

### Read-Only
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/connection_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "aiven_connection_pool" "main" {

### Optional

- `pool_mode` (String) The [operational mode](https://aiven.io/docs/products/postgresql/concepts/pg-connection-pooling#pooling-modes). The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
- `pool_mode` (String) The [operational mode](https://aiven.io/docs/products/postgresql/concepts/pg-connection-pooling#pooling-modes). The possible values are `session`, `statement` and `transaction`. The default value is `transaction`.
- `pool_size` (Number) The number of PostgreSQL server connections this pool can use at a time. This does not affect the number of incoming connections. Each pool can handle a minimum of 5000 client connections. The default value is `10`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/kafka_topic.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ resource "aiven_kafka_topic" "example_topic" {

Optional:

- `cleanup_policy` (String) cleanup.policy value. The possible values are `delete`, `compact` and `compact,delete`.
- `compression_type` (String) compression.type value. The possible values are `snappy`, `gzip`, `lz4`, `producer`, `uncompressed` and `zstd`.
- `cleanup_policy` (String) cleanup.policy value. The possible values are `compact`, `compact,delete` and `delete`.
- `compression_type` (String) compression.type value. The possible values are `gzip`, `lz4`, `producer`, `snappy`, `uncompressed` and `zstd`.
- `delete_retention_ms` (String) delete.retention.ms value
- `file_delete_delay_ms` (String) file.delete.delay.ms value
- `flush_messages` (String) flush.messages value
Expand All @@ -76,7 +76,7 @@ Optional:
- `max_compaction_lag_ms` (String) max.compaction.lag.ms value
- `max_message_bytes` (String) max.message.bytes value
- `message_downconversion_enable` (Boolean) message.downconversion.enable value
- `message_format_version` (String) message.format.version value. The possible values are `0.8.0`, `0.8.1`, `0.8.2`, `0.9.0`, `0.10.0`, `0.10.0-IV0`, `0.10.0-IV1`, `0.10.1`, `0.10.1-IV0`, `0.10.1-IV1`, `0.10.1-IV2`, `0.10.2`, `0.10.2-IV0`, `0.11.0`, `0.11.0-IV0`, `0.11.0-IV1`, `0.11.0-IV2`, `1.0`, `1.0-IV0`, `1.1`, `1.1-IV0`, `2.0`, `2.0-IV0`, `2.0-IV1`, `2.1`, `2.1-IV0`, `2.1-IV1`, `2.1-IV2`, `2.2`, `2.2-IV0`, `2.2-IV1`, `2.3`, `2.3-IV0`, `2.3-IV1`, `2.4`, `2.4-IV0`, `2.4-IV1`, `2.5`, `2.5-IV0`, `2.6`, `2.6-IV0`, `2.7`, `2.7-IV0`, `2.7-IV1`, `2.7-IV2`, `2.8`, `2.8-IV0`, `2.8-IV1`, `3.0`, `3.0-IV0`, `3.0-IV1`, `3.1`, `3.1-IV0`, `3.2`, `3.2-IV0`, `3.3`, `3.3-IV0`, `3.3-IV1`, `3.3-IV2`, `3.3-IV3`, `3.4`, `3.4-IV0`, `3.5`, `3.5-IV0`, `3.5-IV1`, `3.5-IV2`, `3.6`, `3.6-IV0`, `3.6-IV1`, `3.6-IV2`, `3.7`, `3.7-IV0`, `3.7-IV1`, `3.7-IV2`, `3.7-IV3`, `3.7-IV4`, `3.8`, `3.8-IV0`, `3.9`, `3.9-IV0` and `3.9-IV1`.
- `message_format_version` (String) message.format.version value. The possible values are `0.10.0`, `0.10.0-IV0`, `0.10.0-IV1`, `0.10.1`, `0.10.1-IV0`, `0.10.1-IV1`, `0.10.1-IV2`, `0.10.2`, `0.10.2-IV0`, `0.11.0`, `0.11.0-IV0`, `0.11.0-IV1`, `0.11.0-IV2`, `0.8.0`, `0.8.1`, `0.8.2`, `0.9.0`, `1.0`, `1.0-IV0`, `1.1`, `1.1-IV0`, `2.0`, `2.0-IV0`, `2.0-IV1`, `2.1`, `2.1-IV0`, `2.1-IV1`, `2.1-IV2`, `2.2`, `2.2-IV0`, `2.2-IV1`, `2.3`, `2.3-IV0`, `2.3-IV1`, `2.4`, `2.4-IV0`, `2.4-IV1`, `2.5`, `2.5-IV0`, `2.6`, `2.6-IV0`, `2.7`, `2.7-IV0`, `2.7-IV1`, `2.7-IV2`, `2.8`, `2.8-IV0`, `2.8-IV1`, `3.0`, `3.0-IV0`, `3.0-IV1`, `3.1`, `3.1-IV0`, `3.2`, `3.2-IV0`, `3.3`, `3.3-IV0`, `3.3-IV1`, `3.3-IV2`, `3.3-IV3`, `3.4`, `3.4-IV0`, `3.5`, `3.5-IV0`, `3.5-IV1`, `3.5-IV2`, `3.6`, `3.6-IV0`, `3.6-IV1`, `3.6-IV2`, `3.7`, `3.7-IV0`, `3.7-IV1`, `3.7-IV2`, `3.7-IV3`, `3.7-IV4`, `3.8`, `3.8-IV0`, `3.9`, `3.9-IV0` and `3.9-IV1`.
- `message_timestamp_difference_max_ms` (String) message.timestamp.difference.max.ms value
- `message_timestamp_type` (String) message.timestamp.type value. The possible values are `CreateTime` and `LogAppendTime`.
- `min_cleanable_dirty_ratio` (Number) min.cleanable.dirty.ratio value
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/mysql_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "aiven_mysql_user" "foo" {

### Optional

- `authentication` (String) Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
- `authentication` (String) Authentication details. The possible values are `caching_sha2_password`, `mysql_native_password` and `null`.
- `password` (String, Sensitive) The password of the MySQL User ( not applicable for all services ).
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/opensearch_acl_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ resource "aiven_opensearch_acl_rule" "os_acl_rule" {
### Required

- `index` (String) The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
- `permission` (String) The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
- `permission` (String) The permissions for this ACL entry. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
- `project` (String) The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- `service_name` (String) The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- `username` (String) The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/organization_group_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "aiven_organization_group_project" "example" {

- `group_id` (String) The ID of the user group.
- `project` (String) The project that the users in the group are members of.
- `role` (String) [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:projects:write`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:networking:read`, `organization:networking:write` and `role:organization:admin`.
- `role` (String) [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.

### Optional

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/organization_permission.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ resource "aiven_organization_permission" "example_org_permissions" {
- `organization_id` (String) Organization ID.
- `permissions` (Block Set, Min: 1) Permissions to grant to principals. (see [below for nested schema](#nestedblock--permissions))
- `resource_id` (String) Resource ID.
- `resource_type` (String) Resource type. The possible values are `project`, `organization` and `organization_unit`.
- `resource_type` (String) Resource type. The possible values are `organization`, `organization_unit` and `project`.

### Optional

Expand Down
1 change: 1 addition & 0 deletions docs/resources/valkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Optional:
- `additional_backup_regions` (List of String) Additional Cloud Regions for Backup Replication.
- `backup_hour` (Number) The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example: `3`.
- `backup_minute` (Number) The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example: `30`.
- `frequent_snapshots` (Boolean) When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when `valkey_persistence` is set to `off`. Default: `true`.
- `ip_filter` (Set of String, Deprecated) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
- `ip_filter_object` (Block Set, Max: 2048) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16` (see [below for nested schema](#nestedblock--valkey_user_config--ip_filter_object))
- `ip_filter_string` (Set of String) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.23

require (
github.com/aiven/aiven-go-client/v2 v2.34.0
github.com/aiven/go-client-codegen v0.79.0
github.com/aiven/go-client-codegen v0.81.0
github.com/avast/retry-go v3.0.0+incompatible
github.com/dave/jennifer v1.7.1
github.com/docker/go-units v0.5.0
Expand All @@ -18,6 +18,7 @@ require (
github.com/hashicorp/terraform-plugin-mux v0.18.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/rs/zerolog v1.33.0
github.com/samber/lo v1.49.0
github.com/stoewer/go-strcase v1.3.0
github.com/stretchr/testify v1.10.0
Expand All @@ -37,7 +38,6 @@ require (
github.com/json-iterator/go v1.1.12 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/rs/zerolog v1.33.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
Expand All @@ -49,7 +49,7 @@ require (

require (
github.com/agext/levenshtein v1.2.3 // indirect
github.com/aiven/go-api-schemas v1.111.0
github.com/aiven/go-api-schemas v1.112.0
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.16.0 // indirect
Expand Down
Loading

0 comments on commit d17b833

Please sign in to comment.