#terraform-0_12 - March 2019

16 messages

Discuss upgrading to terraform 0.12

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

stobiewankenobi
stobiewankenobiover 7 years ago
Woooooooooooooooooooooo
ldlework
ldleworkover 7 years ago
I got stuff like


Error: Incorrect attribute value type

  on .terraform/modules/rds_cluster_aurora_mysql_serverless/main.tf line 22, in resource "aws_security_group" "default":
  22:     security_groups = ["${var.security_groups}"]

Inappropriate value for attribute "security_groups": element 0: string
required.

after updating to the beta
ldlework
ldleworkover 7 years ago
Will various modules be being update soon or should I hold off for a while?
ldlework
ldleworkover 7 years ago
(I'm also pretty new to Terraform so excuse any future ignorance 🙂 )
ldlework
ldleworkover 7 years ago
pokes @Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@idlework unfortunately we have not had a chance to update any of our modules to 0.12 (yet)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
So we cannot provide much yet in ways of guidance.
ldlework
ldleworkover 7 years ago
Oh I was simply interested in that information, thank you. I will hold off on upgrading (since I use your modules!)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
also, the terraform-aws-provider v2+ might have broken some things
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we have a lot of homework ahead of us
ldlework
ldleworkover 7 years ago
@Erik Osterman (Cloud Posse) Are you saying that you think the most recent aws provider for 0.12 might itself be broken? Or that changes in the provider might have broken bits of sweetops modules?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
the terraform-aws-provider is used by all versions of terraform. it broke compatibility with some things.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago