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

Changing type of primary key in DynamoDB table is not triggering updates in Pulumi #1057

Open
amichel opened this issue Aug 2, 2020 · 4 comments
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). bug/diff kind/bug related to Pulumi generating wrong diffs on preview or up. kind/bug Some behavior is incorrect or out of spec service/dynamodb

Comments

@amichel
Copy link

amichel commented Aug 2, 2020

e.g. if I change N->S or S->N it wouldn't recognize any diff

const table = new dynamodb.Table(name, {
            name: name,
            attributes: [{ name: "ProductId", type: "S" }],
            hashKey: "ProductId",
            billingMode: BillingMode.PAY_PER_REQUEST
        })
@stack72
Copy link
Contributor

stack72 commented Aug 7, 2020

Going to link this here - hashicorp/terraform-provider-aws#14476

We need this to be triaged upstream :/

@amichel
Copy link
Author

amichel commented Aug 7, 2020

Please note that TF issue mentions global secondary indexes rather than tables

@infin8x infin8x added awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). and removed kind/upstream-bug labels Jul 10, 2021
@lukehoban lukehoban added the kind/bug Some behavior is incorrect or out of spec label Nov 19, 2022
@iwahbe
Copy link
Member

iwahbe commented Jul 18, 2023

The downstream comments mention attributes: hashicorp/terraform-provider-aws#14476 (comment). This problem is still present in pulumi-aws v5.42.0.

@t0yv0 t0yv0 added service/dynamodb bug/diff kind/bug related to Pulumi generating wrong diffs on preview or up. labels Mar 28, 2024
@corymhall
Copy link
Contributor

Still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). bug/diff kind/bug related to Pulumi generating wrong diffs on preview or up. kind/bug Some behavior is incorrect or out of spec service/dynamodb
Projects
None yet
Development

No branches or pull requests

7 participants