Skip to content

bug: CreateOptionsGroup Major Version not found #12568

Closed
@Bramw2003

Description

@Bramw2003

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

const optionGroup = new aws.rds.OptionGroup('psql-vector-testing', {
    engineName: 'postgres',
    majorEngineVersion: '17',
    optionGroupDescription: 'psql-vector-testing',
    options: [],
  }, options)

When running this pulumi code it fails with an error about not finding the major version, although the engine is supported (with v15) but also tried using that.
https://docs.localstack.cloud/user-guide/aws/rds/#postgresql-engine

  • aws:rds:OptionGroup psql-vector-testing creating (0s) error: sdk-v2/provider2.go:509: sdk.helper_schema: creating RDS DB Option Group (psql-vector-testing-a53ddfb): operation error RDS: CreateOptionGroup, https response error StatusCode: 400, RequestID: 1f1bdd20-dba9-4e5d-95f9-84952ac6f1a9, api error InvalidParameterCombination: Cannot find major version for postgres: provider=aws@6.78.0

Expected Behavior

No errors, new OptionGroup created.

How are you starting LocalStack?

With the localstack script

Steps To Reproduce

import * as aws from '@pulumi/aws'

const optionGroup = new aws.rds.OptionGroup('psql-vector-testing', {
    engineName: 'postgres',
    majorEngineVersion: '17',
    optionGroupDescription: 'psql-vector-testing',
    options: [],
})

Running this pulumi code while running localstack with localstack start -d should give the mentioned error.

Environment

- OS: Ubuntu 22.04
- LocalStack: Pro
  LocalStack version: 4.3.0
  LocalStack CLI: 4.3.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws:rdsAmazon Relational Database Servicestatus: response requiredWaiting for a response from the reportertype: bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions