diff --git a/docs-gen/environment_variables/TERRAFORM_PRE_RUN.py b/docs-gen/environment_variables/TERRAFORM_PRE_RUN.py index 64869c4d..88624b17 100644 --- a/docs-gen/environment_variables/TERRAFORM_PRE_RUN.py +++ b/docs-gen/environment_variables/TERRAFORM_PRE_RUN.py @@ -7,7 +7,7 @@ The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. -The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. +The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/docs/custom_tools.md b/docs/custom_tools.md index f56c9212..b81cffe4 100644 --- a/docs/custom_tools.md +++ b/docs/custom_tools.md @@ -6,7 +6,7 @@ These are the options available to you. ## Using the released actions The published actions run Terraform/OpenTofu in a container using a pre-prepared image. -The image is based on `debian:bullseye-slim` and is designed to be as small as possible. +The image is based on `debian:bookworm-slim` and is designed to be as small as possible. It is possible to use the `TERRAFORM_PRE_RUN` environment variable to customise the environment before running Terraform. The command is run using `bash -xeo pipefail`. diff --git a/image/Dockerfile b/image/Dockerfile index 5ee246f8..1c215b17 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -9,7 +9,7 @@ ARG VERSION=99.0.0 COPY src/ /tmp/src/ COPY setup.py /tmp RUN sed -i "s|version='.*'|version=\'${VERSION}\'|" /tmp/setup.py \ - && pip install --no-cache-dir /tmp \ + && pip install --break-system-packages --no-cache-dir /tmp \ && rm -rf /tmp/src /tmp/setup.py RUN if [ "$FETCH_CHECKSUMS" = "yes" ]; then \ diff --git a/terraform-apply/README.md b/terraform-apply/README.md index c60cb195..f1f17b2c 100644 --- a/terraform-apply/README.md +++ b/terraform-apply/README.md @@ -414,7 +414,7 @@ These input values must be the same as any [`dflook/terraform-plan`](https://git The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-check/README.md b/terraform-check/README.md index 1e0f40ab..07b72aef 100644 --- a/terraform-check/README.md +++ b/terraform-check/README.md @@ -184,7 +184,7 @@ This is intended to run on a schedule to notify if manual changes to your infras The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-destroy-workspace/README.md b/terraform-destroy-workspace/README.md index 6c80da8f..254379c0 100644 --- a/terraform-destroy-workspace/README.md +++ b/terraform-destroy-workspace/README.md @@ -205,7 +205,7 @@ This action uses the `terraform destroy` command to destroy all resources in a T The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-destroy/README.md b/terraform-destroy/README.md index 1b55e5a0..d5443a14 100644 --- a/terraform-destroy/README.md +++ b/terraform-destroy/README.md @@ -209,7 +209,7 @@ and [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/ The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-new-workspace/README.md b/terraform-new-workspace/README.md index 679e8a0c..dab95f27 100644 --- a/terraform-new-workspace/README.md +++ b/terraform-new-workspace/README.md @@ -129,7 +129,7 @@ Creates a new Terraform workspace. If the workspace already exists, succeeds wit The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-output/README.md b/terraform-output/README.md index 3d9c8bff..73ed65d2 100644 --- a/terraform-output/README.md +++ b/terraform-output/README.md @@ -156,7 +156,7 @@ Retrieve the root-level outputs from a Terraform configuration. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-plan/README.md b/terraform-plan/README.md index a342fef0..4501b350 100644 --- a/terraform-plan/README.md +++ b/terraform-plan/README.md @@ -360,7 +360,7 @@ The [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/ The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-refresh/README.md b/terraform-refresh/README.md index d7f128be..e937c6c5 100644 --- a/terraform-refresh/README.md +++ b/terraform-refresh/README.md @@ -228,7 +228,7 @@ This will synchronise the Terraform state with the actual resources, but will no The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-test/README.md b/terraform-test/README.md index dc680e2e..f2fde13f 100644 --- a/terraform-test/README.md +++ b/terraform-test/README.md @@ -186,7 +186,7 @@ If the tests fail, the job will stop with a failure status. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-unlock-state/README.md b/terraform-unlock-state/README.md index e45bdbd5..8fc680ed 100644 --- a/terraform-unlock-state/README.md +++ b/terraform-unlock-state/README.md @@ -137,7 +137,7 @@ Force unlocks a Terraform remote state. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-validate/README.md b/terraform-validate/README.md index 881d8208..110f2373 100644 --- a/terraform-validate/README.md +++ b/terraform-validate/README.md @@ -156,7 +156,7 @@ If the Terraform configuration is not valid, the build is failed. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/terraform-version/README.md b/terraform-version/README.md index 284f91a4..3ce8493d 100644 --- a/terraform-version/README.md +++ b/terraform-version/README.md @@ -187,7 +187,7 @@ outputs yourself. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-apply/README.md b/tofu-apply/README.md index 42e464c9..454b5a8b 100644 --- a/tofu-apply/README.md +++ b/tofu-apply/README.md @@ -414,7 +414,7 @@ These input values must be the same as any [`dflook/tofu-plan`](https://github.c The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-check/README.md b/tofu-check/README.md index 1cb29380..73e3c06b 100644 --- a/tofu-check/README.md +++ b/tofu-check/README.md @@ -184,7 +184,7 @@ This is intended to run on a schedule to notify if manual changes to your infras The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-destroy-workspace/README.md b/tofu-destroy-workspace/README.md index ae08b717..1ea1e17a 100644 --- a/tofu-destroy-workspace/README.md +++ b/tofu-destroy-workspace/README.md @@ -205,7 +205,7 @@ This action uses the `tofu destroy` command to destroy all resources in an OpenT The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-destroy/README.md b/tofu-destroy/README.md index 34b4def5..f2359d72 100644 --- a/tofu-destroy/README.md +++ b/tofu-destroy/README.md @@ -209,7 +209,7 @@ and [dflook/tofu-apply](https://github.com/dflook/terraform-github-actions/tree/ The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-new-workspace/README.md b/tofu-new-workspace/README.md index 6b6efee0..60af20ad 100644 --- a/tofu-new-workspace/README.md +++ b/tofu-new-workspace/README.md @@ -163,7 +163,7 @@ Creates a new OpenTofu workspace. If the workspace already exists, succeeds with The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-output/README.md b/tofu-output/README.md index da12564e..de5123e8 100644 --- a/tofu-output/README.md +++ b/tofu-output/README.md @@ -190,7 +190,7 @@ Retrieve the root-level outputs from an OpenTofu configuration. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-plan/README.md b/tofu-plan/README.md index 12dd078f..a8b0d595 100644 --- a/tofu-plan/README.md +++ b/tofu-plan/README.md @@ -360,7 +360,7 @@ The [dflook/tofu-apply](https://github.com/dflook/terraform-github-actions/tree/ The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-refresh/README.md b/tofu-refresh/README.md index 60bf7344..c43d6b0e 100644 --- a/tofu-refresh/README.md +++ b/tofu-refresh/README.md @@ -228,7 +228,7 @@ This will synchronise the OpenTofu state with the actual resources, but will not The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-test/README.md b/tofu-test/README.md index 3b3521a7..d643a18c 100644 --- a/tofu-test/README.md +++ b/tofu-test/README.md @@ -176,7 +176,7 @@ If the tests fail, the job will stop with a failure status. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-unlock-state/README.md b/tofu-unlock-state/README.md index f92d7b98..f4bfc976 100644 --- a/tofu-unlock-state/README.md +++ b/tofu-unlock-state/README.md @@ -137,7 +137,7 @@ Force unlocks an OpenTofu remote state. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-validate/README.md b/tofu-validate/README.md index d220e56a..cbbf337f 100644 --- a/tofu-validate/README.md +++ b/tofu-validate/README.md @@ -156,7 +156,7 @@ If the OpenTofu configuration is not valid, the build is failed. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: diff --git a/tofu-version/README.md b/tofu-version/README.md index 523c37ae..fa7f494f 100644 --- a/tofu-version/README.md +++ b/tofu-version/README.md @@ -190,7 +190,7 @@ outputs yourself. The runtime environment for these actions is subject to change in minor version releases. If using this environment variable, specify the minor version of the action to use. - The runtime image is currently based on `debian:bullseye`, with the command run using `bash -xeo pipefail`. + The runtime image is currently based on `debian:bookworm`, with the command run using `bash -xeo pipefail`. For example: