Skip to content

Commit

Permalink
Allow enabling log export for serverless clusters.
Browse files Browse the repository at this point in the history
  • Loading branch information
alyshanjahani-crl committed Apr 12, 2024
1 parent 9c26a15 commit b6c0f18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Enable log export for serverless clusters.

## [1.4.1] - 2024-04-04

## Added
### Added

- Added `private_endpoint_connection` examples for AWS, Azure, GCP.

Expand Down
8 changes: 0 additions & 8 deletions internal/provider/log_export_config_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,6 @@ func (r *logExportConfigResource) Create(
return
}

if cluster.Config.Serverless != nil {
resp.Diagnostics.AddError(
"Incompatible cluster type",
"Log export services are only available for dedicated clusters",
)
return
}

configType, err := client.NewLogExportTypeFromValue(plan.Type.ValueString())
if err != nil {
resp.Diagnostics.AddError(
Expand Down

0 comments on commit b6c0f18

Please sign in to comment.