Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/Space48/cloud-seed/compare/v4.1.0...HEAD)
## [Unreleased](https://github.com/Space48/cloud-seed/compare/HEAD...v4.1.3)

### Fixed

- Fixed an "Unsupported" error when deploying `Firestore` functions with `event trigger filter attribute` set to `database` instead of `document`

## [4.1.2](https://github.com/Space48/cloud-seed/compare/v4.1.0...v4.1.2)

### Added

Expand Down Expand Up @@ -45,7 +51,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated package dependencies
- Enhanced type safety for environment-specific configurations


## [v3.0.0](https://github.com/Space48/cloud-seed/compare/v2.1.0...v3.0.0)

### Breaking changes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@space48/cloud-seed",
"version": "4.1.2",
"version": "4.1.3",
"description": "Cloud infrastructure automation tool that uses Terraform CDK.",
"main": "dist/index.js",
"bin": {
Expand Down Expand Up @@ -59,4 +59,4 @@
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix"
}
}
}
7 changes: 3 additions & 4 deletions stacks/gcp/GcpStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
retryPolicy,
eventFilters: [
{
attribute: "database",
attribute: "document",
value: config.document,
},
],
Expand Down Expand Up @@ -412,9 +412,8 @@
resource = "scheduled-" + config.name;
break;
case "firestore":
eventType = `providers/cloud.firestore/eventTypes/document.${
config.firestoreEvent || "write"
}`;
eventType = `providers/cloud.firestore/eventTypes/document.${config.firestoreEvent || "write"

Check warning on line 415 in stacks/gcp/GcpStack.ts

View workflow job for this annotation

GitHub Actions / build

Insert `⏎··········`
}`;

Check warning on line 416 in stacks/gcp/GcpStack.ts

View workflow job for this annotation

GitHub Actions / build

Delete `··`
resource = config.document;
break;
case "storage":
Expand Down
Loading