mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 18:48:00 -05:00
Closes the follow-ups from #1025: domain option blocks now survive CreateDomain → DescribeDomain, and DescribeInstanceTypeLimits returns family-appropriate metadata instead of one canned EBS response. - VPCOptions, AdvancedSecurityOptions, EncryptionAtRestOptions, NodeToNodeEncryptionOptions, and DomainEndpointOptions now round-trip through the management API. Real SDK clients (Terraform / CDK / Pulumi) read these back to detect drift; previously they were silently dropped. - Master passwords are accepted but never echoed back, matching AWS. - AdvancedSecurityOptions.Enabled + InternalUserDatabaseEnabled without a master user is rejected with ValidationException, as is CustomEndpointEnabled without a CustomEndpoint value. - New OpenSearchInstanceTypes catalog drives DescribeInstanceTypeDetails and DescribeInstanceTypeLimits. or1.* now reports s3-backed storage with the larger 8-36 TiB ceiling AWS documents; i3.* reports instance-store; everything else stays EBS at 3584 GiB. Unknown types fall back to a generic EBS spec instead of 404'ing. - Floci still boots one Docker container per domain regardless of instance type, but the management metadata now matches AWS so introspection tools work correctly. Tests: 60 OpenSearch tests pass. New: 6 OpenSearchInstanceTypesTest unit tests + 6 OpenSearchDomainOptionsIntegrationTest end-to-end + 2 or1 / EBS instance-type-limit integration tests. Live Docker validation: VPC + Encryption + N2N + Endpoint round-trip on a real running domain; or1.2xlarge.search returns s3-backed/36864 GiB while m6g.large.search returns ebs/3584 GiB; FGAC validation fires correctly when MasterUserName is omitted.