amazon-personalize-automated-retraining
amazon-personalize-automated-retraining copied to clipboard
Add example value for RetrainingRate
The README.md says:
RetrainingRate | Rate at which the Personalize should be retrained, defaults to 7 days if not set.
We were having trouble figuring out the format to use inside parameters.cfg. The following didn't work:
RetrainingRate=1 days
RetrainingRate="1 days"
RetrainingRate=1days
RetrainingRate=rate(1 day)
RetrainingRate="rate(1 day)"
It would be great to add an example format to the README.md.
Hey,
I quickly tried to get it flying, issue seems to be with the spaces in the shell. I'll look deeper into this.
Syntax is rate(1 day) (full doc is here https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html)
Until then, you got two options to fix this:
- Replace the rate directly in CloudFormation: https://github.com/aws-samples/amazon-personalize-automated-retraining/blob/master/stack.template#L11
- Add the rate manually to the Makefile: https://github.com/aws-samples/amazon-personalize-automated-retraining/blob/master/Makefile#L16 e.g.,
--parameter-overrides "RetrainingRate=rate(1 day)" $$(cat parameters.cfg) \
let me know if that works for you. I'll look for a cleaner way to add it to the parameters.cfg
@Till--H - Thanks for the workarounds :+1: Both are helpful