-
Notifications
You must be signed in to change notification settings - Fork 30
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
No management-only switch for physical interface #160
Comments
This might happen sometimes when the mapping between the interfaces during the deployment isn't clear. Could you please share the configuration code for this? |
Sure, this is my code data "fmc_device_physical_interfaces" "DeviceVar1PhysicalInterfaceVar9" {
name = "Diagnostic0/0"
device_id = data.fmc_devices.DeviceVar1.id
}
resource "fmc_device_physical_interfaces" "DeviceVar1PhysicalInterfaceVar9" {
device_id = data.fmc_devices.DeviceVar1.id
enabled = true
ipv6_enforce_eui = false
mode = "NONE"
mtu = "1500"
name = "Diagnostic0/0"
physical_interface_id = data.fmc_device_physical_interfaces.DeviceVar1PhysicalInterfaceVar9.id
} |
Hello again, |
Hey, |
Hey, Best way is to just change through the UI. If that's not an option for you then you, then you can try using ansible to do the same. FMCAnsible - Follow this link and check it out once. Ansible is not stateful so it's not gonna try to destroy anything, it does what you'll tell it to do. Hope this helps. |
Okey, so you basically cannot fix that on Terraform level. Is this what you are trying to tell me ? |
No, unless you prefer encountering challenges when making changes, as Terraform can be less optimal compared to ansible in handling such situations. |
I'm trying to manage the Diagnostic0/0 interface, however it seems there is hardcoded value for 'management-only', which does not seem to be manageable and that makes deployment fail.
The text was updated successfully, but these errors were encountered: