devcontainers-contrib / features

🐳 Extra add-in features for Devcontainers and GitHub Codespaces
MIT License
214 stars 108 forks source link

[Bug]: terraform init bash: terraform: command not foun #611

Open nyccp opened 3 weeks ago

nyccp commented 3 weeks ago

Feature id and version

ghcr.io/devcontainers-contrib/features/tfcdk-cli:1.0.3

Devcontainer base Image

mcr.microsoft.com/devcontainers/universal:2

What happened?

A bug happened!

Hey there, unfortunately I cannot use terraform with this setup through adding the Terraform CLI option to my devcontainer.

This is my devcontainer.json file:

{ "image": "mcr.microsoft.com/devcontainers/universal:2", "features": { "ghcr.io/devcontainers-contrib/features/tfcdk-cli:1.0.3": {} } }

Can you help me?

Relevant log output

@nyccp ➜ /workspaces/01_infrastructure_basic (terraform_docker_features) $ terraform init
bash: terraform: command not found