#terragrunt (2018-11)

terragrunt

Terragrunt discussions

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

2018-11-06

pecigonzalo avatar
pecigonzalo
06:23:21 PM

@pecigonzalo has joined the channel

2018-11-15

stephen avatar
stephen
04:42:59 PM

@stephen has joined the channel

Vi avatar
Vi
10:58:26 PM

@Vi has joined the channel

Vi avatar

Hi, I was working with terragrunt and observed that terragrunt does not pick up the changes automatically for modules. Is there any way to sort this out?

2018-11-16

loren avatar

pass --terragrunt-source-update

loren avatar

@Vi ^^^

loren avatar

terragrunt uses a hash of the source url to determine whether the source has changed. if you are using tagged/versioned modules, that works great… you update the source ref, and terragrunt will detect the changed hash and automatically pull down the new version

2
loren avatar

if you are not using a version ref in your source, then you can use --terragrunt-source-update to force terragrunt to pull down the source

2
Vi avatar

Thank you…

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

has anyone played around with the terraform 0.12 rc with terragrunt?

loren avatar

i would not expect terragrunt to work with tf 0.12 just yet, pending some kind of resolution to this issue, https://github.com/gruntwork-io/terragrunt/issues/466

Separate configuration file for Terragrunt? · Issue #466 · gruntwork-io/terragrunt

Hi! I'm one of the engineers at HashiCorp who works on Terraform Core. As you might be aware, we've been working for some time now on various improvements to the Terraform configuration lan…

2018-11-17

pecigonzalo avatar
pecigonzalo

What is the usecase for terragrunt with workspaces module etc?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Are you asking generally speaking?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Like what is it solving?

pecigonzalo avatar
pecigonzalo

In general, or to whoever is still using it. In my workflows it just had too much overlap, so we are not using it anymore.

antonbabenko avatar
antonbabenko

@Erik Osterman (Cloud Posse) not yet, but should do it after AWS re:invent.

2018-11-18

monsoon.anmol.nagpal avatar
monsoon.anmol.nagpal
04:23:54 PM

@monsoon.anmol.nagpal has joined the channel

2018-11-19

2018-11-21

antonbabenko avatar
antonbabenko

Hi guys! If you want to check how I do dynamic parameters in static terraform.tfvars with Terragrunt and tell me if you know better solution, you should read my blog post (and try it) - https://medium.com/@anton.babenko/modules-tf-convert-visual-aws-diagram-into-terraform-configurations-e61fb0574b10

modules.tf — Convert visual AWS diagram into Terraform configurationattachment image

I am excited to announce public-release of modules.tf — project which allows conversion of visual AWS diagrams created using Cloudcraft.co

2018-11-22

Bogdan avatar
Bogdan
10:55:32 PM

@Bogdan has joined the channel

2018-11-25

Vi avatar

Hello everyone, I am trying to run terragrunt plan using circleci and I am getting the following error

 [terragrunt] [/root/project/cloudfront_frontend] 2018/11/26 03:21:58 The non-interactive flag is set to true, so assuming 'yes' for all prompts
[terragrunt] [/root/project/cloudfront_frontend] 2018/11/26 03:21:58 Creating S3 bucket cb-terraform-infra-state-sit
[terragrunt] 2018/11/26 03:21:59 AccessDenied: Access Denied
	status code: 403, request id: 35E32BD7CF45BED5, host id: f3c85r+xX5QKBmRdlhW8JCQyj+AqUtKGZWwLvbuo/YkjErGKUuVJ6kAs0NIjooDC83uXs1JkjXc=
[terragrunt] 2018/11/26 03:21:59 Unable to determine underlying exit code, so Terragrunt will exit with error code 1
Exited with code 1

I have the credentials in place ~/.aws/credentials . It works perfectly in local. Not sure how to fix it

Vi avatar

I am using the following docker image antonbabenko/terracing:v0.0.6

Vi avatar

It looks like permission issue but I have given fullAdminAccess to the user.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

hrm… so shouldn’t need to write credentials to ~/.aws/credentials

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

using the standard AWS envs should be sufficient

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

in fact, i’d try to get it working with ENVs locally (for testing)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

then once you find the working combination, that’s what you’ll set in circle

2018-11-27

joshmyers avatar
joshmyers
10:32:33 AM

@joshmyers has joined the channel

jerry avatar
jerry
12:04:53 PM

@jerry has joined the channel

2018-11-30

antonbabenko avatar
antonbabenko

The icon is Gruntwork logo, not terragrunt product ;) There is an open issue about missing logo for terragrunt

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Haha yea

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I guess I should rename the icon

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

It was a compromise

antonbabenko avatar
antonbabenko

Yeah, np really

antonbabenko avatar
antonbabenko

Do you need icon for modules.tf ? I will make one :))

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

haha, go for it

    keyboard_arrow_up