Skip to content

Commit

Permalink
Merge pull request #92 from 3pings/main
Browse files Browse the repository at this point in the history
Fixed useExisting version Policy
  • Loading branch information
3pings authored Jan 27, 2022
2 parents aa5a603 + aa86533 commit a935c0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ variable "tags" {
| <a name="input_sysconfig"></a> [sysconfig](#input\_sysconfig) | n/a | <pre>object({<br> use_existing = bool<br> name = string<br> ntp_servers = optional(list(string))<br> dns_servers = optional(list(string))<br> timezone = optional(string)<br> domain_name = optional(string)<br> })</pre> | n/a | yes |
| <a name="input_tags"></a> [tags](#input\_tags) | n/a | `list(map(string))` | `[]` | no |
| <a name="input_tr_policy"></a> [tr\_policy](#input\_tr\_policy) | n/a | <pre>object({<br> use_existing = bool<br> create_new = bool<br> name = optional(string)<br> root_ca_registries = optional(list(string))<br> unsigned_registries = optional(list(string))<br> })</pre> | n/a | yes |
| <a name="input_versionPolicy"></a> [versionPolicy](#input\_versionPolicy) | n/a | <pre>object({<br> useExisting = bool<br> policyName = string<br> iksVersionName = string<br> description = optional(string)<br> versionName = optional(string)<br> })</pre> | n/a | yes |
| <a name="input_versionPolicy"></a> [versionPolicy](#input\_versionPolicy) | n/a | <pre>object({<br> useExisting = bool<br> policyName = string<br> iksVersionName = optional(string)<br> description = optional(string)<br> versionName = optional(string)<br> })</pre> | n/a | yes |

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data "intersight_kubernetes_container_runtime_policy" "this" {
}
data "intersight_kubernetes_version_policy" "this" {
count = var.versionPolicy.useExisting == true ? 1 : 0
name = var.versionPolicy.iksVersionName
name = var.versionPolicy.policyName
}
data "intersight_kubernetes_virtual_machine_instance_type" "this" {
count = var.instance_type.use_existing == true ? 1 : 0
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ variable "versionPolicy" {
type = object({
useExisting = bool
policyName = string
iksVersionName = string
iksVersionName = optional(string)
description = optional(string)
versionName = optional(string)
})
Expand Down

0 comments on commit a935c0b

Please sign in to comment.