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
This affects compute instance groups beta and alpha.
There is an input class StatefulPolicyPreservedStateArgs and an output class StatefulPolicyPreservedStateResponse
They have two optional parameters external_ips and internal_ips. Currently they wrongly assume that they accept a Mapping[str, str].
However, that is wrong. It should be Mapping[str, Mapping[str, str]] (the second value is a map of str ,str).
Or even better, the second value should be a class of its own that accepts an auto_delete parameter.
See here on how to set it properly: https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-ip-addresses-in-migs#configuring_stateful_ip_addresses_on_mig_creation
From what I understand, both of this files (outputs.py and _inputs.py) are generated somehow - but I couldn't figure out how, so didn't submit a pr with my fix.
I applied the fix manually to make it work, and it works as intended.
The text was updated successfully, but these errors were encountered:
This affects compute instance groups beta and alpha.
There is an input class
StatefulPolicyPreservedStateArgs
and an output classStatefulPolicyPreservedStateResponse
They have two optional parameters
external_ips
andinternal_ips
. Currently they wrongly assume that they accept aMapping[str, str]
.However, that is wrong. It should be
Mapping[str, Mapping[str, str]]
(the second value is a map of str ,str).Or even better, the second value should be a class of its own that accepts an
auto_delete
parameter.See here on how to set it properly:
https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-ip-addresses-in-migs#configuring_stateful_ip_addresses_on_mig_creation
From what I understand, both of this files (outputs.py and _inputs.py) are generated somehow - but I couldn't figure out how, so didn't submit a pr with my fix.
I applied the fix manually to make it work, and it works as intended.
The text was updated successfully, but these errors were encountered: