ec2: deprecation warning when using ec2.BastionHostLinux
with default values.
#25310
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the bug
A warning will be generated if use the default values due to the use of a deprecated API in
ec2.BastionHostLinux
.Expected Behavior
No warnings should be displayed.
Current Behavior
The following message is displayed:
Reproduction Steps
Possible Solution
Explicitly pass the
machineImage
argument.Additional Information/Context
No response
CDK CLI Version
2.76.0
Framework Version
No response
Node.js Version
v18.14.2
OS
macOS
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: