green-intern-2766507/27/2021, 8:57 AM
I can create the tablet without any issue but if I redeploy my stack I get and error informing that
ttl=aws.dynamodb.TableTtlArgs( attribute_name="TimeToExist", enabled=False, ))
is already defined. Any idea about how can I execute this statement just the first time that I create the table and not the rest of the times that I update the stack?
little-cartoon-1056907/27/2021, 9:40 PM
green-intern-2766507/28/2021, 9:33 PM
property but it doesn’t work. If the
is disable in every redeploy the stack tries to add the
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
doesn’t exist on AWS if the
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.
little-cartoon-1056907/28/2021, 9:36 PM
green-intern-2766507/29/2021, 4:54 AM