Vpc: Error when running with FIPS endpoint enabled #28238
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Describe the bug
Deploying a stack with a Vpc construct while
AWS_USE_FIPS_ENDPOINT=true
fails with an error:"Inaccessible host:
ec2-fips.us-gov-west-1.amazonaws.com' at port
undefined'. This service may not be available in the `us-gov-west-1' region.: getaddrinfo ENOTFOUND ec2-fips.us-gov-west-1.amazonaws.com"Running with
AWS_ENDPOINT_URL_EC2=https://ec2.{region_name}.amazonaws.com
doesn't help!Expected Behavior
Stack should be deployed using FIPS endpoints
Current Behavior
Error in synth process
Reproduction Steps
AWS_USE_FIPS_ENDPOINT=true cdk deploy
Stack code in python:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.113.0 (build ccd534a)
Framework Version
No response
Node.js Version
v18.1.0
OS
MacOS
Language
Python
Language Version
Python 3.8.15
Other information
No response
The text was updated successfully, but these errors were encountered: