Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MaterializeInc/terraform-provider-materialize
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 44ae47dd70e9a6ff53560a051e7f0c27d5dbf40f
Choose a base ref
..
head repository: MaterializeInc/terraform-provider-materialize
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 285933f46b76dd3f5c11eba4716efad3ac37c6ac
Choose a head ref
35 changes: 33 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,39 @@
# Changelog

## Unreleased
## 0.8.12 - 2024-12-20

* Remove outdated feature lifecycle annotations for features that are now Generally Available (GA).
## Features

* Support self-managed instances [#674](https://github.com/MaterializeInc/terraform-provider-materialize/pull/674).
Now users can configure the provider like this:
```hcl
# Self-managed configuration
provider "materialize" {
host = "localhost" # Required for self-managed deployments
port = 6875 # Optional, defaults to 6875
database = "materialize" # Optional, defaults to materialize
username = "materialize" # Optional, defaults to materialize
password = "" # Optional
sslmode = "disable" # Optional, defaults to require
}
# SaaS configuration (unchanged)
provider "materialize" {
password = "materialize_password"
default_region = "aws/us-east-1"
}
```
## Bug Fixes
* Fix intermittent test failures [#684](https://github.com/MaterializeInc/terraform-provider-materialize/pull/684)
* `materialize_sink_kafka` resource: sort topic config map keys for consistent SQL generation [#677](https://github.com/MaterializeInc/terraform-provider-materialize/pull/677)
## Misc
* Remove outdated feature lifecycle annotations for features that are now Generally Available (GA) [#679](https://github.com/MaterializeInc/terraform-provider-materialize/pull/679)
* Update Redpanda image reference: [#681](https://github.com/MaterializeInc/terraform-provider-materialize/pull/681)
* Routine dependency updates: [#672](https://github.com/MaterializeInc/terraform-provider-materialize/pull/672), [#673](https://github.com/MaterializeInc/terraform-provider-materialize/pull/673), [#678](https://github.com/MaterializeInc/terraform-provider-materialize/pull/678), [#680](https://github.com/MaterializeInc/terraform-provider-materialize/pull/680), [#683](https://github.com/MaterializeInc/terraform-provider-materialize/pull/683)
## 0.8.11 - 2024-11-13
2 changes: 1 addition & 1 deletion docs/resources/source_table_kafka.md
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ resource "materialize_source_table_kafka" "kafka_source_table" {

### Optional

- `comment` (String) Comment on an object in the database.
- `comment` (String) **Public Preview** Comment on an object in the database.
- `database_name` (String) The identifier for the source table database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set.
- `envelope` (Block List, Max: 1) How Materialize should interpret records (e.g. append-only, upsert).. (see [below for nested schema](#nestedblock--envelope))
- `expose_progress` (Block List, Max: 1) The name of the progress collection for the source. If this is not specified, the collection will be named `<src_name>_progress`. (see [below for nested schema](#nestedblock--expose_progress))
2 changes: 1 addition & 1 deletion docs/resources/source_table_load_generator.md
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ resource "materialize_source_table_load_generator" "load_generator_table_from_so

### Optional

- `comment` (String) Comment on an object in the database.
- `comment` (String) **Public Preview** Comment on an object in the database.
- `database_name` (String) The identifier for the table database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set.
- `ownership_role` (String) The owernship role of the object.
- `region` (String) The region to use for the resource connection. If not set, the default region is used.
2 changes: 1 addition & 1 deletion docs/resources/source_table_mysql.md
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ resource "materialize_source_table_mysql" "mysql_table_from_source" {

### Optional

- `comment` (String) Comment on an object in the database.
- `comment` (String) **Public Preview** Comment on an object in the database.
- `database_name` (String) The identifier for the table database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set.
- `exclude_columns` (List of String) Exclude specific columns when reading data from MySQL. This option used to be called `ignore_columns`.
- `ownership_role` (String) The owernship role of the object.
2 changes: 1 addition & 1 deletion docs/resources/source_table_postgres.md
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ resource "materialize_source_table_postgres" "postgres_table_from_source" {

### Optional

- `comment` (String) Comment on an object in the database.
- `comment` (String) **Public Preview** Comment on an object in the database.
- `database_name` (String) The identifier for the table database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set.
- `ownership_role` (String) The owernship role of the object.
- `region` (String) The region to use for the resource connection. If not set, the default region is used.
2 changes: 1 addition & 1 deletion pkg/provider/provider.go
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ func Provider(version string) *schema.Provider {
DefaultFunc: schema.EnvDefaultFunc("MZ_SSLMODE", "require"),
Description: "For testing purposes, the SSL mode to use.",
},
// TODO: Switch name to Admin Endpoint for consistency
// TODO: Switch name to Admin Endpoint for consistency:
"endpoint": {
Type: schema.TypeString,
Optional: true,