From c2300a7c3520648970a23d784332b70f26f255d8 Mon Sep 17 00:00:00 2001 From: Michael McGuinness Date: Fri, 27 Sep 2024 17:22:07 +0100 Subject: [PATCH] awslogin --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index aeca2df..2c62d7d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -8,6 +8,7 @@ definitions: export AWS_SECRET_ACCESS_KEY=$(echo $STS_OUTPUT | jq -r '.Credentials.SecretAccessKey'); export AWS_SECURITY_TOKEN=$(echo $STS_OUTPUT | jq -r '.Credentials.SessionToken'); export AWS_REGION='us-east-2'; + aws sts get-caller-identity; steps: &deployment-steps - step: name: "Deploy Snowflake Changes" @@ -58,7 +59,6 @@ definitions: - apt-get update && apt-get install -y jq git - pip install awscli - *aws-context - - aws sts get-caller-identity - aws s3 sync ./airflow/dags s3://doczy-dev-infra-mwaa-resources/dags #condition: # changesets: