-
Notifications
You must be signed in to change notification settings - Fork 41
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
Ability to reserve a cidr_block #7
Comments
Hi @braunsonm, Perhaps I misunderstand what you are asking, but I think what you asked for here is already supported if you set the |
Sorry for the confusion, that does answer my question but what I'm looking for is for a way to be able to actually specify the
If |
Are you sure what you described works?
|
Hi @braunsonm, Indeed, this module does not allow you to specify CIDR blocks as the caller. This module's intended purpose is to calculate new CIDR blocks based on a specification. What you are asking for seems to be outside the scope of this module, so I don't expect we would add such a capability here. You could fork this module and change it to work in the way you need in principle, although I think the specific functionality you'd need here (to tightly pack blocks while "working around" reserved areas) is perhaps beyond the capabilities of the Terraform functionality this module uses and so it might also require a custom Terraform provider to encapsulate the address calculation logic. |
I would like the ability to provide a
cidr_block
attribute to denote that network as already reserved. For instance:The
new
block should not try to use the reservedcidr_block
The text was updated successfully, but these errors were encountered: