Skip to content

Commit

Permalink
Feat: Onboard Census Bureau ACS Dataset (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen130 committed Jul 8, 2022
1 parent 2559838 commit 98e0179
Show file tree
Hide file tree
Showing 27 changed files with 8,489 additions and 251 deletions.
11 changes: 3 additions & 8 deletions datasets/census_bureau_acs/infra/cbsa_2019_1yr_pipeline.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,10 @@


resource "google_bigquery_table" "census_bureau_acs_cbsa_2019_1yr" {
project = var.project_id
dataset_id = "census_bureau_acs"
table_id = "cbsa_2019_1yr"

project = var.project_id
dataset_id = "census_bureau_acs"
table_id = "cbsa_2019_1yr"
description = "CBSA 2019 1 year report table"




depends_on = [
google_bigquery_dataset.census_bureau_acs
]
Expand Down
11 changes: 3 additions & 8 deletions datasets/census_bureau_acs/infra/cbsa_2019_5yr_pipeline.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,10 @@


resource "google_bigquery_table" "census_bureau_acs_cbsa_2019_5yr" {
project = var.project_id
dataset_id = "census_bureau_acs"
table_id = "cbsa_2019_5yr"

project = var.project_id
dataset_id = "census_bureau_acs"
table_id = "cbsa_2019_5yr"
description = "CBSA 2019 5 years report table"




depends_on = [
google_bigquery_dataset.census_bureau_acs
]
Expand Down
16 changes: 0 additions & 16 deletions datasets/census_bureau_acs/infra/census_bureau_acs_dataset.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,3 @@ resource "google_bigquery_dataset" "census_bureau_acs" {
output "bigquery_dataset-census_bureau_acs-dataset_id" {
value = google_bigquery_dataset.census_bureau_acs.dataset_id
}

resource "google_storage_bucket" "census-bureau-acs" {
name = "${var.bucket_name_prefix}-census-bureau-acs"
force_destroy = true
location = "US"
uniform_bucket_level_access = true
lifecycle {
ignore_changes = [
logging,
]
}
}

output "storage_bucket-census-bureau-acs-name" {
value = google_storage_bucket.census-bureau-acs.name
}

0 comments on commit 98e0179

Please sign in to comment.