#terraform-0_12 (2019-07)

terraform

Discuss upgrading to terraform 0.12

Archive: https://archive.sweetops.com/terraform-0_12/

2019-07-09

btai avatar

does tf 12 allow you to interpolate backends?

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

not yet

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

use environment variables instead

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

or a hybrid

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

TF_CLI_ARGS_init="-backend-config=/something.ini"

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

then write your config to /something.ini

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Backends: Configuration - Terraform by HashiCorp

Backends are configured directly in Terraform files in the terraform section.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
r/Terraform - Terraform Without Wrappers is AWESOME!

24 votes and 10 comments so far on Reddit

2019-07-16

Callum Robertson avatar
Callum Robertson

PSA: If you’re upgrading to terraform 0.12 and the VSCode extension for Terraform Syntax highlighting, add this to your settings.json

Callum Robertson avatar
Callum Robertson
10:31:23 AM
Callum Robertson avatar
Callum Robertson

Should resolve all the maddening false positives on syntax errors

Callum Robertson avatar
Callum Robertson

(You have to restart the IDE as well)

Callum Robertson avatar
Callum Robertson
loren avatar

thanks for the reference, and the workaround, the broken highlighting is maddening

1
Callum Robertson avatar
Callum Robertson

glad it helped someone!

2019-07-18

Michael Iams avatar
Michael Iams

@Erik Osterman (Cloud Posse) When do you expect to have the the majority of .12 conversion complete?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

we converted about 35% of all our modules. We actively working on it when we are not 100% consumed by customers’ projects. I would say in the next 1-2 weeks

2019-07-23

maarten avatar
maarten
Resource for_each by pselle · Pull Request #21922 · hashicorp/terraform

Allow instances to be created according to a map or a set of strings. locals { little_map = { a = 1 b = 2 } } resource "random_pet" "server" { for_each = little_ma…

loren avatar

been following that one, with a lot of excitement

Resource for_each by pselle · Pull Request #21922 · hashicorp/terraform

Allow instances to be created according to a map or a set of strings. locals { little_map = { a = 1 b = 2 } } resource "random_pet" "server" { for_each = little_ma…

Callum Robertson avatar
Callum Robertson

so nice!

2019-07-26

maarten avatar
maarten
terraformdns/terraform-dns-recordsets

Terraform module for creating DNS recordsets using RFC 2136 dynamic updates - terraformdns/terraform-dns-recordsets

2019-07-28

Callum Robertson avatar
Callum Robertson

This is very helpful! Thanks @maarten

2019-07-29

Sharanya avatar
Sharanya

Hey Folks, Trying to find some Terraform Modules related to AWS - app stream service ( for creating fleets and stacks) any help appreciated

2019-07-31

Julio Tain Sueiras avatar
Julio Tain Sueiras

note: 0.12.6 have been released and added for each on resource

3
Julio Tain Sueiras avatar
Julio Tain Sueiras

(and probably data source as well)

loren avatar

Bam! Nice!

    keyboard_arrow_up