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
since I am still new to terraform, I am not 100% certain if this is actually how its intended to work. So just close the issue if all works as designed.
When I do a
terraform import iosxe_system.hostname "Cisco-IOS-XE-native:native"
iosxe_system.hostname: Importing from ID "Cisco-IOS-XE-native:native"...
iosxe_system.hostname: Import prepared!
Prepared iosxe_system for import
iosxe_system.hostname: Refreshing state... [id=Cisco-IOS-XE-native:native]
Import successful!
The resources that were imported are shown above. These resources are now in
your Terraform state and will henceforth be managed by Terraform.
All seems to have worked fine, but when I now want to see the state it just shows the id:
terraform state show iosxe_system.hostname
# iosxe_system.hostname:
resource "iosxe_system" "hostname" {
id = "Cisco-IOS-XE-native:native"
}
From other provides I know that usually there should be the current data which is configured in the imported device.
You can also see this as a feature request, if this is just not implemented yet :)
KR
Peter
The text was updated successfully, but these errors were encountered:
the -generate-config-out flag does not seem to do anything either.
Terraform v1.7.4
on linux_amd64
+ provider registry.terraform.io/ciscodevnet/iosxe v0.5.5
I mean it does import the resource in general, I just does not have the actual values from the device in them and wants to update them although nothing changed.
Pretty sure this isn't refreshing the state of the device either (IE not reading actuals the device). Making manual configuration drift (IE changing an interface description on the switch) results in no terraform changes of an existing resource.
Hi,
since I am still new to terraform, I am not 100% certain if this is actually how its intended to work. So just close the issue if all works as designed.
When I do a
All seems to have worked fine, but when I now want to see the state it just shows the
id
:From other provides I know that usually there should be the current data which is configured in the imported device.
You can also see this as a feature request, if this is just not implemented yet :)
KR
Peter
The text was updated successfully, but these errors were encountered: