[Bug] enableBackup breaks deploy
jayallenmn opened this issue · 5 comments
Describe the bug
When enableBackup is set to true in cdk.json the install throws the following error. We had to turn enableBackup off
Error: Cannot supply both 'day' and 'weekDay', use at most one at Function.cron
To Reproduce
Steps to reproduce the behavior:
- Edit cdk.json in the project root and set enableBackup to false.
- yarn run release
- yarn deploy
- See error
Expected behavior
Expect that the stack will deploy with Dynamo DB backups enabled.
Versions:
- Release Version 5.1.0
Hi @jayallenmn, thanks for reporting this bug! I've added this to our teams backlog.
hey guys, any update on this? should we (manually) set up backup on the dynamodb?
Hi @jayallenmn ,
Thanks for reaching out, we do not have updates yet regarding this issue but we will keep you posted on this conversation. In the meantime you can manually setup backups for the DDB resource table by navigating to the table in the AWS Console under DynamoDB, and schedule backups under the Backups tab.
@jayallenmn , we have just pushed fix. Feel free to get latest version or apply fix as per PR. One thing to note thought, your resources must be tagged manually with "fhir": "service" and "backup": "daily" to be automatically backed up. We are evaluating options to avoid manual tagging and have added item to the backlog.
Let us know if you have any other questions regarding this bug though
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.