Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 3.24 KB

File metadata and controls

87 lines (65 loc) · 3.24 KB

Description

Creates a BigQuery table with a specified schema.

Primarily used for FSI - MonteCarlo Tutorial: fsi-montecarlo-on-batch-tutorial.

Usage

id: bq-table
    source: community/modules/database/bigquery-table
    use: [bq-dataset]
    settings:
      table_schema:
        '
        [
          {
            "name": "id", "type": "STRING"
          }
        ]
        '

License

Copyright 2023 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Requirements

Name Version
terraform >= 1.0
google >= 4.42
random ~> 3.0

Providers

Name Version
google >= 4.42
random ~> 3.0

Modules

No modules.

Resources

Name Type
google_bigquery_table.pbsb resource
random_id.resource_name_suffix resource

Inputs

Name Description Type Default Required
dataset_id Dataset name to be used to create the new BQ Table string n/a yes
deployment_name The name of the current deployment string n/a yes
labels Labels to add to the tables. Key-value pairs. map(string) n/a yes
project_id Project in which the HPC deployment will be created string n/a yes
table_id Table name to be used to create the new BQ Table string null no
table_schema Schema used to create the new BQ Table string n/a yes

Outputs

Name Description
dataset_id ID of BQ dataset
table_id ID of created BQ table
table_name Name of created BQ table