Skip to content
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

Change terraform version and remove deprecated code #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bhpratt
Copy link

@bhpratt bhpratt commented Jun 2, 2023

When I attempted to use this terraform code, it failed for a couple of reasons:

  1. This: experiments = [module_variable_optional_attrs] is no longer supported in tf versions 1.3 and later. See Terraform 1.3 module_variable_optional_attrs experiment support hashicorp/terraform#31692 for more details

So I removed that line and bumped the required tf version to 1.3

  1. The provided resource group also fails. I changed that to default. With the default resource group, the code will provision as written with no changes needed. The user can always change the resource group name if they want - which they would have to do anyway once they hit an error on "asset-development"

There are a couple of other changes I'd recommend: such as, turning on the public service endpoint (otherwise the user can't interact with the cluster w/o a jumpbox) and changing variable "wait_till" to OneWorkerNodeReady to prevent tf from hanging if ingress takes a long time to complete. But I can open a new PR for those types of changes.

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.

None yet

1 participant