Skip to content

v1.535.6

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 11 Jul 16:30
1d1b067
refactor: update default `ingress_cidr_blocks` @RoseSecurity (#35) ## what

This 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 the ingress_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.

🤖 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 docs

why

To have most recent changes of README.md and doc from origin templates