@empire-builder-kit/nx 1.0.0-beta.7 → 1.0.0-beta.8

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": "@empire-builder-kit/nx",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.0-beta.8",
4
4
  "description": "Nx generators, executors, and Blueprint contracts for Empire Builder Kit",
5
5
  "license": "Apache-2.0",
6
6
  "type": "commonjs",
@@ -1079,14 +1079,14 @@ export function foundation() {
1079
1079
  }).json,
1080
1080
  },
1081
1081
  );
1082
- const databaseInstanceId = database.nodes[0].identifier;
1082
+ const databaseInstanceId = database.nodes.instance.identifier;
1083
1083
  const databaseEvents = isProduction
1084
1084
  ? new aws.rds.EventSubscription(
1085
1085
  'FoundationDatabaseEvents',
1086
1086
  {
1087
1087
  eventCategories: ['failure', 'notification', 'serverless'],
1088
1088
  snsTopic: alertTopic.arn,
1089
- sourceIds: database.nodes.map((node: any) => node.identifier),
1089
+ sourceIds: [databaseInstanceId],
1090
1090
  sourceType: 'db-instance',
1091
1091
  },
1092
1092
  { dependsOn: [alertTopicPolicy] },