Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Bigquery Dataset for RAWG API Data #76

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

kevinsunny1996
Copy link
Owner

No description provided.

@kevinsunny1996 kevinsunny1996 linked an issue Mar 15, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Mar 15, 2024

Infracost report

💰 Monthly cost will not change

Project Cost change New monthly cost
kevinsunny1996/aggregator-terraform-infra/terraform $0 $0
Cost details
──────────────────────────────────
Project: kevinsunny1996/aggregator-terraform-infra/terraform

+ google_bigquery_dataset.rawg_api_dataset
  Monthly cost depends on usage

    + Queries (on-demand)
      Monthly cost depends on usage
        +$6.25 per TB

Monthly cost change for kevinsunny1996/aggregator-terraform-infra/terraform
Amount:  $0.00 ($0.00 → $0.00)

──────────────────────────────────
Key: ~ changed, + added, - removed

12 cloud resources were detected:
∙ 2 were estimated, all of which include usage-based costs, see https://infracost.io/usage-file
∙ 10 were free, rerun with --show-skipped to see details
This comment will be updated when code changes.

Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖``

Terraform Plan 📖success

Show Plan

terraform
module.gcs_api_extract.random_id.bucket_suffix: Refreshing state... [id=i_k]
data.google_client_config.default: Reading...
google_project_service.compute_api: Refreshing state... [id=exemplary-tide-379122/compute.googleapis.com]
google_service_account.airflow_user_sa: Refreshing state... [id=projects/exemplary-tide-379122/serviceAccounts/[email protected]]
google_project_service.composer_api: Refreshing state... [id=exemplary-tide-379122/composer.googleapis.com]
google_project_service.secret_mgr_api: Refreshing state... [id=exemplary-tide-379122/secretmanager.googleapis.com]
google_project_service.cloud_sql_api: Refreshing state... [id=exemplary-tide-379122/sqladmin.googleapis.com]
google_project_service.container_api: Refreshing state... [id=exemplary-tide-379122/container.googleapis.com]
module.gcs_api_extract.google_storage_bucket.buckets["rawg-api-extracts"]: Refreshing state... [id=pricing-aggregator-us-east1-rawg-api-extracts]
data.google_client_config.default: Read complete after 0s [id=projects/"exemplary-tide-379122"/regions/"us-east1"/zones/<null>]
module.gcs_api_extract.google_storage_bucket_iam_binding.admins["rawg-api-extracts"]: Refreshing state... [id=b/pricing-aggregator-us-east1-rawg-api-extracts/roles/storage.objectAdmin]
google_project_iam_binding.gcs_access: Refreshing state... [id=exemplary-tide-379122/roles/storage.objectAdmin]
google_project_iam_binding.gsm_access: Refreshing state... [id=exemplary-tide-379122/roles/secretmanager.secretAccessor]
google_project_iam_binding.bq_access: Refreshing state... [id=exemplary-tide-379122/roles/bigquery.dataEditor]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # google_bigquery_dataset.rawg_api_dataset will be created
  + resource "google_bigquery_dataset" "rawg_api_dataset" {
      + creation_time              = (known after apply)
      + dataset_id                 = "rawg_api_elt_dataset"
      + default_collation          = (known after apply)
      + delete_contents_on_destroy = true
      + etag                       = (known after apply)
      + id                         = (known after apply)
      + is_case_insensitive        = (known after apply)
      + labels                     = (known after apply)
      + last_modified_time         = (known after apply)
      + location                   = "us-east1"
      + max_time_travel_hours      = (known after apply)
      + project                    = (sensitive value)
      + self_link                  = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pushed by: @kevinsunny1996, Action: pull_request

@kevinsunny1996 kevinsunny1996 merged commit 50fea3d into main Mar 15, 2024
5 of 6 checks passed
@kevinsunny1996
Copy link
Owner Author

Closes #75

@kevinsunny1996 kevinsunny1996 deleted the build/create_bq_dataset branch March 15, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Bigquery Dataset
1 participant