Skip to content

Resource aci_external_network_instance_profile, attributes not updated during update #1332

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

Open
dirkf98 opened this issue Apr 18, 2025 · 2 comments
Labels
bug jira-sync Sync this issue to Jira

Comments

@dirkf98
Copy link

dirkf98 commented Apr 18, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

$ terraform -v
Terraform v1.10.5
on linux_amd64

  • provider registry.terraform.io/ciscodevnet/aci v2.15.0
  • provider registry.terraform.io/hashicorp/assert v0.15.0

APIC version and APIC Platform

  • APIC Simulator with 5.2(7f)

Affected Resource(s)

  • aci_external_network_instance_profile

Terraform Configuration Files

resource "aci_external_network_instance_profile" "my_test_external_epg" {
  l3_outside_dn = aci_l3_outside.my_test_l3out.id
  name          = "external_epg"
  description   = "some other description"
  #exception_tag  = "2"
  #flood_on_encap = "disabled"
  #match_t        = "All"
  #pref_gr_memb   = "exclude"
  #prio           = "level1"
  #target_dscp    = "unspecified"
}

Debug Output

Panic Output

Expected Behavior

Description should be changed according to new value in Terraform configuration file.

Actual Behavior

The description in ACI is not changed, although terraform apply correctly reports a change.

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aci_external_network_instance_profile.my_test_external_epg will be updated in-place
  ~ resource "aci_external_network_instance_profile" "my_test_external_epg" {
      ~ description                                 = "manual description" -> "some other description"
        id                                          = "uni/tn-my_test_ten/out-my_test_l3out/instP-external_epg"
        name                                        = "external_epg"
        # (18 unchanged attributes hidden)
    }

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@akinross akinross added bug jira-sync Sync this issue to Jira labels Apr 19, 2025
@github-actions github-actions bot changed the title Resource aci_external_network_instance_profile, attribute description is not handled Resource aci_external_network_instance_profile, attribute description is not handled (DCNE-361) Apr 19, 2025
@akinross
Copy link
Collaborator

Hi @dirkf98,

I had a look and it seems to effect other attributes of aci_external_network_instance_profile also. I have added it to the backlog.

@akinross akinross changed the title Resource aci_external_network_instance_profile, attribute description is not handled (DCNE-361) Resource aci_external_network_instance_profile, attributes not updated during update Apr 19, 2025
@dirkf98
Copy link
Author

dirkf98 commented Apr 20, 2025

Hello @akinross,

thanks for the quick reply. I appreciate you looking into this.

dirkf98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug jira-sync Sync this issue to Jira
Projects
None yet
Development

No branches or pull requests

2 participants