10 lines
401 B
Plaintext
10 lines
401 B
Plaintext
fix(terraform): corregir OIDC audience para Bitbucket Cloud
|
|
|
|
Bitbucket Cloud genera tokens JWT con audience fijo:
|
|
ari:cloud:bitbucket::workspace/465016f8-d6fb-4ecb-ba6f-2248e938942b
|
|
|
|
El archivo oidc-bitbucket.tf solo aceptaba sts.amazonaws.com,
|
|
lo que causaba InvalidIdentityToken en cada terraform apply.
|
|
Ahora el OIDC provider y el rol IAM aceptan ambos audiences
|
|
mediante ForAnyValue:StringEquals.
|