-
Notifications
You must be signed in to change notification settings - Fork 1
Hello world #32
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
Open
kollerdaniel
wants to merge
18
commits into
master
Choose a base branch
from
hello_world
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Hello world #32
Changes from 7 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4df8023
terraform files
691b337
terraform files
10f434f
Merge branch 'hello_world' of https://github.com/aliz-ai/jarvis into …
4f48f13
correcting mistakes
ccb44d0
Delete main.tf
kollerdaniel a488a07
Delete terraform.tfvars
kollerdaniel e4e1b2f
Delete variables.tf
kollerdaniel 9364a43
edit .gitignore
5ee8b28
Merge branch 'hello_world' of https://github.com/aliz-ai/jarvis into …
680c852
edit terraform .gitignore
60b3770
edit terraform .gitignore
4fe0219
edit terraform .gitignore
5e3a41f
edit terraform .gitignore
c627111
edit terraform .gitignore
d53db09
edited terraform
9e7354f
edited .gitignore
e423c12
edited .gitignore
100ab9c
Merge branch 'master' into hello_world
nbali File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+58.5 MB
...terraform.io/hashicorp/google/4.1.0/windows_amd64/terraform-provider-google_v4.1.0_x5.exe
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
provider "google" { | ||
region = "europe-west1" | ||
zone = "europe-west1-c" | ||
} | ||
|
||
resource "google_bigquery_dataset" "dataset" { | ||
project = var.project | ||
dataset_id = "jarvis_sample_01" | ||
location = "EU" | ||
|
||
|
||
} | ||
|
||
resource "google_bigquery_table" "car" { | ||
project = var.project | ||
dataset_id = google_bigquery_dataset.dataset.dataset_id | ||
table_id = "car" | ||
|
||
schema = <<EOF | ||
[ | ||
{ | ||
"name": "id", | ||
"type": "INTEGER", | ||
"mode": "REQUIRED", | ||
"description": "The license plate of the car " | ||
}, | ||
{ | ||
"name": "brand", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "The brand of the car " | ||
}, | ||
{ | ||
"name": "price", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE", | ||
"description": "The price of the car " | ||
} | ||
] | ||
EOF | ||
|
||
} | ||
resource "google_bigquery_table" "promoted_car" { | ||
project = var.project | ||
dataset_id = google_bigquery_dataset.dataset.dataset_id | ||
table_id = "promoted_car" | ||
|
||
schema = <<EOF | ||
[ | ||
{ | ||
"name": "id", | ||
"type": "INTEGER", | ||
"mode": "REQUIRED", | ||
"description": "The license plate of the car " | ||
}, | ||
{ | ||
"name": "brand", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "The brand of the car " | ||
}, | ||
{ | ||
"name": "new_price", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE", | ||
"description": "The new price of the car " | ||
} | ||
] | ||
EOF | ||
|
||
} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"version": 4, | ||
"terraform_version": "1.0.9", | ||
"serial": 17, | ||
"lineage": "dec7945f-5d63-9aae-2549-893f09dacd89", | ||
"outputs": {}, | ||
"resources": [] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
{ | ||
"version": 4, | ||
"terraform_version": "1.0.9", | ||
"serial": 16, | ||
"lineage": "dec7945f-5d63-9aae-2549-893f09dacd89", | ||
"outputs": {}, | ||
"resources": [ | ||
{ | ||
"mode": "managed", | ||
"type": "google_bigquery_dataset", | ||
"name": "dataset", | ||
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]", | ||
"instances": [ | ||
{ | ||
"schema_version": 0, | ||
"attributes": { | ||
"access": [ | ||
{ | ||
"domain": "", | ||
"group_by_email": "", | ||
"role": "OWNER", | ||
"special_group": "", | ||
"user_by_email": "[email protected]", | ||
"view": [] | ||
}, | ||
{ | ||
"domain": "", | ||
"group_by_email": "", | ||
"role": "OWNER", | ||
"special_group": "projectOwners", | ||
"user_by_email": "", | ||
"view": [] | ||
}, | ||
{ | ||
"domain": "", | ||
"group_by_email": "", | ||
"role": "READER", | ||
"special_group": "projectReaders", | ||
"user_by_email": "", | ||
"view": [] | ||
}, | ||
{ | ||
"domain": "", | ||
"group_by_email": "", | ||
"role": "WRITER", | ||
"special_group": "projectWriters", | ||
"user_by_email": "", | ||
"view": [] | ||
} | ||
], | ||
"creation_time": 1637315934978, | ||
"dataset_id": "jarvis_sample_01", | ||
"default_encryption_configuration": [], | ||
"default_partition_expiration_ms": 0, | ||
"default_table_expiration_ms": 0, | ||
"delete_contents_on_destroy": false, | ||
"description": "", | ||
"etag": "Q3Wyblp5bl8CToPlPo33UQ==", | ||
"friendly_name": "", | ||
"id": "projects/koller-dani-sandbox/datasets/jarvis_sample_01", | ||
"labels": null, | ||
"last_modified_time": 1637315934978, | ||
"location": "EU", | ||
"project": "koller-dani-sandbox", | ||
"self_link": "https://bigquery.googleapis.com/bigquery/v2/projects/koller-dani-sandbox/datasets/jarvis_sample_01", | ||
"timeouts": null | ||
}, | ||
"sensitive_attributes": [], | ||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoyNDAwMDAwMDAwMDAsImRlbGV0ZSI6MjQwMDAwMDAwMDAwLCJ1cGRhdGUiOjI0MDAwMDAwMDAwMH19" | ||
} | ||
] | ||
}, | ||
{ | ||
"mode": "managed", | ||
"type": "google_bigquery_table", | ||
"name": "car", | ||
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]", | ||
"instances": [ | ||
{ | ||
"schema_version": 0, | ||
"attributes": { | ||
"clustering": null, | ||
"creation_time": 1637315935940, | ||
"dataset_id": "jarvis_sample_01", | ||
"deletion_protection": true, | ||
"description": "", | ||
"encryption_configuration": [], | ||
"etag": "aEPC83Rxzm9GKDKQ9vBcWw==", | ||
"expiration_time": 0, | ||
"external_data_configuration": [], | ||
"friendly_name": "", | ||
"id": "projects/koller-dani-sandbox/datasets/jarvis_sample_01/tables/car", | ||
"labels": null, | ||
"last_modified_time": 1637315936124, | ||
"location": "EU", | ||
"materialized_view": [], | ||
"num_bytes": 0, | ||
"num_long_term_bytes": 0, | ||
"num_rows": 0, | ||
"project": "koller-dani-sandbox", | ||
"range_partitioning": [], | ||
"schema": "[{\"description\":\"The license plate of the car \",\"mode\":\"REQUIRED\",\"name\":\"id\",\"type\":\"INTEGER\"},{\"description\":\"The brand of the car \",\"mode\":\"NULLABLE\",\"name\":\"brand\",\"type\":\"STRING\"},{\"description\":\"The price of the car \",\"mode\":\"NULLABLE\",\"name\":\"price\",\"type\":\"INTEGER\"}]", | ||
"self_link": "https://bigquery.googleapis.com/bigquery/v2/projects/koller-dani-sandbox/datasets/jarvis_sample_01/tables/car", | ||
"table_id": "car", | ||
"time_partitioning": [], | ||
"type": "TABLE", | ||
"view": [] | ||
}, | ||
"sensitive_attributes": [], | ||
"private": "bnVsbA==", | ||
"dependencies": [ | ||
"google_bigquery_dataset.dataset" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"mode": "managed", | ||
"type": "google_bigquery_table", | ||
"name": "promoted_car", | ||
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]", | ||
"instances": [ | ||
{ | ||
"schema_version": 0, | ||
"attributes": { | ||
"clustering": null, | ||
"creation_time": 1637315935851, | ||
"dataset_id": "jarvis_sample_01", | ||
"deletion_protection": true, | ||
"description": "", | ||
"encryption_configuration": [], | ||
"etag": "0QrcCbm/Tyw+xbDWXjWe8w==", | ||
"expiration_time": 0, | ||
"external_data_configuration": [], | ||
"friendly_name": "", | ||
"id": "projects/koller-dani-sandbox/datasets/jarvis_sample_01/tables/promoted_car", | ||
"labels": null, | ||
"last_modified_time": 1637315936047, | ||
"location": "EU", | ||
"materialized_view": [], | ||
"num_bytes": 0, | ||
"num_long_term_bytes": 0, | ||
"num_rows": 0, | ||
"project": "koller-dani-sandbox", | ||
"range_partitioning": [], | ||
"schema": "[{\"description\":\"The license plate of the car \",\"mode\":\"REQUIRED\",\"name\":\"id\",\"type\":\"INTEGER\"},{\"description\":\"The brand of the car \",\"mode\":\"NULLABLE\",\"name\":\"brand\",\"type\":\"STRING\"},{\"description\":\"The new price of the car \",\"mode\":\"NULLABLE\",\"name\":\"new_price\",\"type\":\"INTEGER\"}]", | ||
"self_link": "https://bigquery.googleapis.com/bigquery/v2/projects/koller-dani-sandbox/datasets/jarvis_sample_01/tables/promoted_car", | ||
"table_id": "promoted_car", | ||
"time_partitioning": [], | ||
"type": "TABLE", | ||
"view": [] | ||
}, | ||
"sensitive_attributes": [], | ||
"private": "bnVsbA==", | ||
"dependencies": [ | ||
"google_bigquery_dataset.dataset" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
project = "koller-dani-sandbox" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do not add this to the repo, just keep it locally |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
variable "project" {} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not define region and zone here