@aws/nx-plugin 0.109.0 → 0.110.0

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.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/src/preset/__snapshots__/generator.spec.ts.snap +11 -1
  3. package/src/preset/generator.js +12 -3
  4. package/src/preset/generator.js.map +1 -1
  5. package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +184 -106
  6. package/src/py/lambda-function/__snapshots__/generator.spec.ts.snap +74 -18
  7. package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +11 -9
  8. package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +11 -9
  9. package/src/smithy/ts/api/__snapshots__/generator.spec.ts.snap +114 -62
  10. package/src/terraform/project/files/application/scripts/aws-config.ts.template +41 -0
  11. package/src/terraform/project/files/application/scripts/bootstrap.ts.template +91 -0
  12. package/src/terraform/project/files/application/scripts/init.ts.template +44 -0
  13. package/src/terraform/project/generator.js +16 -11
  14. package/src/terraform/project/generator.js.map +1 -1
  15. package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +175 -97
  16. package/src/ts/lambda-function/__snapshots__/generator.spec.ts.snap +74 -18
  17. package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +11 -9
  18. package/src/ts/react-website/agui/generator.js +7 -0
  19. package/src/ts/react-website/agui/generator.js.map +1 -1
  20. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +7 -0
  21. package/src/ts/strands-agent/__snapshots__/generator.spec.ts.snap +11 -9
  22. package/src/utils/agent-core-constructs/files/terraform/app/agent-core/__nameKebabCase__/__nameKebabCase__.tf.template +14 -12
  23. package/src/utils/api-constructs/files/terraform/app/apis/http/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +30 -17
  24. package/src/utils/api-constructs/files/terraform/app/apis/rest/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +32 -19
  25. package/src/utils/api-constructs/files/terraform/core/api/http/http-api/http-api.tf.template +2 -2
  26. package/src/utils/files/terraform/scripts/reset-runtime-config.ts.template +25 -0
  27. package/src/utils/files/terraform/src/core/asset-bucket/asset-bucket.tf.template +203 -0
  28. package/src/utils/files/terraform/src/core/runtime-config/appconfig/appconfig.tf.template +42 -39
  29. package/src/utils/files/terraform/src/core/runtime-config/appconfig-deployment/appconfig-deployment.tf.template +138 -0
  30. package/src/utils/files/terraform/src/core/runtime-config/entry/entry.tf.template +26 -90
  31. package/src/utils/files/terraform/src/core/runtime-config/read/read.tf.template +61 -5
  32. package/src/utils/function-constructs/files/terraform/app/lambda-functions/__functionNameKebabCase__/__functionNameKebabCase__.tf.template +36 -8
  33. package/src/utils/identity-constructs/files/terraform/core/user-identity/identity/identity.tf.template +6 -6
  34. package/src/utils/pnpm-workspace.d.ts +22 -0
  35. package/src/utils/pnpm-workspace.js +58 -0
  36. package/src/utils/pnpm-workspace.js.map +1 -0
  37. package/src/utils/shared-constructs.js +4 -2
  38. package/src/utils/shared-constructs.js.map +1 -1
  39. package/src/utils/versions.d.ts +4 -1
  40. package/src/utils/versions.js +3 -0
  41. package/src/utils/versions.js.map +1 -1
  42. package/src/utils/website-constructs/files/terraform/core/static-website/static-website.tf.template +7 -0
@@ -4,23 +4,79 @@ terraform {
4
4
  source = "hashicorp/local"
5
5
  version = "~> 2.0"
6
6
  }
7
+ null = {
8
+ source = "hashicorp/null"
9
+ version = ">= 3.0"
10
+ }
7
11
  }
8
12
  }
9
13
 
10
14
  variable "namespace" {
11
- description = "Namespace to read (e.g., 'connection'). If not set, reads all namespaces."
15
+ description = "Namespace to read (e.g., 'connection')."
12
16
  type = string
13
17
  default = "connection"
14
18
  }
15
19
 
16
20
  locals {
17
- config_dir = "${path.module}/../../../../../../../dist/packages/common/terraform/runtime-config"
18
- config_file_path = "${local.config_dir}/${var.namespace}.json"
21
+ config_dir = "${path.module}/../../../../../../../dist/packages/common/terraform/runtime-config"
22
+ entries_dir = "${local.config_dir}/entries/${var.namespace}"
23
+ namespace_path = "${local.config_dir}/${var.namespace}.json"
24
+ }
25
+
26
+ # Aggregate leaf entry files into the namespace JSON on every apply. The
27
+ # `entry` module writes `local_file` resources into `entries/<namespace>/`,
28
+ # and the same aggregation runs in the `appconfig` module — we duplicate
29
+ # it here so `read` can be used independently (eg the static-website
30
+ # module reads `connection.json` without needing an AppConfig application).
31
+ resource "null_resource" "aggregate_namespace" {
32
+ triggers = {
33
+ namespace = var.namespace
34
+ always = timestamp()
35
+ }
36
+
37
+ provisioner "local-exec" {
38
+ command = <<-EOT
39
+ uv run python -c "
40
+ import json
41
+ import pathlib
42
+ import sys
43
+
44
+ entries_dir = pathlib.Path('${local.entries_dir}')
45
+ output_file = pathlib.Path('${local.namespace_path}')
46
+
47
+ def deep_merge(target: dict, source: dict) -> dict:
48
+ for k, v in source.items():
49
+ if k in target and isinstance(target[k], dict) and isinstance(v, dict):
50
+ deep_merge(target[k], v)
51
+ else:
52
+ target[k] = v
53
+ return target
54
+
55
+ merged: dict = {}
56
+ if entries_dir.is_dir():
57
+ for entry_path in sorted(entries_dir.glob('*.json')):
58
+ section = entry_path.stem.rsplit('-', 1)[0]
59
+ try:
60
+ contribution = json.loads(entry_path.read_text())
61
+ except json.JSONDecodeError as e:
62
+ print(f'Skipping malformed entry {entry_path}: {e}', file=sys.stderr)
63
+ continue
64
+ existing = merged.get(section)
65
+ if isinstance(existing, dict) and isinstance(contribution, dict):
66
+ deep_merge(existing, contribution)
67
+ else:
68
+ merged[section] = contribution
69
+
70
+ output_file.parent.mkdir(parents=True, exist_ok=True)
71
+ output_file.write_text(json.dumps(merged, indent=2))
72
+ "
73
+ EOT
74
+ }
19
75
  }
20
76
 
21
- # Read the namespaced runtime config file
22
77
  data "local_file" "runtime_config" {
23
- filename = local.config_file_path
78
+ filename = local.namespace_path
79
+ depends_on = [null_resource.aggregate_namespace]
24
80
  }
25
81
 
26
82
  # Outputs
@@ -1,3 +1,16 @@
1
+ terraform {
2
+ required_providers {
3
+ aws = {
4
+ source = "hashicorp/aws"
5
+ version = "~> 6.0"
6
+ }
7
+ archive = {
8
+ source = "hashicorp/archive"
9
+ version = "~> 2.0"
10
+ }
11
+ }
12
+ }
13
+
1
14
  variable "tags" {
2
15
  description = "Tags to apply to resources"
3
16
  type = map(string)
@@ -20,12 +33,17 @@ variable "additional_iam_policy_statements" {
20
33
  default = []
21
34
  }
22
35
 
36
+ variable "asset_bucket_name" {
37
+ description = "Name of the shared asset S3 bucket used to stage the Lambda deployment zip. Instantiate the `core/asset-bucket` module once per deployment and pass its `bucket_name` output here."
38
+ type = string
39
+ }
40
+
23
41
  data "aws_caller_identity" "current" {}
24
42
  data "aws_region" "current" {}
25
43
 
26
44
  locals {
27
45
  aws_account_id = data.aws_caller_identity.current.account_id
28
- aws_region = data.aws_region.current.name
46
+ aws_region = data.aws_region.current.region
29
47
  }
30
48
 
31
49
  resource "random_string" "suffix" {
@@ -100,19 +118,29 @@ data "archive_file" "lambda_zip" {
100
118
  output_path = "${path.module}/../../../../../../../dist/packages/common/terraform/lambda-functions/<%- functionNameKebabCase %>/lambda.zip"
101
119
  }
102
120
 
121
+ resource "aws_s3_object" "lambda_zip" {
122
+ bucket = var.asset_bucket_name
123
+ key = "lambdas/<%- functionNameKebabCase %>/${data.archive_file.lambda_zip.output_base64sha256}.zip"
124
+ source = data.archive_file.lambda_zip.output_path
125
+ source_hash = data.archive_file.lambda_zip.output_base64sha256
126
+ etag = data.archive_file.lambda_zip.output_md5
127
+ }
128
+
103
129
  resource "aws_lambda_function" "lambda_function" {
104
130
  #checkov:skip=CKV_AWS_117:Lambda function does not need to be in VPC for this use case
105
131
  #checkov:skip=CKV_AWS_116:Dead Letter Queue not required for this simple use case
106
132
  #checkov:skip=CKV_AWS_272:Code signing not required for this use case
107
133
  #checkov:skip=CKV_AWS_115:Concurrent execution limit not required for this use case
108
134
  #checkov:skip=CKV_AWS_173:Lambda environment variables encrypted by managed key
109
- filename = data.archive_file.lambda_zip.output_path
110
- function_name = "<%- functionNameKebabCase %>-${random_string.suffix.result}"
111
- role = aws_iam_role.lambda_role.arn
112
- handler = "<%- handler %>"
113
- source_code_hash = data.archive_file.lambda_zip.output_base64sha256
114
- runtime = "<%- runtime %>"
115
- timeout = 30
135
+ s3_bucket = aws_s3_object.lambda_zip.bucket
136
+ s3_key = aws_s3_object.lambda_zip.key
137
+ s3_object_version = aws_s3_object.lambda_zip.version_id
138
+ function_name = "<%- functionNameKebabCase %>-${random_string.suffix.result}"
139
+ role = aws_iam_role.lambda_role.arn
140
+ handler = "<%- handler %>"
141
+ source_code_hash = data.archive_file.lambda_zip.output_base64sha256
142
+ runtime = "<%- runtime %>"
143
+ timeout = 30
116
144
 
117
145
  tracing_config {
118
146
  mode = "Active"
@@ -65,7 +65,7 @@ resource "aws_iam_role" "cognito_sms_role" {
65
65
  "aws:SourceAccount" = data.aws_caller_identity.current.account_id
66
66
  }
67
67
  ArnLike = {
68
- "aws:SourceArn" = "arn:aws:cognito-idp:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:userpool/*"
68
+ "aws:SourceArn" = "arn:aws:cognito-idp:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:userpool/*"
69
69
  }
70
70
  }
71
71
  }
@@ -124,7 +124,7 @@ resource "aws_cognito_user_pool" "user_pool" {
124
124
  sms_configuration {
125
125
  external_id = random_uuid.sms_external_id.result
126
126
  sns_caller_arn = aws_iam_role.cognito_sms_role.arn
127
- sns_region = data.aws_region.current.name
127
+ sns_region = data.aws_region.current.region
128
128
  }
129
129
 
130
130
  depends_on = [aws_iam_role_policy.cognito_sms_policy]
@@ -250,13 +250,13 @@ resource "aws_cognito_user_pool_client" "web_client" {
250
250
  callback_urls = concat([
251
251
  "http://localhost:4200",
252
252
  "http://localhost:4300",
253
- "https://${data.aws_region.current.name}.console.aws.amazon.com"
253
+ "https://${data.aws_region.current.region}.console.aws.amazon.com"
254
254
  ], var.callback_urls)
255
255
 
256
256
  logout_urls = concat([
257
257
  "http://localhost:4200",
258
258
  "http://localhost:4300",
259
- "https://${data.aws_region.current.name}.console.aws.amazon.com"
259
+ "https://${data.aws_region.current.region}.console.aws.amazon.com"
260
260
  ], var.logout_urls)
261
261
 
262
262
  # Security settings
@@ -379,7 +379,7 @@ module "add_cognito_to_runtime_config" {
379
379
  namespace = "connection"
380
380
  key = "cognitoProps"
381
381
  value = {
382
- region = data.aws_region.current.name
382
+ region = data.aws_region.current.region
383
383
  identityPoolId = aws_cognito_identity_pool.identity_pool.id
384
384
  userPoolId = aws_cognito_user_pool.user_pool.id
385
385
  userPoolWebClientId = aws_cognito_user_pool_client.web_client.id
@@ -389,7 +389,7 @@ module "add_cognito_to_runtime_config" {
389
389
  # Outputs
390
390
  output "region" {
391
391
  description = "AWS region"
392
- value = data.aws_region.current.name
392
+ value = data.aws_region.current.region
393
393
  }
394
394
 
395
395
  output "user_pool_id" {
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+ import { Tree } from '@nx/devkit';
6
+ /**
7
+ * Merge `allowBuilds` (pnpm 11) / `onlyBuiltDependencies` (pnpm 10) entries
8
+ * into the generated workspace's `pnpm-workspace.yaml`. No-op for non-pnpm
9
+ * workspaces.
10
+ *
11
+ * Generators call this when they introduce a dependency whose install
12
+ * script pnpm would otherwise reject under pnpm 11's default
13
+ * `strictDepBuilds=true`. Keeping the allowlist explicit — rather than
14
+ * globally disabling strictness — preserves the supply-chain audit pnpm 11
15
+ * intends: each build-script dep is reviewed by the generator author and
16
+ * entered as either `true` (run the script) or `false` (known dep we
17
+ * don't want to run but have seen).
18
+ *
19
+ * Only `true` entries are also added to `onlyBuiltDependencies` (pnpm 10's
20
+ * allowlist has no equivalent of the `false` decision).
21
+ */
22
+ export declare const registerPnpmBuiltDependencies: (tree: Tree, entries: Record<string, boolean>) => void;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerPnpmBuiltDependencies = void 0;
4
+ const tslib_1 = require("tslib");
5
+ /**
6
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
+ * SPDX-License-Identifier: Apache-2.0
8
+ */
9
+ const devkit_1 = require("@nx/devkit");
10
+ const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
11
+ const WORKSPACE_FILE = 'pnpm-workspace.yaml';
12
+ /**
13
+ * Merge `allowBuilds` (pnpm 11) / `onlyBuiltDependencies` (pnpm 10) entries
14
+ * into the generated workspace's `pnpm-workspace.yaml`. No-op for non-pnpm
15
+ * workspaces.
16
+ *
17
+ * Generators call this when they introduce a dependency whose install
18
+ * script pnpm would otherwise reject under pnpm 11's default
19
+ * `strictDepBuilds=true`. Keeping the allowlist explicit — rather than
20
+ * globally disabling strictness — preserves the supply-chain audit pnpm 11
21
+ * intends: each build-script dep is reviewed by the generator author and
22
+ * entered as either `true` (run the script) or `false` (known dep we
23
+ * don't want to run but have seen).
24
+ *
25
+ * Only `true` entries are also added to `onlyBuiltDependencies` (pnpm 10's
26
+ * allowlist has no equivalent of the `false` decision).
27
+ */
28
+ const registerPnpmBuiltDependencies = (tree, entries) => {
29
+ if ((0, devkit_1.detectPackageManager)(tree.root) !== 'pnpm') {
30
+ return;
31
+ }
32
+ if (!tree.exists(WORKSPACE_FILE)) {
33
+ return;
34
+ }
35
+ const original = tree.read(WORKSPACE_FILE, 'utf-8') ?? '';
36
+ const parsed = js_yaml_1.default.load(original) ?? {};
37
+ const allowBuilds = { ...(parsed.allowBuilds ?? {}) };
38
+ const onlyBuiltDependencies = new Set(parsed.onlyBuiltDependencies ?? []);
39
+ let changed = false;
40
+ for (const [pkg, decision] of Object.entries(entries)) {
41
+ if (allowBuilds[pkg] !== decision) {
42
+ allowBuilds[pkg] = decision;
43
+ changed = true;
44
+ }
45
+ if (decision === true && !onlyBuiltDependencies.has(pkg)) {
46
+ onlyBuiltDependencies.add(pkg);
47
+ changed = true;
48
+ }
49
+ }
50
+ if (!changed) {
51
+ return;
52
+ }
53
+ parsed.allowBuilds = allowBuilds;
54
+ parsed.onlyBuiltDependencies = [...onlyBuiltDependencies];
55
+ tree.write(WORKSPACE_FILE, js_yaml_1.default.dump(parsed, { quotingType: "'" }));
56
+ };
57
+ exports.registerPnpmBuiltDependencies = registerPnpmBuiltDependencies;
58
+ //# sourceMappingURL=pnpm-workspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pnpm-workspace.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/pnpm-workspace.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,uCAAwD;AACxD,8DAA2B;AAE3B,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAQ7C;;;;;;;;;;;;;;;GAeG;AACI,MAAM,6BAA6B,GAAG,CAC3C,IAAU,EACV,OAAgC,EAC1B,EAAE;IACR,IAAI,IAAA,6BAAoB,EAAC,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,EAAE,CAAC;QAC/C,OAAO;IACT,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QACjC,OAAO;IACT,CAAC;IAED,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC;IAC1D,MAAM,MAAM,GAAI,iBAAI,CAAC,IAAI,CAAC,QAAQ,CAA8B,IAAI,EAAE,CAAC;IAEvE,MAAM,WAAW,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC,EAAE,CAAC;IACtD,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,qBAAqB,IAAI,EAAE,CAAC,CAAC;IAC1E,IAAI,OAAO,GAAG,KAAK,CAAC;IAEpB,KAAK,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QACtD,IAAI,WAAW,CAAC,GAAG,CAAC,KAAK,QAAQ,EAAE,CAAC;YAClC,WAAW,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC;YAC5B,OAAO,GAAG,IAAI,CAAC;QACjB,CAAC;QACD,IAAI,QAAQ,KAAK,IAAI,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACzD,qBAAqB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC/B,OAAO,GAAG,IAAI,CAAC;QACjB,CAAC;IACH,CAAC;IAED,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;IACT,CAAC;IAED,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,MAAM,CAAC,qBAAqB,GAAG,CAAC,GAAG,qBAAqB,CAAC,CAAC;IAE1D,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,iBAAI,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC;AArCW,QAAA,6BAA6B,iCAqCxC"}
@@ -63,9 +63,10 @@ async function sharedConstructsGenerator(tree, options) {
63
63
  projectConfig.targets['reset-runtime-config'] = {
64
64
  executor: 'nx:run-commands',
65
65
  options: {
66
- command: "node -e \"const fs=require('fs');fs.mkdirSync(process.env.DIST_DIR,{recursive:true});fs.writeFileSync(process.env.DIST_DIR+'/runtime-config.json','{}');\"",
66
+ command: 'tsx scripts/reset-runtime-config.ts',
67
+ cwd: '{projectRoot}',
67
68
  env: {
68
- DIST_DIR: 'dist/{projectRoot}',
69
+ DIST_DIR: '{workspaceRoot}/dist/{projectRoot}',
69
70
  },
70
71
  },
71
72
  };
@@ -81,6 +82,7 @@ async function sharedConstructsGenerator(tree, options) {
81
82
  (0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files', 'terraform'), terraformLibPath, {}, {
82
83
  overwriteStrategy: devkit_1.OverwriteStrategy.KeepExisting,
83
84
  });
85
+ (0, devkit_1.addDependenciesToPackageJson)(tree, {}, (0, versions_1.withVersions)(['tsx']));
84
86
  await (0, format_1.formatFilesInSubtree)(tree);
85
87
  }
86
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"shared-constructs.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs.ts"],"names":[],"mappings":";;AAiCA,8DAoHC;;AArJD;;;GAGG;AACH,uCAQoB;AACpB,2CAA8D;AAC9D,4EAAqD;AACrD,uFAAuE;AACvE,yCAA0C;AAC1C,qCAAgD;AAChD,+CAAiE;AACjE,+EAMuC;AACvC,0CAAuD;AAOhD,KAAK,UAAU,yBAAyB,CAC7C,IAAU,EACV,OAAyC;IAEzC,MAAM,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC;IAChC,MAAM,cAAc,GAAG,IAAA,6BAAiB,EAAC,IAAI,CAAC,CAAC;IAC/C,eAAe,CAAC,IAAI,CAAC,CAAC;IAEtB,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;QAC1B,IACE,CAAC,IAAI,CAAC,MAAM,CACV,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,cAAc,CAAC,CACvE,EACD,CAAC;YACD,MAAM,IAAA,mBAAkB,EAAC,IAAI,EAAE;gBAC7B,IAAI,EAAE,oDAAsB;gBAC5B,SAAS,EAAE,0CAAY;gBACvB,YAAY,EAAE,mDAAqB;aACpC,CAAC,CAAC;YACH,IAAI,CAAC,MAAM,CACT,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,KAAK,CAAC,CAC9D,CAAC;YACF,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,EAAE,mDAAqB,EAAE,KAAK,CAAC,EACnE,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,KAAK,CAAC,EAC7D;gBACE,cAAc;gBACd,UAAU,EAA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,CAAC,YAAY,CAAC;QACzC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC;QAClC,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,KAAK,GAAG,uBAAuB,CAAC;IACtC,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO;IACT,CAAC;IACD,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,GAAG,SAAS,yBAAyB,CAAC,CAAC;AAClE,CAAC,CAAC"}
1
+ {"version":3,"file":"shared-constructs.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs.ts"],"names":[],"mappings":";;AAiCA,8DAsHC;;AAvJD;;;GAGG;AACH,uCAQoB;AACpB,2CAA8D;AAC9D,4EAAqD;AACrD,uFAAuE;AACvE,yCAA0C;AAC1C,qCAAgD;AAChD,+CAAiE;AACjE,+EAMuC;AACvC,0CAAuD;AAOhD,KAAK,UAAU,yBAAyB,CAC7C,IAAU,EACV,OAAyC;IAEzC,MAAM,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC;IAChC,MAAM,cAAc,GAAG,IAAA,6BAAiB,EAAC,IAAI,CAAC,CAAC;IAC/C,eAAe,CAAC,IAAI,CAAC,CAAC;IAEtB,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;QAC1B,IACE,CAAC,IAAI,CAAC,MAAM,CACV,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,cAAc,CAAC,CACvE,EACD,CAAC;YACD,MAAM,IAAA,mBAAkB,EAAC,IAAI,EAAE;gBAC7B,IAAI,EAAE,oDAAsB;gBAC5B,SAAS,EAAE,0CAAY;gBACvB,YAAY,EAAE,mDAAqB;aACpC,CAAC,CAAC;YACH,IAAI,CAAC,MAAM,CACT,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,KAAK,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AAgB,EAChB,EAAE,EACF;gBACE,iBAAiB,EAAE,0BAAiB,CAAC,YAAY;aAClD,CACF,CAAC;YAEF,IAAA,qCAA4B,EAAC,IAAI,EAAE,EAAE,EAAE,IAAA,uBAAY,EAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAE9D,MAAM,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;AACH,CAAC;AAED,MAAM,eAAe,GAAG,CAAC,IAAU,EAAE,EAAE;IACrC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC;QACzC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC;QAClC,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,KAAK,GAAG,uBAAuB,CAAC;IACtC,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO;IACT,CAAC;IACD,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,GAAG,SAAS,yBAAyB,CAAC,CAAC;AAClE,CAAC,CAAC"}
@@ -10,6 +10,7 @@ export declare const TS_VERSIONS: {
10
10
  readonly '@aws/aws-distro-opentelemetry-node-autoinstrumentation': "0.10.0";
11
11
  readonly '@aws-sdk/client-dynamodb': "3.1039.0";
12
12
  readonly '@aws-sdk/client-bedrock-runtime': "3.1039.0";
13
+ readonly '@aws-sdk/client-s3': "3.1039.0";
13
14
  readonly '@aws-sdk/client-sts': "3.1039.0";
14
15
  readonly '@aws-sdk/credential-providers': "3.1039.0";
15
16
  readonly '@aws-smithy/server-apigateway': "1.0.0-alpha.10";
@@ -52,6 +53,8 @@ export declare const TS_VERSIONS: {
52
53
  readonly '@types/cors': "2.8.19";
53
54
  readonly '@types/ws': "8.18.1";
54
55
  readonly '@types/express': "5.0.6";
56
+ readonly '@smithy/config-resolver': "4.4.17";
57
+ readonly '@smithy/node-config-provider': "4.3.14";
55
58
  readonly '@smithy/node-http-handler': "4.6.1";
56
59
  readonly '@smithy/types': "4.14.1";
57
60
  readonly '@vitest/coverage-v8': "4.1.5";
@@ -115,7 +118,7 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
115
118
  * Add versions to the given dependencies
116
119
  */
117
120
  export declare const withVersions: (deps: ITsDepVersion[]) => {
118
- [k: string]: "22.7.1" | "3.8.3" | "1.29.0" | "22.1.3" | "3.3.3" | "6.0.3" | "4.1.5" | "4.4.1" | "0.3.13" | "0.10.0" | "3.1039.0" | "1.0.0-alpha.10" | "2.33.0" | "7.3.3" | "10.2.1" | "0.19.0" | "0.0.53" | "0.2.0" | "1.56.5" | "7.8.2" | "1.0.0" | "1.168.26" | "1.167.29" | "1.166.37" | "1.161.7" | "3.0.175" | "1.0.123" | "3.0.1287" | "1.0.58" | "5.100.6" | "11.17.0" | "25.6.0" | "8.10.161" | "2.8.19" | "8.18.1" | "5.0.6" | "4.6.1" | "4.14.1" | "5.0.4" | "0.38.4" | "6.1.10" | "1.0.20" | "2.1120.0" | "2.251.0" | "2.251.0-alpha.0" | "3.12.0" | "10.6.0" | "2.8.6" | "5.6.2" | "0.7.1" | "2.1.1" | "14.0.3" | "3.7.5" | "0.28.0" | "1.0.31" | "1.0.5" | "8.59.1" | "5.5.5" | "5.2.1" | "11.3.4" | "11.0.4" | "3.1.0" | "4.0.0" | "2.0.0" | "19.6.6" | "3.5.0" | "3.3.1" | "19.2.5" | "6.1.3" | "1.0.0-rc.15" | "3.36.0" | "0.5.21" | "0.26.1" | "4.2.2" | "4.21.0" | "1.14.0" | "1.4.3" | "4.6.0" | "1.4.0" | "8.0.8" | "8.20.0";
121
+ [k: string]: "22.7.1" | "3.8.3" | "1.29.0" | "22.1.3" | "3.3.3" | "6.0.3" | "4.1.5" | "4.4.1" | "0.3.13" | "0.10.0" | "3.1039.0" | "1.0.0-alpha.10" | "2.33.0" | "7.3.3" | "10.2.1" | "0.19.0" | "0.0.53" | "0.2.0" | "1.56.5" | "7.8.2" | "1.0.0" | "1.168.26" | "1.167.29" | "1.166.37" | "1.161.7" | "3.0.175" | "1.0.123" | "3.0.1287" | "1.0.58" | "5.100.6" | "11.17.0" | "25.6.0" | "8.10.161" | "2.8.19" | "8.18.1" | "5.0.6" | "4.4.17" | "4.3.14" | "4.6.1" | "4.14.1" | "5.0.4" | "0.38.4" | "6.1.10" | "1.0.20" | "2.1120.0" | "2.251.0" | "2.251.0-alpha.0" | "3.12.0" | "10.6.0" | "2.8.6" | "5.6.2" | "0.7.1" | "2.1.1" | "14.0.3" | "3.7.5" | "0.28.0" | "1.0.31" | "1.0.5" | "8.59.1" | "5.5.5" | "5.2.1" | "11.3.4" | "11.0.4" | "3.1.0" | "4.0.0" | "2.0.0" | "19.6.6" | "3.5.0" | "3.3.1" | "19.2.5" | "6.1.3" | "1.0.0-rc.15" | "3.36.0" | "0.5.21" | "0.26.1" | "4.2.2" | "4.21.0" | "1.14.0" | "1.4.3" | "4.6.0" | "1.4.0" | "8.0.8" | "8.20.0";
119
122
  };
120
123
  /**
121
124
  * Versions for Python dependencies added by generators
@@ -13,6 +13,7 @@ exports.TS_VERSIONS = {
13
13
  '@aws/aws-distro-opentelemetry-node-autoinstrumentation': '0.10.0',
14
14
  '@aws-sdk/client-dynamodb': '3.1039.0',
15
15
  '@aws-sdk/client-bedrock-runtime': '3.1039.0',
16
+ '@aws-sdk/client-s3': '3.1039.0',
16
17
  '@aws-sdk/client-sts': '3.1039.0',
17
18
  '@aws-sdk/credential-providers': '3.1039.0',
18
19
  '@aws-smithy/server-apigateway': '1.0.0-alpha.10',
@@ -55,6 +56,8 @@ exports.TS_VERSIONS = {
55
56
  '@types/cors': '2.8.19',
56
57
  '@types/ws': '8.18.1',
57
58
  '@types/express': '5.0.6',
59
+ '@smithy/config-resolver': '4.4.17',
60
+ '@smithy/node-config-provider': '4.3.14',
58
61
  '@smithy/node-http-handler': '4.6.1',
59
62
  '@smithy/types': '4.14.1',
60
63
  '@vitest/coverage-v8': '4.1.5',
@@ -1 +1 @@
1
- {"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,aAAa,EAAE,QAAQ;IACvB,wDAAwD,EAAE,QAAQ;IAClE,0BAA0B,EAAE,UAAU;IACtC,iCAAiC,EAAE,UAAU;IAC7C,qBAAqB,EAAE,UAAU;IACjC,+BAA+B,EAAE,UAAU;IAC3C,+BAA+B,EAAE,gBAAgB;IACjD,yBAAyB,EAAE,gBAAgB;IAC3C,+BAA+B,EAAE,QAAQ;IACzC,gCAAgC,EAAE,QAAQ;IAC1C,mCAAmC,EAAE,QAAQ;IAC7C,+BAA+B,EAAE,QAAQ;IACzC,+BAA+B,EAAE,QAAQ;IACzC,+BAA+B,EAAE,UAAU;IAC3C,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,QAAQ;IACxB,sBAAsB,EAAE,QAAQ;IAChC,YAAY,EAAE,QAAQ;IACtB,WAAW,EAAE,QAAQ;IACrB,qBAAqB,EAAE,QAAQ;IAC/B,2BAA2B,EAAE,QAAQ;IACrC,iCAAiC,EAAE,QAAQ;IAC3C,eAAe,EAAE,QAAQ;IACzB,gBAAgB,EAAE,OAAO;IACzB,wBAAwB,EAAE,QAAQ;IAClC,IAAI,EAAE,OAAO;IACb,qBAAqB,EAAE,OAAO;IAC9B,wBAAwB,EAAE,UAAU;IACpC,yBAAyB,EAAE,UAAU;IACrC,4BAA4B,EAAE,UAAU;IACxC,+BAA+B,EAAE,SAAS;IAC1C,wBAAwB,EAAE,SAAS;IACnC,qCAAqC,EAAE,SAAS;IAChD,oCAAoC,EAAE,SAAS;IAC/C,+BAA+B,EAAE,UAAU;IAC3C,kCAAkC,EAAE,QAAQ;IAC5C,uBAAuB,EAAE,SAAS;IAClC,gCAAgC,EAAE,SAAS;IAC3C,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G,EAAE,UAAU;IACf,mBAAmB,EAAE,UAAU;IAC/B,gBAAgB,EAAE,UAAU;IAC5B,qBAAqB,EAAE,UAAU;IACjC,sBAAsB,EAAE,SAAS;IACjC,OAAO,EAAE,UAAU;CACX,CAAC;AAGX;;GAEG;AACI,MAAM,cAAc,GAAG,CAAC,IAAqB,EAAE,EAAE,CACtD,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,mBAAW,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AADpC,QAAA,cAAc,kBACsB"}
@@ -458,6 +458,13 @@ resource "aws_cloudfront_distribution" "website" {
458
458
  aws_wafv2_web_acl.cloudfront_waf
459
459
  ]
460
460
  }
461
+
462
+ # CloudFront validates access to the distribution logs bucket when it
463
+ # creates the distribution.
464
+ depends_on = [
465
+ aws_s3_bucket_acl.distribution_logs_acl,
466
+ aws_s3_bucket_policy.distribution_logs_ssl_policy,
467
+ ]
461
468
  }
462
469
 
463
470
  # S3 Bucket Policy for CloudFront OAC