Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDS aurora-postgresql Serverless Required Fields Bug #2070

Closed
gl-0xaf opened this issue Jun 27, 2024 · 1 comment
Closed

RDS aurora-postgresql Serverless Required Fields Bug #2070

gl-0xaf opened this issue Jun 27, 2024 · 1 comment
Labels
bug Something isn't working stale

Comments

@gl-0xaf
Copy link

gl-0xaf commented Jun 27, 2024

Hey! I'm trying to create an RDS aurora-postgresql instance and am running into what I think is a bug. Here's a snippet of my composition:

- name: instantiate-db
  base:
    apiVersion: rds.aws.upbound.io/v1beta1
    kind: Instance
    spec:
      forProvider:
        #allocatedStorage: 20
        dbName: backstage
        engine: aurora-postgresql
        instanceClass: db.serverless
        storageEncrypted: true
        username: root
        manageMasterUserPassword: false
        passwordSecretRef:
           key: password
           name: backstage-postgres-secret
           namespace: orchestration
        autoGeneratePassword: true
        monitoringInterval: 60
        applyImmediately: true
        skipFinalSnapshot: true
        region: eu-west-1
        dbSubnetGroupNameSelector:
          matchControllerRef: true
        vpcSecurityGroupIDSelector:
          matchControllerRef: true
      writeConnectionSecretToRef:
        name: example-dbinstance-out
        namespace: orchestration

When I create a claim for this composition my instance fails to create with the following error: {0 \"allocated_storage\": required field is not set []}
My understanding is this field should not be necessary given I'm using instanceClass: db.serverless, so this seems like a bug to me.

In any case, if I do uncomment this field above, I then get this error: InvalidParameterCombination: Invalid storage size for engine name aurora-postgresql and storage type aurora: 20

Can anyone confirm this is a bug?

Thanks.

@gl-0xaf gl-0xaf added the bug Something isn't working label Jun 27, 2024
Copy link

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Sep 26, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant