Skip to content

Commit 9e55c87

Browse files
fix: Cloud SQL does not support multiple deny_maintenance_period block. Update variable description (#564)
Co-authored-by: Awais Malik <[email protected]>
1 parent e8ee893 commit 9e55c87

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

modules/mssql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The following dependency must be available for SQL Server module:
2525
| delete\_timeout | The optional timeout that is applied to limit long database deletes. | `string` | `"30m"` | no |
2626
| deletion\_protection | Used to block Terraform from deleting a SQL Instance. | `bool` | `true` | no |
2727
| deletion\_protection\_enabled | Enables protection of an instance from accidental deletion protection across all surfaces (API, gcloud, Cloud Console and Terraform). | `bool` | `false` | no |
28-
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
28+
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
2929
| disk\_autoresize | Configuration to increase storage size. | `bool` | `true` | no |
3030
| disk\_autoresize\_limit | The maximum size to which storage can be auto increased. | `number` | `0` | no |
3131
| disk\_size | The disk size for the master instance. | `number` | `10` | no |

modules/mssql/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ spec:
139139
type: bool
140140
default: false
141141
- name: deny_maintenance_period
142-
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance)
142+
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance)
143143
type: |-
144144
list(object({
145145
end_date = string

modules/mssql/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ variable "maintenance_window_update_track" {
141141
}
142142

143143
variable "deny_maintenance_period" {
144-
description = "The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance)"
144+
description = "The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance)"
145145
type = list(object({
146146
end_date = string
147147
start_date = string

modules/mysql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Note: CloudSQL provides [disk autoresize](https://cloud.google.com/sql/docs/mysq
2323
| delete\_timeout | The optional timout that is applied to limit long database deletes. | `string` | `"30m"` | no |
2424
| deletion\_protection | Used to block Terraform from deleting a SQL Instance. | `bool` | `true` | no |
2525
| deletion\_protection\_enabled | Enables protection of an instance from accidental deletion across all surfaces (API, gcloud, Cloud Console and Terraform). | `bool` | `false` | no |
26-
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
26+
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
2727
| disk\_autoresize | Configuration to increase storage size | `bool` | `true` | no |
2828
| disk\_autoresize\_limit | The maximum size to which storage can be auto increased. | `number` | `0` | no |
2929
| disk\_size | The disk size for the master instance | `number` | `10` | no |

modules/mysql/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ spec:
141141
type: bool
142142
default: false
143143
- name: deny_maintenance_period
144-
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance)
144+
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance)
145145
type: |-
146146
list(object({
147147
end_date = string

modules/mysql/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ variable "data_cache_enabled" {
188188
}
189189

190190
variable "deny_maintenance_period" {
191-
description = "The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance)"
191+
description = "The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance)"
192192
type = list(object({
193193
end_date = string
194194
start_date = string

modules/postgresql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Note: CloudSQL provides [disk autoresize](https://cloud.google.com/sql/docs/mysq
2424
| delete\_timeout | The optional timout that is applied to limit long database deletes. | `string` | `"30m"` | no |
2525
| deletion\_protection | Used to block Terraform from deleting a SQL Instance. | `bool` | `true` | no |
2626
| deletion\_protection\_enabled | Enables protection of an instance from accidental deletion across all surfaces (API, gcloud, Cloud Console and Terraform). | `bool` | `false` | no |
27-
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/postgres/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
27+
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/postgres/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
2828
| disk\_autoresize | Configuration to increase storage size. | `bool` | `true` | no |
2929
| disk\_autoresize\_limit | The maximum size to which storage can be auto increased. | `number` | `0` | no |
3030
| disk\_size | The disk size for the master instance. | `number` | `10` | no |

modules/postgresql/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec:
138138
type: bool
139139
default: false
140140
- name: deny_maintenance_period
141-
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/postgres/maintenance)
141+
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/postgres/maintenance)
142142
type: |-
143143
list(object({
144144
end_date = string

modules/postgresql/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ variable "user_labels" {
166166
}
167167

168168
variable "deny_maintenance_period" {
169-
description = "The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/postgres/maintenance)"
169+
description = "The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/postgres/maintenance)"
170170
type = list(object({
171171
end_date = string
172172
start_date = string

modules/safer_mysql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ mysql -S $HOME/mysql_sockets/myproject:region:instance -u user -p
181181
| delete\_timeout | The optional timout that is applied to limit long database deletes. | `string` | `"30m"` | no |
182182
| deletion\_protection | Used to block Terraform from deleting a SQL Instance. | `bool` | `true` | no |
183183
| deletion\_protection\_enabled | Enables protection of an instance from accidental deletion across all surfaces (API, gcloud, Cloud Console and Terraform). | `bool` | `false` | no |
184-
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
184+
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. List accepts only one value. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance) | <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> | `[]` | no |
185185
| disk\_autoresize | Configuration to increase storage size | `bool` | `true` | no |
186186
| disk\_autoresize\_limit | The maximum size to which storage can be auto increased. | `number` | `0` | no |
187187
| disk\_size | The disk size for the master instance | `number` | `10` | no |

0 commit comments

Comments
 (0)