Matt Gowie
02/20/2024, 11:38 PMCould not download module "account" (providers.mixin.tf:13) source code from "git::https://github.com/cloudposse/terraform-yaml-stack-config?ref=0.22.3": error
│ downloading 'https://github.com/cloudposse/terraform-yaml-stack-config?ref=0.22.3': /usr/bin/git exited with 128: fatal: detected dubious ownership in repository at
│ To add an exception for this directory, call:
│
│ git config --global --add safe.directory /blahblahblahIs there a suggested way of dealing with this? I'm adding
git config --global --add safe.directory \* to my ~/.geodesic/overrides.d/main.sh but wondering if there is a better avenue there.Jeremy G (Cloud Posse)
02/20/2024, 11:49 PMmodule "stack-config" {
source = "cloudposse/stack-config/yaml"
version = "0.22.3"
}Jeremy G (Cloud Posse)
02/20/2024, 11:50 PMJeremy G (Cloud Posse)
02/20/2024, 11:53 PMroot, and the ones that are actually on the host filesystem, when viewed from the host, should appear to be owned by you.Matt Gowie
02/21/2024, 12:29 AMmodule "account" {
source = "cloudposse/stack-config/yaml//modules/remote-state"
version = "0.22.3"
component = "account-map"
stage = "root"
context = module.this.context
}Matt Gowie
02/21/2024, 12:29 AMJeremy G (Cloud Posse)
02/21/2024, 12:30 AM⨠ ls -l .terraform*
-rw-r--r-- 1 root root 1043 Feb 20 08:58 .terraform.lock.hcl
.terraform:
total 4
drwxr-xr-x 4 root root 4096 Feb 20 21:01 e98s/Jeremy G (Cloud Posse)
02/21/2024, 12:31 AMMatt Gowie
02/21/2024, 12:34 AM/localhost/**** volume mount that is owned by "501" (never seen that) and the group "dialout".Jeremy G (Cloud Posse)
02/21/2024, 12:39 AMMatt Gowie
02/21/2024, 1:00 AMJeremy G (Cloud Posse)
02/21/2024, 1:00 AMMatt Gowie
02/21/2024, 1:01 AM/localhost/*** then I get the following:Jeremy G (Cloud Posse)
02/21/2024, 1:01 AMJeremy G (Cloud Posse)
02/21/2024, 1:03 AMMatt Gowie
02/21/2024, 1:03 AMJeremy G (Cloud Posse)
02/21/2024, 1:06 AMexport GEODESIC_HOST_BINDFS_ENABLED=true
from the host before launching.Jeremy G (Cloud Posse)
02/21/2024, 1:11 AMMatt Gowie
02/21/2024, 1:26 AMsshfs . Will try out your suggestion next time I sit down to my machine.Jeremy G (Cloud Posse)
02/21/2024, 1:29 AMJeremy G (Cloud Posse)
02/21/2024, 11:14 AMHans D
02/21/2024, 11:26 AMJeremy G (Cloud Posse)
02/21/2024, 1:27 PMMatt Gowie
02/21/2024, 3:13 PMroot.
I am launching Geodesic via the wrapper script.Jeremy G (Cloud Posse)
02/21/2024, 3:35 PMMatt Gowie
02/21/2024, 3:51 PMJeremy G (Cloud Posse)
02/21/2024, 4:09 PM