Pipelines deployment is failing when trying to connect to AWS through OIDC.
I assume it's not a permission issue, as even adding AdministratorAccess Policy to the OIDC Role, the authentication does not work.
<span>WARNING: Refreshing temporary credentials failed during mandatory refresh period.</span>
<span>Traceback (most recent call last):</span>
<span>File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 529, in _protected_refresh</span>
<span>metadata = self._refresh_using()</span>
<span>File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 670, in fetch_credentials</span>
<span>return self._get_cached_credentials()</span>
<span>File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 680, in _get_cached_credentials</span>
<span>response = self._get_credentials()</span>
<span>File "/usr/local/lib/python3.9/site-packages/botocore/credentials.py", line 890, in _get_credentials</span>
<span>return client.assume_role_with_web_identity(**kwargs)</span>
<span>File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 386, in _api_call</span>
<span>return self._make_api_call(operation_name, kwargs)</span>
<span>File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 705, in _make_api_call</span>
<span>raise error_class(parsed_response, operation_name)</span>
<span>botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the AssumeRoleWithWebIdentity operation: Not authorized to perform sts:AssumeRoleWithWebIdentity</span>