-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Terraform 0.12 #13 #16
Add support for Terraform 0.12 #13 #16
Conversation
@aaron-lane As I see tests failed due to terraform-0.11 in the test container. All tests passed locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check and resolve everything
@ingwarr Please also combine all commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add lint test result + link to PR to cft repo for CI
@aaron-lane @bohdanyurov-gl As I see integration test fails due to the existence of instance with current ID, I think this instance should be deleted manually
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All variables which are intended to be booleans should be explicitly typed as booleans (example 1).
network = var.network | ||
subnetwork = var.subnetwork | ||
subnetwork_project = var.subnetwork_project | ||
network_ip = length(var.static_ips) == 0 ? "" : element(local.static_ips, count.index) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ingwarr did you determine if null
is appropriate here?
@ingwarr As discussed out of band, ignore the requests to convert objects to |
Tests failed d to:
So we should delete it manually |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All boolean and number variables which were typed as strings should be updated with the appropriate type.
The service account variables should not have null
defaults.
Fixes #13