-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Summary
The docker/scripts/infra-shell.sh script fetches secrets from Bitwarden Secrets Manager but doesn't pass TF_VAR_admin_ip as an environment variable into the Docker container. This prevents running tofu.sh commands locally.
🐛 Observed Behavior
- Script outputs "Successfully retrieved secrets from Bitwarden Secrets Manager"
- Script shows "Restricting SSH to your IP: 173.48.235.97/32" (proving it knows the value)
- Inside container,
$TF_VAR_admin_ipis not set - Running
tofu planprompts forvar.admin_ip
✅ Expected Behavior
TF_VAR_admin_ipshould be passed to the containertofu.shcommands should work without manual variable entry
📝 Acceptance Criteria
-
TF_VAR_admin_ipis passed into the container -
./opentofu/scripts/tofu.sh dev planworks without prompts inside the container
🔧 Fix
Added -e TF_VAR_admin_ip to the docker run command in infra-shell.sh.
PR: #160
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working