Skip to content

Upgrade to Terraform 0.12 - #10

Closed
Josh Myers (joshmyers) wants to merge 1 commit into
cloudposse:masterfrom
getft:terraform_0_12
Closed

Upgrade to Terraform 0.12#10
Josh Myers (joshmyers) wants to merge 1 commit into
cloudposse:masterfrom
getft:terraform_0_12

Conversation

@joshmyers

Copy link
Copy Markdown
Contributor

what

Run terraform 0.12upgrade against codebase. Note that due to Terraform
0.12 now using sets, we call tolist to workaround [1]

[1] hashicorp/terraform-provider-aws#7522

testing

I have tested this using Terraform 0.12.6

Run `terraform 0.12upgrade` against codebase. Note that due to Terraform
0.12 now using sets, we call `tolist` to workaround [1]

[1] hashicorp/terraform-provider-aws#7522
Comment thread variables.tf

variable "parameter_write" {
type = "list"
type = list(string)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be a list(map(string))?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep I agree - after upgrading this mod to 0.12 and changing var "parameter_write" to type list(map(string)) this module works like a charm so far on 0.12.19

@rsrchboy

Copy link
Copy Markdown

poke

@maximmi

Copy link
Copy Markdown
Contributor

Josh Myers (@joshmyers) this one is included in #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants