Skip to content

Commit

Permalink
chore(update): update schemas (2024-11-14) (#1899)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
github-actions[bot] and web-flow authored Nov 14, 2024
1 parent 8ffb934 commit 53eee6c
Show file tree
Hide file tree
Showing 21 changed files with 158 additions and 47 deletions.
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,66 @@ nav_order: 1
aliases alongside their associated indexes
- Change `aiven_cassandra` resource field `cassandra_user_config.additional_backup_regions`: remove deprecation
- Change `aiven_cassandra` datasource field `cassandra_user_config.additional_backup_regions`: remove deprecation
- Add `aiven_influxdb` resource field `influxdb_user_config.private_access.user_backup`: Allow clients to connect
to user_backup with a DNS name that always resolves to the service's private IP addresses
- Add `aiven_influxdb` resource field `influxdb_user_config.privatelink_access.user_backup`: Enable user_backup.
- Add `aiven_influxdb` resource field `influxdb_user_config.public_access.user_backup`: Allow clients to connect
to user_backup from the public internet for service nodes that are in a project VPC or another type of private network.
- Add `aiven_thanos` resource field `thanos_user_config.receiver_ingesting`: CommonReceive.
- Add `aiven_thanos` resource field `thanos_user_config.receiver_routing`: ThanosReceiveRouting.
- Add `aiven_thanos` resource field `thanos_user_config.ruler`: ThanosRuler.
- Add `aiven_thanos` resource field `thanos_user_config.store`: ThanosStore.
- Add `aiven_influxdb` datasource field `influxdb_user_config.private_access.user_backup`: Allow clients to connect
to user_backup with a DNS name that always resolves to the service's private IP addresses
- Add `aiven_influxdb` datasource field `influxdb_user_config.privatelink_access.user_backup`: Enable user_backup.
- Add `aiven_influxdb` datasource field `influxdb_user_config.public_access.user_backup`: Allow clients to connect
to user_backup from the public internet for service nodes that are in a project VPC or another type of private network.
- Add `aiven_thanos` datasource field `thanos_user_config.receiver_ingesting`: CommonReceive.
- Add `aiven_thanos` datasource field `thanos_user_config.receiver_routing`: ThanosReceiveRouting.
- Add `aiven_thanos` datasource field `thanos_user_config.ruler`: ThanosRuler.
- Add `aiven_thanos` datasource field `thanos_user_config.store`: ThanosStore.
- Change `aiven_account_team_project` resource field `team_type`: add `organization:app_users:write`,
`organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`,
`organization:groups:write`, `organization:idps:write`, `organization:network:read`, `organization:network:write`,
`organization:permissions:read`, `organization:permissions:write`, `organization:projects:read`,
`organization:projects:write`, `organization:users:write`, `project:services:write`, `role:organization:admin`,
`role:services:maintenance`, `role:services:recover`, `service:data:write`, `service:secrets:read`,
`service:users:write`, remove `services:maintenance`
- Change `aiven_opensearch` resource field `opensearch_user_config.azure_migration.indices`: optional ~~`true`~~`false`
- Change `aiven_opensearch` resource field `opensearch_user_config.gcs_migration.indices`: optional ~~`true`~~`false`
- Change `aiven_opensearch` resource field `opensearch_user_config.s3_migration.indices`: optional ~~`true`~~`false`
- Change `aiven_organization_permission` resource field `permissions.permissions`: add `organization:app_users:write`,
`organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`,
`organization:groups:write`, `organization:idps:write`, `organization:network:read`, `organization:network:write`,
`organization:permissions:read`, `organization:permissions:write`, `organization:projects:read`,
`organization:projects:write`, `organization:users:write`, `project:services:write`, `role:organization:admin`,
`role:services:maintenance`, `role:services:recover`, `service:data:write`, `service:secrets:read`,
`service:users:write`, remove `services:maintenance`
- Change `aiven_organization_permission` resource field `resource_type`: add `organization_unit`, `organization`
- Change `aiven_project_user` resource field `member_type`: add `organization:app_users:write`,
`organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`,
`organization:groups:write`, `organization:idps:write`, `organization:network:read`, `organization:network:write`,
`organization:permissions:read`, `organization:permissions:write`, `organization:projects:read`,
`organization:projects:write`, `organization:users:write`, `project:services:write`, `role:organization:admin`,
`role:services:maintenance`, `role:services:recover`, `service:data:write`, `service:secrets:read`,
`service:users:write`, remove `services:maintenance`
- Change `aiven_account_team_project` datasource field `team_type`: add `organization:app_users:write`,
`organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`,
`organization:groups:write`, `organization:idps:write`, `organization:network:read`, `organization:network:write`,
`organization:permissions:read`, `organization:permissions:write`, `organization:projects:read`,
`organization:projects:write`, `organization:users:write`, `project:services:write`, `role:organization:admin`,
`role:services:maintenance`, `role:services:recover`, `service:data:write`, `service:secrets:read`,
`service:users:write`, remove `services:maintenance`
- Change `aiven_opensearch` datasource field `opensearch_user_config.azure_migration.indices`: optional ~~`true`~~`false`
- Change `aiven_opensearch` datasource field `opensearch_user_config.gcs_migration.indices`: optional ~~`true`~~`false`
- Change `aiven_opensearch` datasource field `opensearch_user_config.s3_migration.indices`: optional ~~`true`~~`false`
- Change `aiven_project_user` datasource field `member_type`: add `organization:app_users:write`,
`organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`,
`organization:groups:write`, `organization:idps:write`, `organization:network:read`, `organization:network:write`,
`organization:permissions:read`, `organization:permissions:write`, `organization:projects:read`,
`organization:projects:write`, `organization:users:write`, `project:services:write`, `role:organization:admin`,
`role:services:maintenance`, `role:services:recover`, `service:data:write`, `service:secrets:read`,
`service:users:write`, remove `services:maintenance`

## [4.28.0] - 2024-10-21

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ schemas-update:
$(CHANGELOG) -save -schema=$(OLD_SCHEMA)
go get github.com/aiven/go-client-codegen@latest github.com/aiven/go-api-schemas@latest
go mod tidy
$(MAKE) gen-go
$(MAKE) generate
$(CHANGELOG) -diff -schema=$(OLD_SCHEMA) -changelog=CHANGELOG.md
rm $(OLD_SCHEMA)

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`, `services:maintenance`, `service:logs:read`, `project:services:read` and `project:audit_logs:read`.
- `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`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
2 changes: 1 addition & 1 deletion docs/data-sources/project_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ data "aiven_project_user" "mytestuser" {

- `accepted` (Boolean) Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
- `id` (String) The ID of this resource.
- `member_type` (String) Project membership type. The possible values are `admin`, `developer`, `operator`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `read_only`, `service:configuration:write`, `service:logs:read` and `services:maintenance`.
- `member_type` (String) Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:network:read`, `organization:network:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:projects:read`, `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`.
4 changes: 4 additions & 0 deletions docs/data-sources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,12 @@ Read-Only:
- `public_access` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--public_access))
- `query` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--query))
- `query_frontend` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--query_frontend))
- `receiver_ingesting` (Map of String)
- `receiver_routing` (Map of String)
- `ruler` (Map of String)
- `service_log` (Boolean)
- `static_ips` (Boolean)
- `store` (Map of String)

<a id="nestedobjatt--thanos_user_config--compactor"></a>
### Nested Schema for `thanos_user_config.compactor`
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`, `services:maintenance`, `service:logs:read`, `project:services:read` and `project:audit_logs:read`.
- `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`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` 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/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Optional:
- `log_cleaner_min_cleanable_ratio` (Number) Controls log compactor frequency. Larger value means more frequent compactions but also more space wasted for logs. Consider setting log.cleaner.max.compaction.lag.ms to enforce compactions sooner, instead of setting a very high value for this option. (Default: 0.5). Example: `0.5`.
- `log_cleaner_min_compaction_lag_ms` (Number) The minimum time a message will remain uncompacted in the log. Only applicable for logs that are being compacted. (Default: 0 ms).
- `log_cleanup_policy` (String) Enum: `compact`, `compact,delete`, `delete`. The default cleanup policy for segments beyond the retention window (Default: delete).
- `log_flush_interval_messages` (Number) The number of messages accumulated on a log partition before messages are flushed to disk (Default: 9223372036854775807 (Long.MAX_VALUE)). Example: `9223372036854775807`.
- `log_flush_interval_messages` (Number) The number of messages accumulated on a log partition before messages are flushed to disk (Default: 9223372036854775807 (Long.MAX_VALUE)).
- `log_flush_interval_ms` (Number) The maximum time in ms that a message in any topic is kept in memory (page-cache) before flushed to disk. If not set, the value in log.flush.scheduler.interval.ms is used (Default: null).
- `log_index_interval_bytes` (Number) The interval with which Kafka adds an entry to the offset index (Default: 4096 bytes (4 kibibytes)). Example: `4096`.
- `log_index_size_max_bytes` (Number) The maximum size in bytes of the offset index (Default: 10485760 (10 mebibytes)). Example: `10485760`.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Optional:
- `interactive_timeout` (Number) The number of seconds the server waits for activity on an interactive connection before closing it. Example: `3600`.
- `internal_tmp_mem_storage_engine` (String) Enum: `MEMORY`, `TempTable`. The storage engine for in-memory internal temporary tables.
- `log_output` (String) Enum: `INSIGHTS`, `INSIGHTS,TABLE`, `NONE`, `TABLE`. The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE.
- `long_query_time` (Number) The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Example: `10`.
- `long_query_time` (Number) The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Example: `10.0`.
- `max_allowed_packet` (Number) Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M). Example: `67108864`.
- `max_heap_table_size` (Number) Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M). Example: `16777216`.
- `net_buffer_length` (Number) Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. Example: `16384`.
Expand Down
Loading

0 comments on commit 53eee6c

Please sign in to comment.