-
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
phpipam_subnet can't set "is_folder" #20
Comments
I am confirm that issue exists.
But, to get folders need:
As I see, current phpipam terraform provider code don't have logic to handle this. Need code refactoring to implement folders support. |
@pavel-z1 - do you think you can do this? Or it is too much work? I am asking to know if can implement it in some upcoming version or mark it as obsolete and continue with other stuff. |
@lord-kyron it will take a lot of time. |
@pavel-z1 - I'm not developer, so I couldn't help but will try to find someone willing to help. |
@thefirstofthe300 and @rhysxevans- it seems that you are working with GO. Can you please, try to help here? @pavel-z1 needs help for fixing this and I am not actually GO developer. |
@pavel-z1 - do you still think this will be a lot of work? Or you will be able to fix that? |
Hi @lord-kyron The problem not with creation of folder. The problem with phpipam subnet GET methods which does not return subnets with To implement folders, must be added phpipam folder controlled in the SDK and here. |
Trying the following code
Produces the following error, despite the documentation saying it's supported
Error: "is_folder": this field cannot be set
subnet_address and subnet_mask also don't make sense in this resource (as a folder), but are required for some reason.
The text was updated successfully, but these errors were encountered: