Skip to content

RDS ClusterInstance example does not work #1958

Open

Description

What happened?

Tried implementing the simple example from File: themes/default/content/registry/packages/aws/api-docs/rds/clusterinstance/_index.md

Steps to reproduce

Just run the example

Expected Behavior

it should work

Actual Behavior

it doesn't work :)

Type 'Output<string | undefined>' is not assignable to type 'Input<EngineType> | undefined'.
  Type 'OutputInstance<string | undefined>' is not assignable to type 'Input<EngineType> | undefined'.
    Type 'OutputInstance<string | undefined>' is not assignable to type 'OutputInstance<EngineType>'.
      Type 'string | undefined' is not assignable to type 'EngineType'.
        Type 'undefined' is not assignable to type 'EngineType'.ts(2322)
clusterInstance.d.ts(416, 5): The expected type comes from property 'engine' which is declared here on type 'ClusterInstanceArgs'

Versions used

NAME VERSION
@pulumi/datadog 4.8.0
@tsconfig/node16 1.0.2
@pulumi/tls 4.4.0
@typescript-eslint/parser 5.25.0
typescript 4.6.4
@pulumi/eks 0.40.0
@pulumi/pulumi 3.32.1
@typescript-eslint/eslint-plugin 5.25.0
@pulumi/awsx 0.40.0
@pulumi/gcp 6.23.0
@pulumi/kubernetes 3.19.1
@pulumi/kubernetesx 0.1.6
@pulumi/random 4.6.0
@types/node 17.0.33

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

area/api-docsarea/docsImprovements or additions to documentationkind/bugSome behavior is incorrect or out of spec

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions