You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue with resources containing Read-only (Computed) attributes when migrating to the new Terraform ACI provider which uses plugin framework (DCNE-266)
#1307
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
APIC version and APIC Platform
all
Affected Resource(s)
All the resources consisting of read only (Computed) attributes.
Terraform Configuration Files
resource"aci_application_epg""inherit_epg" {
application_profile_dn=aci_application_profile.app_profile_for_epg.idname="inherit_epg"description="epg to create relation sec_inherited"relation_fv_rs_node_att {
node_dn="topology/pod-1/node-108"encap="vlan-100"description="this is desc for static leaf"deployment_immediacy="lazy"mode="regular"
}
}
Debug Output
Panic Output
Expected Behavior
There should no change.
Actual Behavior
aci_application_epg.inherit_epg will be updated in-place
~ resource "aci_application_epg" "inherit_epg" {
id = "uni/tn-test_tenant/ap-test_ap/epg-inherit_epg"
name = "inherit_epg"
~ pc_tag = "16395" -> (known after apply)
tags = []
# (53 unchanged attributes hidden)
}
Steps to Reproduce
Use an older release of TF ACI ("2.15.0")
terraform init
terraform apply
Upgrade to the new provider
terraform plan
Important Factoids
This issue is currently seen with configurations consisting of older attributes of type block.
Example ->
github-actionsbot
changed the title
Issue with resources containing Read-only (Computed) attributes when migrating to the new Terraform ACI provider which uses plugin framework
Issue with resources containing Read-only (Computed) attributes when migrating to the new Terraform ACI provider which uses plugin framework (DCNE-266)
Dec 4, 2024
Community Note
Terraform Version
APIC version and APIC Platform
Affected Resource(s)
All the resources consisting of read only (Computed) attributes.
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
There should no change.
Actual Behavior
Steps to Reproduce
Use an older release of TF ACI ("2.15.0")
terraform init
terraform apply
Upgrade to the new provider
terraform plan
Important Factoids
This issue is currently seen with configurations consisting of older attributes of type block.
Example ->
Proposed fix: This issue is not seen if we populate the old type Block attributes with API returned values
References
The text was updated successfully, but these errors were encountered: