Skip to content

Commit 9ace774

Browse files
committed
remove poetry
1 parent 8feaf07 commit 9ace774

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

infrastructure/terraform/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ Also, this method allows you to extend this solution and develop it to satisfy y
4444
```
4545
4646
1. Install update uv for running python scripts
47-
Install [uv](https://docs.astral.sh/uv/) that manages the python version and dependecies for the solution.
47+
Install [uv](https://docs.astral.sh/uv/) that manages the python version and dependecies for the solution.
4848
49-
```sh
50-
curl -LsSf https://astral.sh/uv/install.sh | sh
51-
export PATH="$HOME/.local/bin:$PATH"
52-
```
49+
```sh
50+
curl -LsSf https://astral.sh/uv/install.sh | sh
51+
export PATH="$HOME/.local/bin:$PATH"
52+
```
5353
54-
Check uv installation
55-
```sh
56-
uv --version
57-
```
54+
Check uv installation:
55+
```sh
56+
uv --version
57+
```
5858
5959
1. Authenticate with additional OAuth 2.0 scopes needed to use the Google Analytics Admin API:
6060
```shell

scripts/generate-tf-backend.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ set -o nounset
1919

2020
. scripts/common.sh
2121

22-
section_open "Check if the necessary dependencies are available: gcloud, gsutil, terraform, poetry"
22+
section_open "Check if the necessary dependencies are available: gcloud, gsutil, terraform, uv"
2323
check_exec_dependency "gcloud"
2424
check_exec_version "gcloud"
2525
check_exec_dependency "gsutil"
2626
check_exec_version "gsutil"
2727
check_exec_dependency "terraform"
2828
check_exec_version "terraform"
29-
check_exec_dependency "poetry"
30-
check_exec_version "poetry"
29+
check_exec_dependency "uv"
30+
check_exec_version "uv"
3131
section_close
3232

3333
section_open "Check if the necessary variables are set: PROJECT_ID"
@@ -51,10 +51,6 @@ section_open "Enable all the required APIs"
5151
enable_all_apis
5252
section_close
5353

54-
section_open "Install poetry libraries in the virtual environment for Terraform"
55-
poetry install
56-
section_close
57-
5854
section_open "Creating a new Google Cloud Storage bucket to store the Terraform state in ${TF_STATE_PROJECT} project, bucket: ${TF_STATE_BUCKET}"
5955
if gsutil ls -b gs://"${TF_STATE_BUCKET}" >/dev/null 2>&1; then
6056
printf "The ${TF_STATE_BUCKET} Google Cloud Storage bucket already exists. \n"

0 commit comments

Comments
 (0)