#terragrunt - June 2022

terragruntArchived
5 messages

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

Amit Karpe
Amit Karpeover 4 years ago
How to migrate to Terraform cloud with Terragrunt Code base (and S3 bucket is backend)?

There must be some work around/guide.
Anyone would like to point?
MalluLuke
MalluLukeover 4 years ago
Is there a way to preserve project names in atlantis.yaml file when using terragrunt-atlantis-config ?
zetta.​xv
zetta.​xvover 4 years ago
I was reading this blog post about using TFC and Terragrunt, and it contains an invalid link that I can't really find anymore
We have all the details you need to configure Terragrunt with TFC and TFE in the guide, including details on how to configure the remote backend, how to send variable inputs to TFC, and more.

^^^ above link does not work, I feel I'm missing some important configuration as when I run terragrunt plan the plan in TFC does not contain value of my variables, before adding the remote configuration terragrunt was able to pass the values without issues
Anyone knows where is this guide now?
MalluLuke
MalluLukeover 4 years ago
I have Terragrunt integration with Atlantis. I have a common variable that I want to pulldown during atlantis plan When running terragrunt plan I can see that it is getting the value of the variable. However terraform plan is not getting the variable value (which make sense). What is the best way to get this common variable value during atlantis plan?
terragrunt.hcl
locals {
  common_vars = read_terragrunt_config("../../_globalenv/common_variables.hcl")
}

include root {
  path = find_in_parent_folders()
}

inputs = {
  platform_ips = local.common_vars.locals.platform_ips
}
MalluLuke
MalluLukeover 4 years ago(edited)
Is it possible to run a before/after hook only once instead of running it for each terragrunt config files when running run-all plan? Ex: AWS authentication is running multiple times
Using IDP Account staging to access OneLogin <https://api.us.onelogin.com>
Using IDP Account staging to access OneLogin <https://api.us.onelogin.com>
Using IDP Account staging to access OneLogin <https://api.us.onelogin.com>
Using IDP Account staging to access OneLogin <https://api.us.onelogin.com>