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

ibm_is_security_group_target shows force replacement on import #4000

Closed
ujjwal-ibm opened this issue Sep 1, 2022 · 0 comments · Fixed by #4002
Closed

ibm_is_security_group_target shows force replacement on import #4000

ujjwal-ibm opened this issue Sep 1, 2022 · 0 comments · Fixed by #4002
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@ujjwal-ibm
Copy link
Collaborator

Terraform CLI and Terraform IBM Provider Version : 1.44

Affected Resource(s)

  • ibm_is_security_group_target

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

resource "ibm_is_security_group_target" "testacc_security_group_target" {
    security_group = ibm_is_security_group.vpn_server_security_group.id
    target = ibm_is_instance.example2.primary_network_interface.0.id
  }

Debug Output

  # ibm_is_security_group_target.testacc_security_group_target must be replaced
-/+ resource "ibm_is_security_group_target" "testacc_security_group_target" {
      + crn            = (known after apply)
      ~ id             = "r026-f3767906-dc81-49dd-8fe2-010f9440929c/02h7-7f96e8b8-5b59-4f73-887b-57691a5580b1" -> (known after apply)
      ~ name           = "untaxed-finished-deem-dawdler" -> (known after apply)
      ~ resource_type  = "network_interface" -> (known after apply)
      + security_group = "r026-f3767906-dc81-49dd-8fe2-010f9440929c" # forces replacement
      + target         = "02h7-7f96e8b8-5b59-4f73-887b-57691a5580b1" # forces replacement

      - timeouts {}
    }


Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
1 participant