Skip to content

Commit

Permalink
Merge pull request #34399 from xiaxuantan/longer-msk-config-name
Browse files Browse the repository at this point in the history
MSK configuration data source should accept longer name
  • Loading branch information
ewbankkit authored Jan 8, 2024
2 parents 79dda88 + e13e797 commit b3ae860
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/34399.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
data-source/aws_msk_configuration: Remove `name` length validation
```
6 changes: 2 additions & 4 deletions internal/service/kafka/configuration_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/aws/aws-sdk-go/service/kafka"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"github.com/hashicorp/terraform-provider-aws/internal/conns"
"github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag"
)
Expand Down Expand Up @@ -41,9 +40,8 @@ func DataSourceConfiguration() *schema.Resource {
Computed: true,
},
"name": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(1, 64),
Type: schema.TypeString,
Required: true,
},
"server_properties": {
Type: schema.TypeString,
Expand Down

0 comments on commit b3ae860

Please sign in to comment.