Skip to content
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(redshift-alpha): add support for RA3.large node type #31637

Merged
merged 15 commits into from
Dec 10, 2024

Conversation

AsadBinImtiaz
Copy link
Contributor

Issue # (if applicable)

Closes #31634.

Reason for this change

add support for RA3.large node type

Description of changes

extended the NodeType enum in ClusterProps.nodeType to include RA3.large

Description of how you validated changes

ran all tests

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team October 3, 2024 17:41
@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK feature-request A feature should be added or improved. p2 labels Oct 3, 2024
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a 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.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@ashishdhingra
Copy link
Contributor

The value ra3.large for NodeType is not yet available for AWS::Redshift::Cluster resource in CloudFormation per aws-redshift-cluster.json. This schema JSON file was last updated 2 months ago as of now. Please wait until the schema is updated and CloudFormation resource accepts ra3.large as valid NodeType.

@aws-cdk-automation aws-cdk-automation dismissed their stale review October 4, 2024 09:13

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@AsadBinImtiaz
Copy link
Contributor Author

Hi @ashishdhingra ,

Thank you for the feedback. I understand that the aws-redshift-cluster.json schema file has not been updated yet. However, I have successfully created an RA3.large Redshift cluster using the CDK in my integration test, which indicates that CloudFormation is indeed accepting RA3.large as a valid node type.

Here are the steps I followed:

  • I created a CDK stack using the changes in my PR, specifying RA3.large as the NodeType.
  • The stack successfully deployed in my AWS account, and the Redshift cluster was provisioned without issues.
  • The integration test passed, confirming that CloudFormation accepted RA3.large as a valid NodeType.

Would it be possible that the CloudFormation schema and the documentation haven't been updated yet, even though the backend already supports this new instance type?

@aws-cdk-automation
Copy link
Collaborator

This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state.

…support-ra3-large-node-type

* 'main' of github.com:AsadBinImtiaz/aws-cdk: (87 commits)
  feat(events): dead letter queue for an Event Bus (aws#30628)
  feat(rds): support local write forwarding for an aurora PostgreSQL cluster (aws#31803)
  fix(stepfunctions-tasks): stateMachine construct doesn't generate a valid policy for default StateMachineRole (aws#31801)
  feat(efs): allow AccessPoint to set client token (aws#31184)
  feat(s3): support `transitionDefaultMinimumObjectSize` for life cycle (aws#31778)
  chore: remove legacy unused job for v2 migration (aws#31809)
  chore(s3): add validation on required properties for lifecycle rules (aws#31806)
  feat: update L1 CloudFormation resource definitions (aws#31800)
  feat(cognito): support `emailVerified` for `AttributeMapping` interface (aws#31632)
  feat(kms): allow `fromLookup` method to return dummy key if target key was not found (aws#31676)
  feat(iam): allow creating service principal using custom name (aws#31793)
  chore(lambda-go-alpha): update docker base image (aws#31766)
  feat(kinesisfirehose-alpha): refactor sourceStream property to support multiple types of sources (aws#31723)
  feat(fsx): specify file system type version for the Lustre file system (aws#31136)
  feat(dynamodb): enable contributor insights for global secondary index (aws#30560)
  feat(ec2): disable api termination (aws#30620)
  feat(pipes-targets): add CloudWatch Logs (aws#30665)
  feat(pipes-enrichments): support API destination enrichment (aws#31312)
  chore(mergify): move deprecated parameters from `pull_request_rules` to `queue_rules` (aws#31775)
  chore(rds): support 11.4.3 engine version for MariaDB (aws#31769)
  ...

# Conflicts:
#	packages/aws-cdk-lib/cx-api/FEATURE_FLAGS.md
Imtiaz Asad Bin, INI-DNA-DL added 2 commits October 22, 2024 12:56
…support-ra3-large-node-type

* 'main' of github.com:AsadBinImtiaz/aws-cdk:
  chore(lambda-nodejs): grammatical correction in statement reg bundleAwsSDK (aws#31839)
  chore(kinesisfirehose-alpha): update README with name changes and clarifications (aws#31840)
  docs(lambda): fix some typos in function (aws#31824)
  chore: update CHANGELOG.v2.md
  feat(iot): scheduled audit (aws#31776)
  chore(release): 2.163.0
  feat(cli): garbage collect s3 assets (under `--unstable` flag) (aws#31611)
  fix(scheduler-alpha): remove `targetOverrides` prop from Schedule (aws#31799)
  fix(s3): add support for uppercase characters in legacy bucket names (aws#31813)
…support-ra3-large-node-type

* 'main' of github.com:AsadBinImtiaz/aws-cdk: (73 commits)
  revert: feat(cdk): update tsconfig to more modern settings in typescript init templates (aws#31953)
  chore(kinesisfirehose-alpha): set module and destinations module to developer preview (aws#31952)
  fix(cli): ecr garbage collection hangs when repository has no images (aws#31951)
  feat(pipes-targets): add SageMaker (aws#30696)
  feat(apprunner): support vpc ingress connection (aws#30623)
  feat(bootstrap): delete noncurrent versions after 30 days (aws#31949)
  chore: fix C# build (aws#31946)
  chore(scheduler-alpha): minor doc updates (aws#31939)
  fix(location): remove base class from PlaceIndex class (aws#31287)
  chore: make the Amplify integration tests respect AWS region assignments (aws#31944)
  feat(cdk): update tsconfig to more modern settings in typescript init templates  (aws#31927)
  chore(tools): update README for spec2cdk with an example (aws#31935)
  fix(assertions): throw error or warn when `synth` is called multiple times on mutated construct tree (aws#31865)
  chore(cdk): increase coverage limits (aws#31936)
  chore(cli): add image to gc docs and document race condition (aws#31925)
  fix(s3-assets): cannot publish a file without extension (aws#30597)
  chore: add Amplify integration tests (aws#31921)
  fix(scheduler-alpha): too many KMS permissions granted (aws#31923)
  fix(sqs): queue with `fifo: false` does not deploy (aws#31922)
  fix(scheduler-alpha): scheduler input always get transformed to string with extra double quotes (aws#31894)
  ...
Imtiaz Asad Bin, INI-DNA-DL added 2 commits November 8, 2024 17:31
…support-ra3-large-node-type

* 'main' of github.com:AsadBinImtiaz/aws-cdk: (58 commits)
  feat(rds): support minor versions for RDS for SQL Server (aws#32055)
  feat(rds): support minor engine versions for oracle (aws#32058)
  feat(lambda): add Python 3.13 runtime (aws#32054)
  chore(codepipeline): generate stack name in codepipeline when stack name is unresolved token (aws#31967)
  feat(elasticloadbalancingv2): enable zonal shift for network load balancer (aws#31990)
  feat(service-catalog): allow Product Stack to override analytics reporting and stack descriptions (aws#31985)
  fix(scheduler-targets-alpha): add dlq policy to execution role instead of queue policy (aws#32032)
  feat(ivs): support recording configuration for channel (aws#31899)
  docs(core): fix typo in `Stack` (aws#32047)
  chore(release): 2.166.0
  fix: deploy-time stack tags cause synthesis to fail (aws#32041)
  chore(scheduler-alpha): increase unit test coverage (aws#32033)
  feat(synthetics): add `artifactS3Encryption` property to the Canary Construct. (aws#30197)
  chore(docs): fix invalid anchor links in DESIGN_GUIDELINES (aws#31997)
  chore(synthetics): runtime puppeteer 9_1 (aws#32026)
  chore(doc): update ROADMAP.md (aws#32029)
  chore(scheduler-alpha): clean up readme  (aws#32034)
  chore: add 5d to mergify and merit badger (aws#32031)
  chore: add saiyush to core contributors (aws#32030)
  chore(ec2): add missing interface VPC endpoint (aws#31991)
  ...
@AsadBinImtiaz
Copy link
Contributor Author

Waiting on PR: cdklabs/awscdk-service-spec#1421

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 8, 2024
@AsadBinImtiaz
Copy link
Contributor Author

The missing value ra3.large for is now available in AWS::Redshift::Cluster

Copy link
Contributor

@mazyu36 mazyu36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for the contribution.
Some minor comments.

Copy link
Contributor

@mazyu36 mazyu36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the modifications. LGTM

@gracelu0 gracelu0 changed the title feat(redshift-alpha): issue #31634: add support for RA3.large node type feat(redshift-alpha): add support for RA3.large node type Dec 6, 2024
@github-actions github-actions bot added the effort/small Small work item – less than a day of effort label Dec 6, 2024
@aws-cdk-automation aws-cdk-automation added pr/needs-maintainer-review This PR needs a review from a Core Team Member and removed pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. labels Dec 6, 2024
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.67%. Comparing base (57cbd86) to head (a414361).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #31637   +/-   ##
=======================================
  Coverage   78.67%   78.67%           
=======================================
  Files         107      107           
  Lines        7237     7237           
  Branches     1329     1329           
=======================================
  Hits         5694     5694           
  Misses       1357     1357           
  Partials      186      186           
Flag Coverage Δ
suite.unit 78.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
packages/aws-cdk 78.67% <ø> (ø)

Copy link
Contributor

@gracelu0 gracelu0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing!

Copy link
Contributor

mergify bot commented Dec 7, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Copy link
Contributor

mergify bot commented Dec 7, 2024

This pull request has been removed from the queue for the following reason: checks failed.

The merge conditions cannot be satisfied due to failing checks:

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.

If you want to requeue this pull request, you need to post a comment with the text: @mergifyio requeue

@gracelu0
Copy link
Contributor

gracelu0 commented Dec 9, 2024

@Mergifyio update

Copy link
Contributor

mergify bot commented Dec 9, 2024

update

✅ Branch has been successfully updated

Copy link
Contributor

mergify bot commented Dec 9, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Dec 9, 2024
Copy link
Contributor

mergify bot commented Dec 9, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: a414361
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

mergify bot commented Dec 10, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit ce0e09f into aws:main Dec 10, 2024
17 checks passed
Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS-Redshift-Alpha: Support for RA3.large Node Type
7 participants