Skip to content

Exclude group block during all restore operations #515

@shemau

Description

@shemau

Affected modules

  • terraform-ibm-icd-*

Terraform CLI and Terraform provider versions

  • Terraform version: All, unrelated
  • Provider version: All, unrelated

Terraform output

      + group {
          + group_id = "member"
          + cpu {
              + allocation_count = 0
            }
          + disk {
              + allocation_mb = 5120
            }
          + members {
              + allocation_count = 2
            }
          + memory {
              + allocation_mb = 4096
            }
        }

Debug output

Expected behavior

The group block should be excluded during restore operations to work around a service side issue with validation

Actual behavior

Following 3.17.10 there are some input values that included backup_crn to request a restore operation that still included the group block. The logic for including the deprecated hosting model has an issue that can cause it to be included with the new hosting model requests.

Steps to reproduce (including links and screen captures)

  1. Run terraform apply

Anything else


By submitting this issue, you agree to follow our Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions