Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
version in example needed to be updated to at least 2.1.2 to resolve iksVersionName and policyName error:
$ terraform plan
╷
│ Warning: Experimental feature "module_variable_optional_attrs" is active
│
│ on .terraform/modules/terraform-intersight-iks/versions.tf line 10, in terraform:
│ 10: experiments = [module_variable_optional_attrs]
│
│ Experimental features are subject to breaking changes in future minor or patch releases, based on feedback.
│
│ If you have feedback on the design of this feature, please open a GitHub issue to discuss it.
│
│ (and 3 more similar warnings elsewhere)
╵
╷
│ Error: Missing required argument
│
│ on .terraform/modules/terraform-intersight-iks/main.tf line 116, in module "k8s_version":
│ 116: module "k8s_version" {
│
│ The argument "iksVersionName" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│
│ on .terraform/modules/terraform-intersight-iks/main.tf line 116, in module "k8s_version":
│ 116: module "k8s_version" {
│
│ The argument "policyName" is required, but no definition was found.
╵
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/terraform-intersight-iks/main.tf line 119, in module "k8s_version":
│ 119: k8s_version = var.version_policy.version
│
│ An argument named "k8s_version" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/terraform-intersight-iks/main.tf line 120, in module "k8s_version":
│ 120: k8s_version_name = var.version_policy.name
│
│ An argument named "k8s_version_name" is not expected here.