Added firestore module (#2374)

This commit is contained in:
apichick
2024-06-26 14:18:42 +02:00
committed by GitHub
parent 3933a747fe
commit 00080cd840
11 changed files with 817 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.firestore.google_firestore_document.firestore_documents["my-doc-1"]:
collection: my-coll
database: my-database
document_id: d3db1c14-e56d-4597-af1c-f95c2d2290c1
fields: '{"field1":"value1","field2":"value2"}'
project: my-project
timeouts: null
counts:
google_firestore_document: 1
modules: 1
resources: 1

View File

@@ -0,0 +1,14 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

View File

@@ -0,0 +1,45 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.firestore.google_firestore_database.firestore_database[0]:
cmek_config: []
deletion_policy: ABANDON
location_id: name5
name: my-database
point_in_time_recovery_enablement: POINT_IN_TIME_RECOVERY_DISABLED
project: my-project
timeouts: null
type: FIRESTORE_NATIVE
module.firestore.google_firestore_field.firestore_fields["my-field-in-my-coll"]:
collection: my-coll
database: my-database
field: my-field
index_config:
- indexes:
- array_config: ''
order: ASCENDING
query_scope: COLLECTION_GROUP
- array_config: CONTAINS
order: ''
query_scope: COLLECTION
project: my-project
timeouts: null
ttl_config: []
counts:
google_firestore_database: 1
google_firestore_field: 1
modules: 1
resources: 2

View File

@@ -0,0 +1,46 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.firestore.google_firestore_database.firestore_database[0]:
cmek_config: []
deletion_policy: ABANDON
location_id: name5
name: my-database
point_in_time_recovery_enablement: POINT_IN_TIME_RECOVERY_DISABLED
project: my-project
timeouts: null
type: FIRESTORE_NATIVE
module.firestore.google_firestore_index.firestore_indexes["my-index"]:
api_scope: ANY_API
collection: my-coll
database: my-database
fields:
- array_config: null
field_path: name
order: ASCENDING
vector_config: []
- array_config: null
field_path: description
order: DESCENDING
vector_config: []
project: my-project
query_scope: COLLECTION
timeouts: null
counts:
google_firestore_database: 1
google_firestore_index: 1
modules: 1
resources: 2

View File

@@ -0,0 +1,38 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.firestore.google_firestore_backup_schedule.firestore_backup_schedule[0]:
daily_recurrence: []
database: my-database
project: my-project
retention: 86400s
timeouts: null
weekly_recurrence:
- day: MONDAY
module.firestore.google_firestore_database.firestore_database[0]:
cmek_config: []
deletion_policy: ABANDON
location_id: nam5
name: my-database
point_in_time_recovery_enablement: POINT_IN_TIME_RECOVERY_DISABLED
project: my-project
timeouts: null
type: FIRESTORE_NATIVE
counts:
google_firestore_backup_schedule: 1
google_firestore_database: 1
modules: 1
resources: 2

View File

@@ -0,0 +1,31 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
values:
module.firestore.google_firestore_database.firestore_database[0]:
cmek_config: []
deletion_policy: ABANDON
location_id: nam5
name: my-database
point_in_time_recovery_enablement: POINT_IN_TIME_RECOVERY_DISABLED
project: my-project
timeouts: null
type: FIRESTORE_NATIVE
counts:
google_firestore_database: 1
modules: 1
resources: 1
outputs: {}