[Docs]: Opensearch_domain_policy example has wrong syntax #33716
Labels
documentation
Introduces or discusses updates to documentation.
service/iam
Issues and PRs that pertain to the iam service.
Milestone
Documentation Link
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/opensearch_domain_policy
Description
In the opensearch_domain_policy provided example :
The syntax of the
aws_iam_policy_document
data source is wrong, the arguments should be encapsulated in astatement
argument.Also, the
values
field in thecondition
argument should be of typelist
instead ofstring
.The example should look like this :
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: