add CATALOG_TYPE_FEDERATED support to google_biglake_iceberg_catalog
Add support for CATALOG_TYPE_FEDERATED in google_biglake_iceberg_catalog to configure Cross-Cloud Lakehouse.
Changes
- mmv1/products/biglakeiceberg/IcebergCatalog.yaml
- Add
CATALOG_TYPE_FEDERATEDto catalog_type enum. - Add federated_catalog_options.
- Add biglake_service_account_member attribute for convenience.
- Reference: iceberg.v1.restcatalog.extensions.projects.catalogs
- Add
- mmv1/templates/terraform/custom_update/biglake_iceberg_catalog_update.go.tmpl
- Modify update logics to support the new fields.
- Since the API refuses
federated_catalog_optionsas a single update mask field, we need to enumerate allowed sub-field paths such as refresh_options.
- mmv1/templates/terraform/samples/services/biglakeiceberg/*
- Add the examples for both glue and unity catalog.
Testing
- glue_catalog_info: Manually verified with our GCP project and AWS glue catalog based on the scenario described on the official guide.
- unity_catalog_info: Not tested. We have no databricks account.😢
biglakeiceberg: add support for `CATALOG_TYPE_FEDERATED` with `federated_catalog_options` for Cross-Cloud Lakehouse
Googlers: For automatic test runs see go/terraform-auto-test-runs.
@slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.
You can help make sure that review is quick by doing a self-review and by running impacted tests locally.
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.
Hello @slevenick, Is there anything we can do to help merge this? We hope this feature will be available asap on the provider 🤗
@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 092f1456fb54d461349094603b0ee5e0b2162bcd:
Diff report
Your PR generated the following diffs in downstream repositories:
| Repository | Diff Link | Changes |
|---|---|---|
google provider |
View Diff | 4 files changed, 1098 insertions(+), 3 deletions(-) |
google-beta provider |
View Diff | 4 files changed, 1098 insertions(+), 3 deletions(-) |
terraform-google-conversion |
View Diff | 1 file changed, 339 insertions(+) |
Missing test report
Your PR includes resource fields which are not covered by any test.
Resource: google_biglake_iceberg_catalog (33 total tests)
Please add an acceptance test which includes these fields. The test should include the following:
resource "google_biglake_iceberg_catalog" "primary" {
description = # value needed
federated_catalog_options {
refresh_options {
refresh_scope {
namespace_filters = # value needed
}
}
secret_name = # value needed
service_directory_name = # value needed
unity_catalog_info {
service_principal_application_id = # value needed
}
}
}
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 23 | 16 | 1 | 6 |
Affected Service Packages
- biglakeiceberg
Step 1: Replaying Mode
Action taken
Found 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.
Click here to see the affected tests
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogBiglakeExample
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogExample
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedGlueExample
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedUnityExample
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogPrimaryLocationExample
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalog_update
View the replaying VCR build log
Step 2: Recording Mode
| Recording Mode | Replaying Rerun | Test Name |
|---|---|---|
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogBiglakeExample |
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogExample |
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedGlueExample |
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedUnityExample |
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogPrimaryLocationExample |
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalog_update |
[!CAUTION] Issues requiring attention before PR completion
🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details.
Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.
View the recording VCR build log or the debug logs folder for detailed results.
@fuzmish, @wj-chen VCR tests complete for 092f1456fb54d461349094603b0ee5e0b2162bcd!
@slevenick Thank you for your review! I have applied the fix based on your review on 6615a59 Please check out it.
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 6615a590b278cac04ddbbdf7eb9fd5487bafaa25:
Diff report
Your PR generated the following diffs in downstream repositories:
| Repository | Diff Link | Changes |
|---|---|---|
google provider |
View Diff | 4 files changed, 1079 insertions(+), 3 deletions(-) |
google-beta provider |
View Diff | 4 files changed, 1079 insertions(+), 3 deletions(-) |
terraform-google-conversion |
View Diff | 1 file changed, 339 insertions(+) |
Missing test report
Your PR includes resource fields which are not covered by any test.
Resource: google_biglake_iceberg_catalog (33 total tests)
Please add an acceptance test which includes these fields. The test should include the following:
resource "google_biglake_iceberg_catalog" "primary" {
description = # value needed
federated_catalog_options {
refresh_options {
refresh_scope {
namespace_filters = # value needed
}
}
secret_name = # value needed
service_directory_name = # value needed
unity_catalog_info {
service_principal_application_id = # value needed
}
}
}
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 23 | 20 | 1 | 2 |
Affected Service Packages
- biglakeiceberg
Step 1: Replaying Mode
Action taken
Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.
Click here to see the affected tests
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedGlueExample
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedUnityExample
View the replaying VCR build log
Step 2: Recording Mode
| Recording Mode | Replaying Rerun | Test Name |
|---|---|---|
| ✅ Log | ✅ | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedGlueExample |
| ❌ Error · Log | - | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedUnityExample |
[!CAUTION] Issues requiring attention before PR completion
🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details.
Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.
View the recording VCR build log or the debug logs folder for detailed results.
@fuzmish, @slevenick, @wj-chen VCR tests complete for 6615a590b278cac04ddbbdf7eb9fd5487bafaa25!
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 6635c4953c965f169d9bbbd3d1e7534aa429d6ae:
Diff report
Your PR generated the following diffs in downstream repositories:
| Repository | Diff Link | Changes |
|---|---|---|
google provider |
View Diff | 4 files changed, 1081 insertions(+), 3 deletions(-) |
google-beta provider |
View Diff | 4 files changed, 1081 insertions(+), 3 deletions(-) |
terraform-google-conversion |
View Diff | 1 file changed, 339 insertions(+) |
Missing test report
Your PR includes resource fields which are not covered by any test.
Resource: google_biglake_iceberg_catalog (33 total tests)
Please add an acceptance test which includes these fields. The test should include the following:
resource "google_biglake_iceberg_catalog" "primary" {
description = # value needed
federated_catalog_options {
refresh_options {
refresh_scope {
namespace_filters = # value needed
}
}
secret_name = # value needed
service_directory_name = # value needed
}
}
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 23 | 21 | 1 | 1 |
Affected Service Packages
- biglakeiceberg
Step 1: Replaying Mode
Action taken
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.
Click here to see the affected tests
- TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedUnityExample
View the replaying VCR build log
Step 2: Recording Mode
| Recording Mode | Replaying Rerun | Test Name |
|---|---|---|
| ✅ Log | ✅ | TestAccBiglakeIcebergIcebergCatalog_biglakeIcebergCatalogFederatedUnityExample |
🟢 All tests passed!
View the recording VCR build log or the debug logs folder for detailed results.
@fuzmish, @slevenick, @wj-chen VCR tests complete for 6635c4953c965f169d9bbbd3d1e7534aa429d6ae!
@slevenick This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.
@GoogleCloudPlatform/terraform-team @slevenick This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.