Hello, I've just installed your sls plugin, great find, thanks for the work! I have the following expression:
- schedule:
rate: cron(0 7 ? * MON-FRI *)
timezone: Europe/Paris
When deploying from scratch via sls deploy I see the following lines, the first one being of your plugin:
$ sls deploy
Serverless: Converting local crontabs to UTC crontabs...
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
.....
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service .zip file to S3 (3 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
.....................
Serverless: Operation failed!
Serverless Error ---------------------------------------
An error occurred: NudgerEventsRuleSchedule2 - send-export-feedback-nudge already exists in stack arn:aws:cloudformation:eu-central-1:[obfuscated]:stack/export-nudger-dev/[obfuscated].
Would you have an idea whether there is an attempt to create a schedule twice?
I had a look at the cloudformation-template-update-stack.json file in the unzipped deployment package and I cannot find anything problematic. I can provide this file if required for analysis.
Hello, I've just installed your sls plugin, great find, thanks for the work! I have the following expression:
When deploying from scratch via
sls deployI see the following lines, the first one being of your plugin:Would you have an idea whether there is an attempt to create a schedule twice?
I had a look at the
cloudformation-template-update-stack.jsonfile in the unzipped deployment package and I cannot find anything problematic. I can provide this file if required for analysis.