-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.service/opensearchserverlessIssues and PRs that pertain to the opensearchserverless service.Issues and PRs that pertain to the opensearchserverless service.
Description
Description
The OpenSearch Serverless access policy and security policy resources currently only validate length limits for their respective policy
arguments. Confirming the string is valid JSON and contains no duplicate keys could produce improved error messaging for practitioners.
terraform-provider-aws/internal/service/opensearchserverless/access_policy.go
Lines 78 to 83 in c611551
"policy": schema.StringAttribute{ | |
Required: true, | |
Validators: []validator.String{ | |
stringvalidator.LengthBetween(1, 20480), | |
}, | |
}, |
terraform-provider-aws/internal/service/opensearchserverless/security_policy.go
Lines 78 to 83 in c611551
"policy": schema.StringAttribute{ | |
Required: true, | |
Validators: []validator.String{ | |
stringvalidator.LengthBetween(1, 20480), | |
}, | |
}, |
Affected Resource(s) and/or Data Source(s)
aws_opensearchserverless_access_policy
aws_opensearchserverless_security_policy
Potential Terraform Configuration
No response
References
Relates #33026
Would you like to implement a fix?
None
wernerdiers and gondalez
Metadata
Metadata
Assignees
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.service/opensearchserverlessIssues and PRs that pertain to the opensearchserverless service.Issues and PRs that pertain to the opensearchserverless service.