getmoto / moto

A library that allows you to easily mock out tests based on AWS infrastructure.
http://docs.getmoto.org/en/latest/
Apache License 2.0
7.66k stars 2.05k forks source link

Opensearch: describe_domain_config does not return EngineVersion.Status #8271

Open ktech-rob opened 2 weeks ago

ktech-rob commented 2 weeks ago

When calling describe_domain_config the Status key and values are omitted:

Expected:

{
    "DomainConfig": {
        "EngineVersion": {
            "Options": "string",
            "Status": {
                "CreationDate": datetime(2015, 1, 1),
                "UpdateDate": datetime(2015, 1, 1),
                "UpdateVersion": 123,
                "State": "RequiresIndexDocuments"|"Processing"|"Active",
                "PendingDeletion": True|False
            }
        }
}

Source: boto3: describe_domain_config

Actual:

{
    "DomainConfig": {
        "EngineVersion": {
            "Options": "OpenSearch_2.15"
        }
}

Moto Version

5.0.18

bblommers commented 1 week ago

Hi @ktech-rob, welcome to Moto, and thank you for raising this! Marking it as an enhancement to add these fields.