Skip to content

Commit a21fd14

Browse files
authored
Bump version for examples of Firebase Extension (#15711)
1 parent 96fc5ba commit a21fd14

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

mmv1/products/firebaseextensions/Instance.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ self_link: 'projects/{{project}}/instances/{{instance_id}}'
2525
create_url: 'projects/{{project}}/instances?instanceId={{instance_id}}'
2626
update_verb: 'PATCH'
2727
update_mask: true
28-
# TODO: add API field once documentation is ready
28+
# TODO: add API field once documentation is ready
2929
import_format:
3030
- 'projects/{{project}}/instances/{{instance_id}}'
3131
- '{{project}}/{{instance_id}}'
@@ -44,7 +44,7 @@ async:
4444
resource_inside_response: true
4545
custom_code:
4646
examples:
47-
- name: 'firebase_extentions_instance_resize_image'
47+
- name: 'firebase_extensions_instance_resize_image'
4848
primary_resource_id: 'resize_image'
4949
min_version: 'beta'
5050
vars:

mmv1/templates/terraform/examples/firebase_extentions_instance_resize_image.tf.tmpl renamed to mmv1/templates/terraform/examples/firebase_extensions_instance_resize_image.tf.tmpl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ resource "google_firebase_extensions_instance" "resize_image" {
1515
instance_id = "{{index $.Vars "instance-id"}}"
1616
config {
1717
extension_ref = "firebase/storage-resize-images"
18-
extension_version = "0.2.2"
18+
extension_version = "0.2.10"
1919

2020
# The following params apply to the firebase/storage-resize-images extension.
2121
# Different extensions may have different params
@@ -28,6 +28,9 @@ resource "google_firebase_extensions_instance" "resize_image" {
2828
DO_BACKFILL = false
2929
IMG_SIZES = "200x200"
3030
IMG_BUCKET = google_storage_bucket.images.name
31+
BACKFILL_BATCH_SIZE = 3
32+
CONTENT_FILTER_LEVEL = "OFF"
33+
REGENERATE_TOKEN = "true"
3134
}
3235

3336
system_params = {

mmv1/third_party/terraform/services/firebaseextensions/resource_firebase_extensions_instance_test.go.tmpl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ resource "google_firebase_extensions_instance" "resize_image" {
6565
instance_id = "tf-test-storage-resize-images%{random_suffix}"
6666
config {
6767
extension_ref = "firebase/storage-resize-images"
68-
extension_version = "0.2.2"
68+
extension_version = "0.2.10"
6969

7070
# The following params apply to the firebase/storage-resize-images extension.
7171
# Different extensions may have different params
@@ -78,6 +78,9 @@ resource "google_firebase_extensions_instance" "resize_image" {
7878
DO_BACKFILL = false
7979
IMG_SIZES = "200x200"
8080
IMG_BUCKET = google_storage_bucket.images.name
81+
BACKFILL_BATCH_SIZE = 3
82+
CONTENT_FILTER_LEVEL = "OFF"
83+
REGENERATE_TOKEN = "true"
8184
}
8285

8386
system_params = {
@@ -116,7 +119,7 @@ resource "google_firebase_extensions_instance" "resize_image" {
116119
instance_id = "tf-test-storage-resize-images%{random_suffix}"
117120
config {
118121
extension_ref = "firebase/storage-resize-images"
119-
extension_version = "0.2.2"
122+
extension_version = "0.2.10"
120123

121124
# The following params apply to the firebase/storage-resize-images extension.
122125
# Different extensions may have different params
@@ -130,6 +133,9 @@ resource "google_firebase_extensions_instance" "resize_image" {
130133
DO_BACKFILL = true
131134
IMG_SIZES = "400x400"
132135
IMG_BUCKET = google_storage_bucket.images.name
136+
BACKFILL_BATCH_SIZE = 3
137+
CONTENT_FILTER_LEVEL = "OFF"
138+
REGENERATE_TOKEN = "true"
133139
}
134140

135141
system_params = {

0 commit comments

Comments
 (0)