Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Evaluation of latest_node_version outside of ternary operation (unknown values during apply) #48

Merged
merged 1 commit into from
Jun 21, 2019

Conversation

veggiemonk
Copy link
Contributor

There is a bug in terraform which prevent the evaluation of data.google_container_engine_versions.location if it is in a ternary operation.

Error: configuration for data.google_container_engine_versions.location still contains unknown values during apply (this is a bug in Terraform; please report it!)

The equivalent problem is hashicorp/terraform#21465
Since terraform team is working on it, I felt like I should let you know.
This PR contains the workaround that bug.

Feel free to discard this PR.
This is to open a discussion on how to deal with bug in terraform.

Have a great day,

Julien

@robmorgan
Copy link
Contributor

Hmmm I wonder if we should merge this PR or wait for a TF patch release and bump the minimum version? @yorinasub17 @rileykarson any thoughts?

I guess its breaking now, so we should document this fix, release it and possibly undo it in the future.

@rileykarson
Copy link
Contributor

I think we should apply the fix now. I don't see a reason to undo it in the future, breaking a ternary case to an intermediary local feels like a positive change.

@robmorgan
Copy link
Contributor

Ok I'll do a patch release then 👍

Copy link
Contributor

@robmorgan robmorgan left a comment

Choose a reason for hiding this comment

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

Thanks @veggiemonk

@robmorgan robmorgan merged commit 443a2c0 into gruntwork-io:master Jun 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants