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
It seems that when calling detach_network_interface on the primary network interface (at index 0), AWS throws this error: botocore.exceptions.ClientError: An error occurred (OperationNotPermitted) when calling the DetachNetworkInterface operation: The network interface at device index 0 and networkCard index 0 cannot be detached.
However, moto does allow it which results in an exception being thrown when calling describe_instances afterwards:
Hi,
It seems that when calling
detach_network_interface
on the primary network interface (at index 0), AWS throws this error:botocore.exceptions.ClientError: An error occurred (OperationNotPermitted) when calling the DetachNetworkInterface operation: The network interface at device index 0 and networkCard index 0 cannot be detached.
However, moto does allow it which results in an exception being thrown when calling
describe_instances
afterwards:The text was updated successfully, but these errors were encountered: