-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventScheduleRate parameter does not exist #1172
Comments
Hi @sudinshakyatl! That param is here in the template: elastic-ci-stack-for-aws/templates/aws-stack.yml Lines 182 to 185 in 09eed04
So - I'm curious - have you set an older version for |
I just ran into this issue myself just now while performing a test upgrade of a new 5.2.0 stack to 6.0.0 prior to upgrading our production stacks. I am using the AWS Console to drive CloudFormation and when updating the stack the To successfully update the stack to 6.0.0 via the UI I had to both re-enter values for the renamed parameters and update the scaler version to |
Hmm, so it looks like if you create a stack with the default value for the I think we can make the default value |
I think changing the parameter name would be a good move but presumably that’d have to wait for 7.0. In the meantime, changing the default to an empty string and a note in the change log to clear the existing value if you aren‘t intentionally overriding it is probably sufficient. |
So I've had a bit of trouble trying to reproduce this issue. And we've definitely upgraded stacks internally where Turns out, it's a known issue when you use the CLI command And my command line history confirms I'd been using So we recommend anyone experiencing this to try that. But the fix I suggested above still seems worth implementing, as some customers will be using the AWS Console, which also seems to suffer from this issue. |
Hmm, looks like my attempt to do this was thwarted by the Serverless Application Model (SAM):
In particular,
is not supported by the I don't see any way around this if we keep using the SAM. There was a time when we didn't use this and hand crafted the lambda for buildkite-agent-scaler in the main stack. This is the PR where we started to use the SAM: #685. We can explore reversing this decision, but that's going to take some time. For now, using |
Describe the bug
When using the latest yaml to deploy the buildkite stack, it errors out in with the error
Parameters: [EventScheduleRate] do not exist in the template
. Seems like there is a bug with the parameter since removing the last line where the EventScheduleRate is entered for the serverless allows the cloudformation to build.Steps To Reproduce
Run the deploy for the https://s3.amazonaws.com/buildkite-aws-stack/latest/aws-stack.yml template to update the existing cfn stack.
Expected behavior
Deploy successfully by using the default value for ScalerEventScheduleRate in EventScheduleRate
Actual behaviour
Parameters: [EventScheduleRate] do not exist in the template
Stack parameters (please complete the following information):
Additional context
The buildkite test seems to have fail tests for the commit with the change as shown in the commit status.
The text was updated successfully, but these errors were encountered: