is disable in every redeploy the stack tries to add the
attribute_name="TimeToExist"
property and if I remove it I got a validation error. On the contrary, if I set ttl True after adding the redeploy doesn’t claim.
It seems like the
attribute_name
doesn’t exist on AWS if the
ttl
is disabled but pulumi is always trying to create it. In this moment AWS complains about this because they says that the ttl is already disabled for that table.
l
little-cartoon-10569
07/28/2021, 9:36 PM
Does this problem also apply to the equivalent Terraform code? If this is a problem with an essentially non-declarative pattern being invoked from Pulumi/Terraform, then you might need to remove this code from your Pulumi app and run it in a separate step. AutomationAPi helps with this sort of thing.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.