From eb68c1755c63cdc5ffc30a27c3e77800217b33bc Mon Sep 17 00:00:00 2001 From: Grzegorz Huber Date: Fri, 21 Jun 2024 15:39:01 +0200 Subject: [PATCH] [DOC-536] Smart Git diff compare for terraform modules --- bitbucket-pipelines.yml | 6 ++++++ requirements.txt | 1 + 2 files changed, 7 insertions(+) create mode 100644 requirements.txt diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 6fdce6e..aa319ed 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -247,6 +247,7 @@ pipelines: oidc: true script: - *aws-context-dev + - pip install -r requirements.txt - BB_PIPELINE_BRANCH="DEV" python terraform.py plan --environment=dev --module=devops-pipeline/other-resources - step: name: Plan streamlit-server on DEV @@ -254,6 +255,7 @@ pipelines: oidc: true script: - *aws-context-dev + - pip install -r requirements.txt - BB_PIPELINE_BRANCH="DEV" python terraform.py plan --environment=dev --module=streamlit-server - step: name: Plan textract-pipeline on DEV @@ -261,6 +263,7 @@ pipelines: oidc: true script: - *aws-context-dev + - pip install -r requirements.txt - BB_PIPELINE_BRANCH="DEV" python terraform.py plan --environment=dev --module=textract-pipeline/terraform - step: name: Plan devops-pipeline on UAT @@ -268,6 +271,7 @@ pipelines: oidc: true script: - *aws-context-uat + - pip install -r requirements.txt - BB_PIPELINE_BRANCH="UAT" python terraform.py plan --environment=uat --module=devops-pipeline/other-resources - step: name: Plan streamlit-server on UAT @@ -275,6 +279,7 @@ pipelines: oidc: true script: - *aws-context-uat + - pip install -r requirements.txt - BB_PIPELINE_BRANCH="UAT" python terraform.py plan --environment=uat --module=streamlit-server - step: name: Plan textract-pipeline on UAT @@ -282,4 +287,5 @@ pipelines: oidc: true script: - *aws-context-uat + - pip install -r requirements.txt - BB_PIPELINE_BRANCH="UAT" python terraform.py plan --environment=uat --module=textract-pipeline/terraform diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f229360 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requests