Chris M
09/25/2024, 3:37 PMuse terraform x and basename-pwd have been consigned to the bin?Erik Osterman (Cloud Posse)
09/25/2024, 4:27 PMgeodesic before we developed #C031919U8A0Erik Osterman (Cloud Posse)
09/25/2024, 4:27 PMChris M
09/25/2024, 4:55 PMuse terraform 1.0 in the envrc file so the right version of terraform would load for stuff that hadnt been updated; less important for the version selection now as I think we're all on 1+
The use terraform seemed to also load in the settings for the s3 backend (generated key path / bucket / dynamo / tfvar cli) as all that functionality dropped off even though tfenv is still working.
We had the config separated in each aws org like
conf/eu-west-2/<vpc,etc>
conf/eu-central1/<vpc,etc>
The .envrc in the region folder was setting a wrkname which was for the workspace and the TF_VAR_regionChris M
09/25/2024, 4:59 PMChris M
09/25/2024, 5:00 PMErik Osterman (Cloud Posse)
09/25/2024, 7:52 PMErik Osterman (Cloud Posse)
09/25/2024, 7:53 PMErik Osterman (Cloud Posse)
09/25/2024, 7:54 PMdirenv proved more challenging in a CI/CD context, as it was based on the act of changing directories. We had to jump through a lot of hoops to get that to work in things like GitHub ActionsErik Osterman (Cloud Posse)
09/25/2024, 7:56 PMChris M
09/26/2024, 9:57 AM