-
Notifications
You must be signed in to change notification settings - Fork 544
Closed
Labels
Description
Describe the bug
I just updated from 4.2.1 to 4.3.0 and now the action is failing with this error for me:
Run aws-actions/configure-aws-credentials@59b441846ad109fa4a1549b73ef4e149c4bfb53b
with:
role-to-assume: arn:aws:iam::XXXXXXXXXX:role/GHA-app-build
role-duration-seconds: 1800
aws-region: us-east-2
audience: sts.amazonaws.com
output-env-credentials: true
env:
POSTGRES_IMAGE: XXXXXXXX
REDIS_IMAGE: XXXXXXXX
RUNNER_TOOL_CACHE: /opt/hostedtoolcache
RUNS_ON_HOME: /runs-on
RUNS_ON_VERSION: XXXXXXXX
RUNS_ON_AGENT_BINARY: /runs-on/agent
RUNS_ON_AGENT_ARCH: arm64
RUNS_ON_AGENT_USER: runner
RUNS_ON_AMI_NAME: XXXXXXXX
RUNS_ON_AWS_REGION: us-east-2
RUNS_ON_AWS_AZ: us-east-2a
RUNS_ON_ENV_CUSTOM_FILE: /runs-on/env.custom
RUNS_ON_INSTANCE_ID: i-0900f69c18dad3634
RUNS_ON_INSTANCE_LAUNCHED_AT: 2025-08-04T22:28:16Z
RUNS_ON_INSTANCE_LIFECYCLE: on-demand
RUNS_ON_INSTANCE_TYPE: c8g.16xlarge
RUNS_ON_STACK_NAME: runs-on
RUNS_ON_RUNNER_NAME: XXXXXXXX
RUNS_ON_S3_BUCKET_CACHE: XXXXXXXXXXXX
ACTIONS_RUNNER_HOOK_JOB_STARTED: /runs-on/pre.sh
ACTIONS_RUNNER_HOOK_JOB_COMPLETED: /runs-on/post.sh
BASE_FROM: XXXXXXXX
BUILDER_FROM: XXXXXXXX
BUILDER_BUNDLER_FROM: XXXXXXXX
BASE_BUILDER_NEED_BUILD: false
BUILDER_BUNDLER_NEED_BUILD: false
RAILS_ENV: test
RUBY_VERSION: 3.4.4
DEVOPS_APP_NAME: XXXXXXXX
BASE_CACHE_IMAGE: XXXXXXXX
BASE_CACHE_IMAGE_NAME: XXXXXXXX
BUILDER_CACHE_IMAGE: XXXXXXXX
BUILDER_CACHE_IMAGE_NAME: XXXXXXXX
BUILDER_BUNDLER_CACHE_IMAGE: XXXXXXXX
BUILDER_BUNDLER_CACHE_IMAGE_NAME: XXXXXXXX
TEST_BUILDER_BUNDLER_CACHE_IMAGE: XXXXXXXX
STAGING_PROD_BUILDER_BUNDLER_CACHE_IMAGE: XXXXXXXX
BRANCH_NAME: renovate/github-actions-dependencies
BRANCH_NAME_NORMALIZED: renovate_github-actions-dependencies
PREBUILT_IMAGE_TAG: _0_0_prebuilt
IMAGE_TAG: _16735486396_2_renovate_github-actions-dependencies
Configuring proxy handler for STS client
Error: Invalid URL
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Action should not throw an error
Current Behavior
Action throws an "Invalid URL" error and fails.
Reproduction Steps
Here's how we're invoking it:
- name: Configure AWS Credentials for Building Test Image
uses: aws-actions/configure-aws-credentials@59b441846ad109fa4a1549b73ef4e149c4bfb53b # v4.3.0
with:
role-to-assume: arn:aws:iam::XXXXXXXX:role/MyRole
role-duration-seconds: 1800
aws-region: us-east-2
Also wanted to note that we run this on a self hosted runner on EC2 (utilizing runs-on, using their standard ubuntu latest image)
Possible Solution
I do not have any proxy env vars set so I'm not sure why it's printing the line about the proxy handler now. I also added a step right before the action runs to print out the env and confirmed there are no proxy related env vars set.
I'm guessing this issue might be related to this recent change: cbea708
Additional Information/Context
Starting appearing after upgrading from 4.2.1 to 4.3.0