Files
floci/docs
Priamo Germosen 78ad357eb8 feat(opensearch): parse, store, and return AccessPolicies (#2327)
* feat(opensearch): parse, store, and return AccessPolicies

AccessPolicies was never parsed on CreateDomain/UpdateDomainConfig,
stored on the domain, or returned by DescribeDomain(s)/
DescribeDomainConfig, so aws_opensearch_domain.access_policies and
aws_opensearch_domain_policy were unsupported and any inline policy
was silently discarded. Threaded through as a plain string alongside
engineVersion, following the same pattern: bare string in
DomainStatus, Options+Status wrapper in DomainConfig (mirroring the
existing EngineVersion field there).

* fix(opensearch): drop unused region parameter from updateDomainConfig

Domain.region is baked into the ARN at CreateDomain time and never
recomputed on update, so the parameter had no effect. Its own local
variable in the controller was correspondingly dead too.

* test(opensearch): cover clearing AccessPolicies with an empty string

The empty-string-clears-the-policy behavior was implemented but not
exercised by any test.
2026-08-15 18:31:50 -04:00
..
2026-03-15 17:43:56 -05:00