Skip to content

Commit

Permalink
add default at root lvl, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
George Scott committed Sep 5, 2023
1 parent 38d7580 commit 377658c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ No resources.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_allowed_inbound_cidrs"></a> [allowed\_inbound\_cidrs](#input\_allowed\_inbound\_cidrs) | Which IPv4 addresses/ranges to allow access. No default -- this must be explicitly provided. | `list(string)` | n/a | yes |
| <a name="input_allowed_inbound_cidrs"></a> [allowed\_inbound\_cidrs](#input\_allowed\_inbound\_cidrs) | Which IPv4 addresses/ranges to allow access. This must be explicitly provided, as is set to `["*"]` in the definition in the module root. | `list(string)` | n/a | yes |
| <a name="input_bucket_name"></a> [bucket\_name](#input\_bucket\_name) | Use an existing bucket. | `string` | `""` | no |
| <a name="input_create_redis"></a> [create\_redis](#input\_create\_redis) | Boolean indicating whether to provision an redis instance (true) or not (false). | `bool` | `false` | no |
| <a name="input_database_machine_type"></a> [database\_machine\_type](#input\_database\_machine\_type) | Specifies the machine type to be allocated for the database | `string` | `"db-n1-standard-2"` | no |
Expand Down
5 changes: 3 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ variable "subnetwork" {
}

variable "allowed_inbound_cidrs" {
type = list(string)
default = ["*"]
description = "Which IPv4 addresses/ranges to allow access. This must be explicitly provided, and by default is set to [\"*\"]"
nullable = false
description = "Which IPv4 addresses/ranges to allow access. No default -- this must be explicitly provided."
type = list(string)
}


Expand Down

0 comments on commit 377658c

Please sign in to comment.