Skip to content

Commit 5d6f864

Browse files
committed
Renaming computed_table_id to table_fqns
1 parent 2dab334 commit 5d6f864

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ This module provisions a dataset and a list of tables with associated JSON schem
215215
| bigquery\_external\_tables | Map of BigQuery external table resources being provisioned. |
216216
| bigquery\_tables | Map of bigquery table resources being provisioned. |
217217
| bigquery\_views | Map of bigquery view resources being provisioned. |
218-
| computed\_table\_ids | Unique computed IDs for the table with format projects/{{project}}/datasets/{{dataset}}/tables/{{name}} |
219218
| env\_vars | Exported environment variables |
220219
| external\_table\_ids | Unique IDs for any external tables being provisioned |
221220
| external\_table\_names | Friendly names for any external tables being provisioned |
222221
| project | Project where the dataset and tables are created |
223222
| routine\_ids | Unique IDs for any routine being provisioned |
223+
| table\_fqns | Fully qualified names for the table with format projects/{{project}}/datasets/{{dataset}}/tables/{{name}} |
224224
| table\_ids | Unique id for the table being provisioned |
225225
| table\_names | Friendly name for the table being provisioned |
226226
| view\_ids | Unique id for the view being provisioned |

metadata.display.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ spec:
9090
altDefaults:
9191
- type: ALTERNATE_TYPE_DC
9292
value:
93-
- table_id: table-1
94-
schema: "[{\"description\": \"Full visitor ID\",\"mode\": \"NULLABLE\",\"name\": \"fullVisitorId\",\"type\": \"STRING\"},{\"description\": \"Visit number\",\"mode\": \"NULLABLE\",\"name\": \"visitNumber\",\"type\": \"INTEGER\"}]"
93+
- schema: "[{\"description\": \"Full visitor ID\",\"mode\": \"NULLABLE\",\"name\": \"fullVisitorId\",\"type\": \"STRING\"},{\"description\": \"Visit number\",\"mode\": \"NULLABLE\",\"name\": \"visitNumber\",\"type\": \"INTEGER\"}]"
94+
table_id: table-1
9595
views:
9696
name: views
9797
title: Views

metadata.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,6 @@ spec:
329329
type:
330330
- object
331331
- {}
332-
- name: computed_table_ids
333-
description: Unique computed IDs for the table with format projects/{{project}}/datasets/{{dataset}}/tables/{{name}}
334-
type:
335-
- list
336-
- string
337332
- name: env_vars
338333
description: Exported environment variables
339334
type:
@@ -362,6 +357,8 @@ spec:
362357
type:
363358
- list
364359
- string
360+
- name: table_fqns
361+
description: Fully qualified names for the table with format projects/{{project}}/datasets/{{dataset}}/tables/{{name}}
365362
- name: table_ids
366363
description: Unique id for the table being provisioned
367364
type:

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ output "table_ids" {
4747
description = "Unique id for the table being provisioned"
4848
}
4949

50-
output "computed_table_ids" {
50+
output "table_fqns" {
5151
value = [
5252
for table in google_bigquery_table.main :
5353
table.id
5454
]
55-
description = "Unique computed IDs for the table with format projects/{{project}}/datasets/{{dataset}}/tables/{{name}}"
55+
description = "Fully qualified names for the table with format projects/{{project}}/datasets/{{dataset}}/tables/{{name}}"
5656
}
5757

5858
output "table_names" {

0 commit comments

Comments
 (0)