#terraform-0_12 (2020-02)

terraform

Discuss upgrading to terraform 0.12

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

2020-02-19

Julio Tain Sueiras avatar
Julio Tain Sueiras

got this implemented

2020-02-20

Joe Presley avatar
Joe Presley

That’s really cool. What plugin(s) were you using?

Julio Tain Sueiras avatar
Julio Tain Sueiras

terraform-lsp

1

2020-02-21

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

@scorebot help keep tabs!

scorebot avatar
scorebot
05:50:27 PM

@scorebot has joined the channel

scorebot avatar
scorebot
05:50:27 PM

Thanks for adding me emojis used in this channel are now worth points.

scorebot avatar
scorebot
05:50:29 PM

Wondering what I can do? try @scorebot help

2020-02-24

jose.amengual avatar
jose.amengual

Hi, I’m using this module output : https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/outputs.tf#L52 to feed into aother cluster SG for replication

cloudposse/terraform-aws-rds-cluster

Terraform module to provision an RDS Aurora cluster for MySQL or Postgres - cloudposse/terraform-aws-rds-cluster

jose.amengual avatar
jose.amengual

and I have this :

sg-us-east-2-replica    = join("", module.datamart_replica_us_east_2.cluster_security_groups)
cloudposse/terraform-aws-rds-cluster

Terraform module to provision an RDS Aurora cluster for MySQL or Postgres - cloudposse/terraform-aws-rds-cluster

jose.amengual avatar
jose.amengual

but I keep getting

module.datamart_replica_us_east_2.cluster_security_groups is tuple with 1 element
jose.amengual avatar
jose.amengual

no matter what I do .* , [0], [*]

jose.amengual avatar
jose.amengual

WTH is soooo special about this…

2020-02-26

joshmyers avatar
joshmyers
try - Functions - Configuration Language - Terraform by HashiCorp

The try function tries to evaluate a sequence of expressions given as arguments and returns the result of the first one that does not produce any errors.

1
Nikola Velkovski avatar
Nikola Velkovski
02:26:18 PM
    keyboard_arrow_up