green-intern-27665
07/27/2021, 8:57 AMttl=aws.dynamodb.TableTtlArgs(
attribute_name="TimeToExist",
enabled=False,
))
I can create the tablet without any issue but if I redeploy my stack I get and error informing that ttl
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-10569
07/27/2021, 9:40 PMignore_changes
opt?green-intern-27665
07/28/2021, 9:33 PMttl
property but it doesn’t work. If the ttl
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.little-cartoon-10569
07/28/2021, 9:36 PMgreen-intern-27665
07/29/2021, 4:54 AM