Skip to content

vCenter 7.03 ESXi 6.7 u1 - content library fails import #643

Closed Answered by tenthirtyam
MT-Homelabs asked this question in Help
Discussion options

You must be logged in to vote

This should work:

// Template and Content Library Settings
common_template_conversion         = false
common_content_library_name        = null
common_content_library_ovf         = false
common_content_library_destroy     = false
common_content_library_skip_export = true

Setting the common_content_library_name = null would be sufficient however based on the logic in the HCL.

dynamic "content_library_destination" {
    for_each = var.common_content_library_name != null ? [1] : []
    content {
      library     = var.common_content_library_name
      description = local.build_description
      ovf         = var.common_content_library_ovf
      destroy     = var.common_content_library_destroy

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@tenthirtyam
Comment options

Answer selected by tenthirtyam
@MT-Homelabs
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tenthirtyam
Comment options

@tenthirtyam
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants