Open danopia opened 3 years ago
When AWS_STS_REGIONAL_ENDPOINTS is regional then use the region sts:AssumeRoleWithWebIdentity endpoint instead of the global one.
AWS_STS_REGIONAL_ENDPOINTS
regional
sts:AssumeRoleWithWebIdentity
Variable is set by this: https://github.com/aws/amazon-eks-pod-identity-webhook/commit/c1fc3584b0557492b2b040d5e4f26ec565dc1847#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R90
When
AWS_STS_REGIONAL_ENDPOINTS
isregional
then use the regionsts:AssumeRoleWithWebIdentity
endpoint instead of the global one.Variable is set by this: https://github.com/aws/amazon-eks-pod-identity-webhook/commit/c1fc3584b0557492b2b040d5e4f26ec565dc1847#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R90