-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(applicationautoscaling): timezone property for scheduled actions #23123
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
✅ Updated pull request passes all PRLinter validations. Dissmissing previous PRLinter review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bora-7, thanks for contributing this! I have a few concerns regarding the typing of timezone
as described in the comments.
packages/@aws-cdk/aws-applicationautoscaling/lib/scalable-target.ts
Outdated
Show resolved
Hide resolved
* | ||
* @default - No specific time zone. | ||
*/ | ||
readonly timezone?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/@aws-cdk/aws-applicationautoscaling/test/scalable-target.test.ts
Show resolved
Hide resolved
Pull request has been modified.
Hi @kaizencc , I've updated the description. Does it make more sense now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bora-7! One small nit and I think this is good to go. Thanks!
Pull request has been modified.
Hi @kaizencc , I've modified the readme to add the code snippet, and now the build fails. Do you know why? Thanks for all your help. |
I fixed the build error now! @kaizencc let me know if it looks good or if there's any additional changes you want me to add. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Hi @bora-7! sorry for the delay. I need to think a bit more regarding the typing of timezones as a string. That might be the simplest path forward, but maybe not the best. I'm going to bring it up to the team and see, so please give me a few more days. |
@bora-7 update: we discussed this internally and think there is value to have a |
Hi @kaizencc , that sounds good. Let me know when the timezone enum-like class is out and I'll work on updating the PR! |
This adds the time zones in the 2022g release of the Time Zone Database. It has been tested in the context of the tests written in #23123, but I didn't commit them here because I didn't want to overwrite that change.
This adds the time zones in the 2022g release of the Time Zone Database. It has been tested in the context of the tests written in #23123, but I didn't commit them here because I didn't want to overwrite that change. I couldn't decide whether this should be a chore or a feat. I'm open to either. Closes #<issue number here>. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TimeZone class is ready to go! See the linked PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting in changes requested now that updates can be made.
This PR has been in the CHANGES REQUESTED state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error. |
Fixes #22645
All Submissions:
Adding new Unconventional Dependencies:
New Features
yarn integ
to deploy the infrastructure and generate the snapshot (i.e.yarn integ
without--dry-run
)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license