Describe the bug
Enabling the dual stack endpoints on a self-hosted runner results in a non-existent API endpoint being used.
To Reproduce
Steps to reproduce the behavior:
- Setup self-hosted runners in EKS
- Enable dual stack endpoints with either env variable
AWS_USE_DUALSTACK_ENDPOINT: true or a step with aws configure set default.ecr.use_dualstack_endpoint true
- Use the action
- See "getaddrinfo ENOTFOUND api.ecr.<region>.api.aws"
Expected behavior
ECR login action uses the ecr.<region>.api.aws endpoint when dual stack is enable
Screenshots
Desktop (please complete the following information):
- OS: Fedora42 container running on self-hosted actions runner on AL2023 in EKS.
- Version: latest
Additional context
I cannot repo this locally or on a scratch EC2 instance, even when using the same Fedora 42 builder image.
Dual stack endpoint format is ecr.<region>.api.aws
non-dual stack endpoint is: api.ecr.<region>.amazonaws.com
This seems to be a mix of the two with api being prepended to the ecr.<region>.api.aws endpoint by something.
Its unclear to me how or where this is getting incorrectly constructed, but most likely seems like it would be downstream in the JS AWS SDK.
Describe the bug
Enabling the dual stack endpoints on a self-hosted runner results in a non-existent API endpoint being used.
To Reproduce
Steps to reproduce the behavior:
AWS_USE_DUALSTACK_ENDPOINT: trueor a step withaws configure set default.ecr.use_dualstack_endpoint trueExpected behavior
ECR login action uses the
ecr.<region>.api.awsendpoint when dual stack is enableScreenshots
Desktop (please complete the following information):
Additional context
I cannot repo this locally or on a scratch EC2 instance, even when using the same Fedora 42 builder image.
Dual stack endpoint format is
ecr.<region>.api.awsnon-dual stack endpoint is:
api.ecr.<region>.amazonaws.comThis seems to be a mix of the two with
apibeing prepended to theecr.<region>.api.awsendpoint by something.Its unclear to me how or where this is getting incorrectly constructed, but most likely seems like it would be downstream in the JS AWS SDK.