Skip to content

Commit c43655c

Browse files
committed
add snippets for google provider in terraform
Signed-off-by: Michal Wasilewski <[email protected]>
1 parent 1c1a5d2 commit c43655c

File tree

192 files changed

+1980
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+1980
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- mode: snippet -*-
2+
# name: google_app_engine_application
3+
# key: google_app_engine_application
4+
# --
5+
6+
resource "google_app_engine_application" "${1:name}" {
7+
project = "${2:project_id}"
8+
location_id = "${3:location_id}"
9+
}
10+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- mode: snippet -*-
2+
# name: google_bigquery_dataset
3+
# key: google_bigquery_dataset
4+
# --
5+
6+
resource "google_bigquery_dataset" "${1:name}" {
7+
dataset_id = "${2:dataset_id}"
8+
}
9+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- mode: snippet -*-
2+
# name: google_bigquery_table
3+
# key: google_bigquery_table
4+
# --
5+
6+
resource "google_bigquery_table" "${1:name}" {
7+
dataset_id = "${2:dataset_id}"
8+
table_id = "${3:table_id}"
9+
}
10+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- mode: snippet -*-
2+
# name: google_bigtable_instance
3+
# key: google_bigtable_instance
4+
# --
5+
6+
resource "google_bigtable_instance" "${1:name}" {
7+
name = "${2:name}"
8+
}
9+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- mode: snippet -*-
2+
# name: google_bigtable_table
3+
# key: google_bigtable_table
4+
# --
5+
6+
resource "google_bigtable_table" "${1:name}" {
7+
name = "${2:name}"
8+
instance_name = "${3:instance_name}"
9+
}
10+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# -*- mode: snippet -*-
2+
# name: google_binary_authorization_attestor
3+
# key: google_binary_authorization_attestor
4+
# --
5+
6+
resource "google_binary_authorization_attestor" "${1:name}" {
7+
name = "${2:name}"
8+
attestation_authority_note {
9+
note_reference = "${3:note_name}"
10+
}
11+
}
12+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# -*- mode: snippet -*-
2+
# name: google_binary_authorization_policy
3+
# key: google_binary_authorization_policy
4+
# --
5+
6+
resource "google_binary_authorization_policy" "${1:name}" {
7+
default_admission_rule {
8+
evaluation_mode = "${2:evaluation_mode}"
9+
enforcement_mode = "${3:enforcement_mode}"
10+
}
11+
}
12+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- mode: snippet -*-
2+
# name: google_cloudbuild_trigger
3+
# key: google_cloudbuild_trigger
4+
# --
5+
6+
resource "google_cloudbuild_trigger" "build_trigger" {
7+
}
8+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- mode: snippet -*-
2+
# name: google_composer_environment
3+
# key: google_composer_environment
4+
# --
5+
6+
resource "google_composer_environment" "${1:name}" {
7+
name = "${2:name}"
8+
}
9+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- mode: snippet -*-
2+
# name: google_cloudfunctions_function
3+
# key: google_cloudfunctions_function
4+
# --
5+
6+
resource "google_cloudfunctions_function" "${1:name}" {
7+
name = "${2:name}"
8+
source_archive_bucket = "${3:bucket_name}"
9+
source_archive_object = "${4:obejct_name}"
10+
}
11+

0 commit comments

Comments
 (0)