#terragrunt - February 2024

terragruntArchived
4 messages

Terragrunt discussions
Archive: https://archive.sweetops.com/terragrunt/

February 2024
Rick Stokkingreef
Rick Stokkingreefover 2 years ago
Hi, i'm facing some issues with terragrunt scaffold command any idea what it could be? Running out of ideas 😛

tg scaffold <http://github.com/hotjar/terraform-aws-eks.git|github.com/hotjar/terraform-aws-eks.git> -var=SourceUrlType=git-ssh
INFO[0001] Scaffolding a new Terragrunt module git::<ssh://git@github.com/hotjar/terraform-aws-eks.git?ref=0.20.2> to /home/rick/github/hotjar/platform_aws-organization/eu-west-1/production/eks 
ERRO[0001] error downloading '<ssh://git@github.com/hotjar/terraform-aws-eks.git?ref=0.20.2>': /bin/git exited with 128: fatal: not a git repository (or any of the parent directories): .git 
ERRO[0001] Unable to determine underlying exit code, so Terragrunt will exit with error code 1 

susie-h
susie-hover 2 years ago
Crosspost
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 2 years ago
Jurgen
Jurgenover 2 years ago
Hi, terragrunt noob here. Question, I am learning somebody else’s code base and for a lot of AWS IAM stuff they are just doing inline here doc’s for the IAM policies and I am trying to fidn a better way to do this. Personally I would go with the data source aws_iam_policy_document, but I can not use this at the terragrunt module level?