From 08263d227cde4810e5bc2b372c298b06dff6e16b Mon Sep 17 00:00:00 2001 From: Grzegorz Huber Date: Fri, 21 Jun 2024 17:03:47 +0200 Subject: [PATCH] [DOC-536] Smart Git diff compare for terraform modules --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 14d531b..81b887c 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -292,6 +292,7 @@ pipelines: oidc: true script: # - *aws-context-dev + - export AWS_ROLE_ARN=arn:aws:iam::$AWS_ACCOUNT_NO:role/$OIDC_ROLE - export STS_OUTPUT=$(aws sts assume-role-with-web-identity --role-arn $AWS_ROLE_ARN --role-session-name BitbucketPipeline --web-identity-token "$BITBUCKET_STEP_OIDC_TOKEN" --duration-seconds 3600) - export AWS_ACCESS_KEY_ID=$(echo $STS_OUTPUT | jq -r '.Credentials.AccessKeyId') - export AWS_SECRET_ACCESS_KEY=$(echo $STS_OUTPUT | jq -r '.Credentials.SecretAccessKey')