@geekmidas/cloud 10.0.0-alpha.15 → 10.0.0-alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/cloud",
3
- "version": "10.0.0-alpha.15",
3
+ "version": "10.0.0-alpha.17",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "lodash.snakecase": "~4.1.1",
44
- "@geekmidas/envkit": "10.0.0-alpha.15",
45
- "@geekmidas/manifest": "10.0.0-alpha.15"
44
+ "@geekmidas/envkit": "10.0.0-alpha.17",
45
+ "@geekmidas/manifest": "10.0.0-alpha.17"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/lodash.get": "~4.4.9",
@@ -58,10 +58,10 @@
58
58
  "@pulumi/aws": ">=7.47.0",
59
59
  "@pulumi/random": ">=4.21.2",
60
60
  "@pulumi/pulumi": ">=3.263.0",
61
- "@geekmidas/manifest": "^10.0.0-alpha.15",
62
- "@geekmidas/storage": "^10.0.0-alpha.15",
63
- "@geekmidas/events": "^10.0.0-alpha.15",
64
- "@geekmidas/db": "^10.0.0-alpha.15"
61
+ "@geekmidas/manifest": "^10.0.0-alpha.17",
62
+ "@geekmidas/storage": "^10.0.0-alpha.17",
63
+ "@geekmidas/events": "^10.0.0-alpha.17",
64
+ "@geekmidas/db": "^10.0.0-alpha.17"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@geekmidas/manifest": {
@@ -39,7 +39,7 @@ import {
39
39
  withCacheTable,
40
40
  } from './aws/Cache';
41
41
  import { Credential } from './aws/Credential';
42
- import { Database, DatabaseNeedsVpc } from './aws/Database';
42
+ import { Database, DatabaseNeedsVpc, type DatabaseProps } from './aws/Database';
43
43
  import { DatabaseBootstrap } from './aws/DatabaseBootstrap';
44
44
  import { DatabaseReader, DatabaseSchema } from './aws/DerivedDatabase';
45
45
  import { Email, EmailNeedsSender } from './aws/Email';
@@ -220,7 +220,11 @@ const PROVISIONERS: Partial<Record<DeclarationKind, Provisioner>> = {
220
220
  // rather than whatever Aurora defaults to that month. Local ran 18
221
221
  // while this ran 17.7, and neither was written down anywhere.
222
222
  version: String(d.version ?? DEFAULT_POSTGRES_VERSION),
223
- ...(props as unknown as sst.aws.PostgresArgs),
223
+ // `DatabaseProps`, not `sst.aws.PostgresArgs`: the database needs the
224
+ // `Vpc` component itself (its bootstrap function runs in the same VPC
225
+ // and needs the security groups too), where RDS would accept bare
226
+ // subnet ids. TS 7 checks the spread; 6 let the wider type through.
227
+ ...(props as unknown as Omit<DatabaseProps, 'schema'>),
224
228
  });
225
229
 
226
230
  // A database needs its own roles, not just its tenants'. Registering only