-
Notifications
You must be signed in to change notification settings - Fork 13
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
Don't allow auto
as value for ipv4.address
or ipv6.address
#57
Comments
I'm not sure if we should change the logic to allow a user to set the value resource "incus_network" "net" {
name = "a-bridge"
type = "bridge"
config = {
"ipv4.nat" = "true"
"ipv6.nat" = "true"
}
} So if you don't set a value, we normally take the reasonable default values from Incus, which in this case would be Could you perhaps explain why it is necessary to declare |
I am simply using Anyway, you are right I can simply skip the option inside config. It is not a big deal. If we don't want to change the logic, we may add a constraint like |
What do you think is the better experience from the user's point of view:
|
I would prefer the second option. |
I think having (That's because changing It makes sense to not require a subnet to be picked, but that's different from having the user specifically set the values to |
auto
as value for ipv4.address
or ipv6.address
Hello I would like to work on this issue if it's possible ? |
Sure. I assigned it to you! |
gives the next errors.
though it is expected on incus side because the keyes ipv{4,6}.address are generated if we don't override them (
auto
as initial value)The text was updated successfully, but these errors were encountered: