-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
CIDR variable cant be defaulted to an empty string #86
Comments
If you don't want to create VPC you should write like this: module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "1.9.1"
create_vpc = false
} if you want to create VPC you should specify CIDR like this: module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "1.9.1"
cidr = "10.0.0.0/20"
} |
@antonbabenko I know how this module work, I was trying to pointing out a particular issue if I use the module without required values as indicated in registry's doc. |
Hi @antonbabenko sorry for the delay, this is better, the apply will exit with an error message and the user will be able to notice what is needed to change. |
v1.26.0 has been released. Thanks for your help! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
Expected Behavior
Plan should finish without errors
Actual Behavior
Steps to Reproduce
terraform init
terraform plan
The text was updated successfully, but these errors were encountered: