-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
secondary_cidr_blocks not allowed to be empty but is default #215
Comments
Tim, line 29 has You can see how it is used in examples. If you think the problem is with the Atlantis module then open an issue there and provide a list of arguments you are using for it. |
The atlantis module does not pass in the argument. The default is an empty list. I dont see an issue on the atlantis side: https://github.com/terraform-aws-modules/terraform-aws-atlantis/blob/master/main.tf#L115 |
The issue you are referring to is different. |
@etwillbefine I encountered the same problem with Atlantis. Eliding In my case, I had a module with both
However,
So what's happening is that during the planning phase, the VPC does not exist (outermost module hasn't created it yet), but Atlantis' VPC module's logic runs and fails. I believe it is still unexpected behavior that |
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-aws-atlantis uses this module to do all VPC related stuff.
The atlantis module does not pass in the
secondary_cidr_blocks
. The default is set to an empty list.Resulting in the following error:
https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/main.tf#L33
Related terraform issue:
hashicorp/terraform#11210
hashicorp/terraform#15605
Running these versions:
Terraform v0.11.10 (new HCL will be available in Terraform 0.12.)
https://www.hashicorp.com/blog/terraform-0-1-2-preview
We do not run the preview version
The text was updated successfully, but these errors were encountered: