Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

Commit 849dd2d

Browse files
[Bug]: tfcdk-cli version value other than latest breaks build (#485)
1 parent eeb488b commit 849dd2d

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

src/tfcdk-cli/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "tfcdk-cli",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"name": "Terraform CDK CLI (via npm)",
55
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/tfcdk-cli",
66
"description": "Cloud Development Kit for Terraform (CDKTF) allows you to use familiar programming languages to define and provision infrastructure. This gives you access to the entire Terraform ecosystem without learning HashiCorp Configuration Language (HCL) and lets you leverage the power of your existing toolchain for testing, dependency management, etc.",

src/tfcdk-cli/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ source ./library_scripts.sh
99
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations,
1010
# and if missing - will download a temporary copy that automatically get deleted at the end
1111
# of the script
12-
ensure_nanolayer nanolayer_location "v0.4.39"
12+
ensure_nanolayer nanolayer_location "v0.4.45"
1313

1414

1515
$nanolayer_location \
1616
install \
1717
devcontainer-feature \
1818
"ghcr.io/devcontainers-contrib/features/npm-package:1.0.3" \
19-
--option package='cdktf-cli@latest' --option version="$VERSION"
19+
--option package='cdktf-cli' --option version="$VERSION"
2020

2121

2222

test/tfcdk-cli/scenarios.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"features": {
55
"tfcdk-cli": {}
66
}
7+
},
8+
"test_specific_version": {
9+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
10+
"features": {
11+
"tfcdk-cli": {"version": "0.17.0"}
12+
}
713
}
814
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash -i
2+
3+
set -e
4+
5+
source dev-container-features-test-lib
6+
7+
check "cdktf --version" cdktf --version
8+
9+
reportResults

0 commit comments

Comments
 (0)