-
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
aws_ec2: passing keyPair to Instance does nothing #28478
aws_ec2: passing keyPair to Instance does nothing #28478
Comments
aws-cdk/packages/aws-cdk-lib/aws-ec2/lib/instance.ts Lines 438 to 453 in 8071015
Specifying
It seems to be easy to fix and suitable for good first issue. I can take this, but if anyone is interested in submitting PR, please feel free to try it :) |
Awesome! Thank you for the PR! |
This comment was marked as duplicate.
This comment was marked as duplicate.
2 similar comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Please use the 👍🏻 reaction on the original post if you have the same issue. Plus there already is a PR with potential fix open: #28482 |
|
1 similar comment
|
Describe the bug
With keyName property being deprecated (#28138), creating aws_ec2.KeyPair and passing it to aws_ec2.Instance does nothing.
Expected Behavior
Make sure the keypair is associated with the instance when passed through keyPair property.
Current Behavior
keypair does not get associated with the instance.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.116.1 (build 222de71)
Framework Version
No response
Node.js Version
20.10.0
OS
Linux
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: