Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g-awmalik committed Jul 26, 2024
1 parent f7041a0 commit 2366c66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/basic_view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a common practice for providing limited data in a different dataset.
| delete\_contents\_on\_destroy | (Optional) If set to true, delete all the tables in the dataset when destroying the resource; otherwise, destroying the resource will fail if tables are present. | `bool` | `null` | no |
| table\_dataset\_labels | A mapping of labels to assign to the table. | `map(string)` | n/a | yes |
| table\_project\_id | Project where the dataset and table are created. | `any` | n/a | yes |
| tables | A list of maps that includes table\_id, schema, clustering, time\_partitioning, range\_partitioning, view, expiration\_time, labels in each element. | <pre>list(object({<br> table_id = string,<br> schema = string,<br> clustering = list(string),<br> require_partition_filter = bool,<br> time_partitioning = object({<br> expiration_ms = string,<br> field = string,<br> type = string,<br> }),<br> range_partitioning = object({<br> field = string,<br> range = object({<br> start = string,<br> end = string,<br> interval = string,<br> }),<br> }),<br> expiration_time = string,<br> labels = map(string),<br> }))</pre> | `[]` | no |
| tables | A list of maps that includes table\_id, schema, clustering, time\_partitioning, range\_partitioning, view, expiration\_time, labels in each element. | <pre>list(object({<br> table_id = string,<br> schema = string,<br> clustering = list(string),<br> time_partitioning = object({<br> expiration_ms = string,<br> field = string,<br> type = string,<br> }),<br> range_partitioning = object({<br> field = string,<br> range = object({<br> start = string,<br> end = string,<br> interval = string,<br> }),<br> }),<br> expiration_time = string,<br> labels = map(string),<br> }))</pre> | `[]` | no |
| view\_dataset\_labels | A mapping of labels to assign to the table. | `map(string)` | n/a | yes |
| view\_project\_id | Project where the dataset and table are created. | `any` | n/a | yes |
| views | A list of objects which include table\_id, which is view id, and view query | <pre>list(object({<br> view_id = string,<br> query = string,<br> use_legacy_sql = bool,<br> labels = map(string),<br> }))</pre> | `[]` | no |
Expand Down
7 changes: 3 additions & 4 deletions examples/basic_view/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ variable "tables" {
description = "A list of maps that includes table_id, schema, clustering, time_partitioning, range_partitioning, view, expiration_time, labels in each element."
default = []
type = list(object({
table_id = string,
schema = string,
clustering = list(string),
require_partition_filter = bool,
table_id = string,
schema = string,
clustering = list(string),
time_partitioning = object({
expiration_ms = string,
field = string,
Expand Down

0 comments on commit 2366c66

Please sign in to comment.