refactor: update default `ingress_cidr_blocks` @RoseSecurity (#35)
## whatThis pull request introduces a default value for the ingress_cidr_blocks
variable in the src/variables.tf
file to ensure it defaults to an empty list when not explicitly provided.
Key change:
src/variables.tf
: Added a default value of[]
to theingress_cidr_blocks
variable. This change ensures that the variable has a default value, making it optional for users to define it explicitly.
why
- Not providing a default ingress value fails
│ Error: No value for required variable
│
│ on variables.tf line 28:
│ 28: variable "ingress_cidr_blocks" {
│
│ The root module input variable "ingress_cidr_blocks" is not set, and has no
│ default value. Use a -var or -var-file command line argument to provide a
│ value for this variable.
Summary by CodeRabbit
-
Documentation
- Updated example configuration in the documentation to remove an unused variable with an empty value.
-
New Features
- Made the
ingress_cidr_blocks
setting optional by providing a default value.
- Made the
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#36)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates