From 3cc6b1da6c7bc78789ef4b97ba81b181bf2cf7e3 Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Thu, 22 Aug 2024 10:52:41 +0200 Subject: [PATCH 1/2] chore: rework devcontainer setup --- .devcontainer/default/devcontainer.json | 3 ++- .devcontainer/withenvfile/devcontainer.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/default/devcontainer.json b/.devcontainer/default/devcontainer.json index 1b3f779d..05cb19f4 100644 --- a/.devcontainer/default/devcontainer.json +++ b/.devcontainer/default/devcontainer.json @@ -18,7 +18,8 @@ }, "codespaces": {} }, - "postCreateCommand": "cp ./assets/provider-config-local.txt ~/.terraformrc && mkdir ~/.terraform.d && cp ./assets/credentials.tfrc.json.txt ~/.terraform.d/credentials.tfrc.json && bash ./.devcontainer/scripts/install-xdg.sh", + // If you want to use SSO in the devcontainer, you must install the xdg-utils package (see .devcontainer/scripts/install-xdg.sh). + "postCreateCommand": "cp ./assets/provider-config-local.txt ~/.terraformrc && mkdir ~/.terraform.d && cp ./assets/credentials.tfrc.json.txt ~/.terraform.d/credentials.tfrc.json", "hostRequirements": { "memory": "4gb" }, diff --git a/.devcontainer/withenvfile/devcontainer.json b/.devcontainer/withenvfile/devcontainer.json index d1541c9b..ebb7f4d9 100644 --- a/.devcontainer/withenvfile/devcontainer.json +++ b/.devcontainer/withenvfile/devcontainer.json @@ -17,7 +17,8 @@ }, "codespaces": {} }, - "postCreateCommand": "cp ./assets/provider-config-local.txt ~/.terraformrc && mkdir ~/.terraform.d && cp ./assets/credentials.tfrc.json.txt ~/.terraform.d/credentials.tfrc.json && bash ./.devcontainer/scripts/install-xdg.sh", + // Ifyou want to use SSO in the devcontainer, you must install the xdg-utils package (see .devcontainer/scripts/install-xdg.sh). + "postCreateCommand": "cp ./assets/provider-config-local.txt ~/.terraformrc && mkdir ~/.terraform.d && cp ./assets/credentials.tfrc.json.txt ~/.terraform.d/credentials.tfrc.json", "hostRequirements": { "memory": "4gb" }, From a4ca9f30e83a1c72eba0032b71918fa313caa3c7 Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Thu, 22 Aug 2024 10:57:26 +0200 Subject: [PATCH 2/2] chore: rework devcontainer setup --- .devcontainer/withenvfile/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/withenvfile/devcontainer.json b/.devcontainer/withenvfile/devcontainer.json index ebb7f4d9..91f6345c 100644 --- a/.devcontainer/withenvfile/devcontainer.json +++ b/.devcontainer/withenvfile/devcontainer.json @@ -17,7 +17,7 @@ }, "codespaces": {} }, - // Ifyou want to use SSO in the devcontainer, you must install the xdg-utils package (see .devcontainer/scripts/install-xdg.sh). + // If you want to use SSO in the devcontainer, you must install the xdg-utils package (see .devcontainer/scripts/install-xdg.sh). "postCreateCommand": "cp ./assets/provider-config-local.txt ~/.terraformrc && mkdir ~/.terraform.d && cp ./assets/credentials.tfrc.json.txt ~/.terraform.d/credentials.tfrc.json", "hostRequirements": { "memory": "4gb"