@aws/nx-plugin 0.45.1 → 0.46.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.
- package/package.json +1 -1
- package/src/py/fast-api/__snapshots__/generator.spec.ts.snap +3669 -0
- package/src/py/fast-api/generator.js +57 -50
- package/src/py/fast-api/generator.js.map +1 -1
- package/src/py/fast-api/schema.d.ts +1 -0
- package/src/py/fast-api/schema.json +8 -0
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +590 -0
- package/src/py/mcp-server/generator.js +4 -18
- package/src/py/mcp-server/generator.js.map +1 -1
- package/src/py/mcp-server/schema.d.ts +1 -0
- package/src/py/mcp-server/schema.json +8 -0
- package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +590 -0
- package/src/py/strands-agent/generator.js +4 -18
- package/src/py/strands-agent/generator.js.map +1 -1
- package/src/py/strands-agent/schema.d.ts +1 -0
- package/src/py/strands-agent/schema.json +8 -0
- package/src/terraform/project/generator.js +23 -7
- package/src/terraform/project/generator.js.map +1 -1
- package/src/trpc/backend/__snapshots__/generator.spec.ts.snap +3669 -0
- package/src/trpc/backend/generator.js +6 -17
- package/src/trpc/backend/generator.js.map +1 -1
- package/src/trpc/backend/schema.d.ts +1 -0
- package/src/trpc/backend/schema.json +8 -0
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +590 -0
- package/src/ts/mcp-server/generator.js +4 -18
- package/src/ts/mcp-server/generator.js.map +1 -1
- package/src/ts/mcp-server/schema.d.ts +1 -0
- package/src/ts/mcp-server/schema.json +8 -0
- package/src/ts/nx-plugin/generator.js +1 -0
- package/src/ts/nx-plugin/generator.js.map +1 -1
- package/src/utils/agent-core-constructs/agent-core-constructs.d.ts +11 -5
- package/src/utils/agent-core-constructs/agent-core-constructs.js +51 -10
- package/src/utils/agent-core-constructs/agent-core-constructs.js.map +1 -1
- package/src/utils/agent-core-constructs/files/terraform/app/agent-core/__nameKebabCase__/__nameKebabCase__.tf.template +46 -0
- package/src/utils/agent-core-constructs/files/terraform/core/agent-core/runtime.tf.template +536 -0
- package/src/utils/api-constructs/api-constructs.d.ts +4 -4
- package/src/utils/api-constructs/api-constructs.js +45 -5
- package/src/utils/api-constructs/api-constructs.js.map +1 -1
- package/src/utils/api-constructs/files/terraform/app/apis/http/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +382 -0
- package/src/utils/api-constructs/files/terraform/app/apis/rest/__apiNameKebabCase__/__apiNameKebabCase__.tf.template +508 -0
- package/src/utils/api-constructs/files/terraform/core/api/http/http-api/http-api.tf.template +250 -0
- package/src/utils/api-constructs/files/terraform/core/api/rest/rest-api/rest-api.tf.template +150 -0
- package/src/utils/files/terraform/src/metrics/metrics.tf.template +3 -2
- package/src/utils/py.d.ts +5 -0
- package/src/utils/py.js +9 -1
- package/src/utils/py.js.map +1 -1
- package/src/utils/shared-constructs-constants.d.ts +2 -0
- package/src/utils/shared-constructs-constants.js +3 -1
- package/src/utils/shared-constructs-constants.js.map +1 -1
- package/src/utils/shared-constructs.js +2 -2
- package/src/utils/shared-constructs.js.map +1 -1
- package/src/utils/versions.d.ts +3 -1
- package/src/utils/versions.js +2 -0
- package/src/utils/versions.js.map +1 -1
- /package/src/utils/agent-core-constructs/files/{app → cdk/app}/agent-core/__nameKebabCase__/Dockerfile.template +0 -0
- /package/src/utils/agent-core-constructs/files/{app → cdk/app}/agent-core/__nameKebabCase__/__nameKebabCase__.ts.template +0 -0
- /package/src/utils/agent-core-constructs/files/{core → cdk/core}/agent-core/runtime.ts.template +0 -0
- /package/src/utils/api-constructs/files/{app → cdk/app}/apis/http/__apiNameKebabCase__.ts.template +0 -0
- /package/src/utils/api-constructs/files/{app → cdk/app}/apis/rest/__apiNameKebabCase__.ts.template +0 -0
- /package/src/utils/api-constructs/files/{core → cdk/core}/api/http/http-api.ts.template +0 -0
- /package/src/utils/api-constructs/files/{core → cdk/core}/api/rest/rest-api.ts.template +0 -0
- /package/src/utils/api-constructs/files/{core → cdk/core}/api/trpc/trpc-utils.ts.template +0 -0
- /package/src/utils/api-constructs/files/{core → cdk/core}/api/utils/utils.ts.template +0 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# Core HTTP API Gateway module
|
|
2
|
+
# This module creates the API Gateway HTTP API, stage, and logging resources
|
|
3
|
+
|
|
4
|
+
terraform {
|
|
5
|
+
required_version = ">= 1.0"
|
|
6
|
+
|
|
7
|
+
required_providers {
|
|
8
|
+
aws = {
|
|
9
|
+
source = "hashicorp/aws"
|
|
10
|
+
version = "~> 6.0"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
# Core HTTP API Gateway Variables
|
|
16
|
+
|
|
17
|
+
variable "api_name" {
|
|
18
|
+
description = "Name of the HTTP API Gateway"
|
|
19
|
+
type = string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
variable "api_description" {
|
|
23
|
+
description = "Description of the HTTP API Gateway"
|
|
24
|
+
type = string
|
|
25
|
+
default = "HTTP API Gateway"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
variable "stage_name" {
|
|
29
|
+
description = "Name of the API Gateway stage"
|
|
30
|
+
type = string
|
|
31
|
+
default = "prod"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
variable "stage_auto_deploy" {
|
|
35
|
+
description = "Whether to automatically deploy the API stage"
|
|
36
|
+
type = bool
|
|
37
|
+
default = true
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
# CORS Configuration
|
|
41
|
+
|
|
42
|
+
variable "cors_allow_credentials" {
|
|
43
|
+
description = "Whether to allow credentials in CORS requests"
|
|
44
|
+
type = bool
|
|
45
|
+
default = false
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
variable "cors_allow_headers" {
|
|
49
|
+
description = "List of allowed headers for CORS"
|
|
50
|
+
type = list(string)
|
|
51
|
+
default = ["authorization", "content-type", "x-amz-content-sha256", "x-amz-date", "x-amz-security-token"]
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
variable "cors_allow_methods" {
|
|
55
|
+
description = "List of allowed HTTP methods for CORS"
|
|
56
|
+
type = list(string)
|
|
57
|
+
default = ["*"]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
variable "cors_allow_origins" {
|
|
61
|
+
description = "List of allowed origins for CORS"
|
|
62
|
+
type = list(string)
|
|
63
|
+
default = ["*"]
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
variable "cors_expose_headers" {
|
|
67
|
+
description = "List of headers to expose in CORS responses"
|
|
68
|
+
type = list(string)
|
|
69
|
+
default = []
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
variable "cors_max_age" {
|
|
73
|
+
description = "Maximum age for CORS preflight requests in seconds"
|
|
74
|
+
type = number
|
|
75
|
+
default = 86400
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
# Tags
|
|
79
|
+
|
|
80
|
+
variable "tags" {
|
|
81
|
+
description = "Tags to apply to all resources"
|
|
82
|
+
type = map(string)
|
|
83
|
+
default = {}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
# Data sources
|
|
87
|
+
data "aws_region" "current" {}
|
|
88
|
+
data "aws_caller_identity" "current" {}
|
|
89
|
+
|
|
90
|
+
# Resources
|
|
91
|
+
|
|
92
|
+
# KMS key for CloudWatch log group encryption
|
|
93
|
+
resource "aws_kms_key" "logs_key" {
|
|
94
|
+
description = "KMS key for CloudWatch log group encryption"
|
|
95
|
+
deletion_window_in_days = 7
|
|
96
|
+
enable_key_rotation = true
|
|
97
|
+
|
|
98
|
+
policy = jsonencode({
|
|
99
|
+
Version = "2012-10-17"
|
|
100
|
+
Statement = [
|
|
101
|
+
{
|
|
102
|
+
Sid = "Enable IAM User Permissions"
|
|
103
|
+
Effect = "Allow"
|
|
104
|
+
Principal = {
|
|
105
|
+
AWS = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:root"
|
|
106
|
+
}
|
|
107
|
+
Action = "kms:*"
|
|
108
|
+
Resource = "*"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
Sid = "Allow CloudWatch Logs"
|
|
112
|
+
Effect = "Allow"
|
|
113
|
+
Principal = {
|
|
114
|
+
Service = "logs.${data.aws_region.current.name}.amazonaws.com"
|
|
115
|
+
}
|
|
116
|
+
Action = [
|
|
117
|
+
"kms:Encrypt",
|
|
118
|
+
"kms:Decrypt",
|
|
119
|
+
"kms:ReEncrypt*",
|
|
120
|
+
"kms:GenerateDataKey*",
|
|
121
|
+
"kms:DescribeKey"
|
|
122
|
+
]
|
|
123
|
+
Resource = "*"
|
|
124
|
+
Condition = {
|
|
125
|
+
ArnEquals = {
|
|
126
|
+
"kms:EncryptionContext:aws:logs:arn" = "arn:aws:logs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:log-group:/aws/apigateway/${var.api_name}"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
})
|
|
132
|
+
|
|
133
|
+
tags = var.tags
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
resource "aws_kms_alias" "logs_key_alias" {
|
|
137
|
+
name = "alias/${var.api_name}-api-logs-encryption"
|
|
138
|
+
target_key_id = aws_kms_key.logs_key.key_id
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
# HTTP API Gateway
|
|
142
|
+
resource "aws_apigatewayv2_api" "http_api" {
|
|
143
|
+
name = var.api_name
|
|
144
|
+
protocol_type = "HTTP"
|
|
145
|
+
description = var.api_description
|
|
146
|
+
|
|
147
|
+
cors_configuration {
|
|
148
|
+
allow_credentials = var.cors_allow_credentials
|
|
149
|
+
allow_headers = var.cors_allow_headers
|
|
150
|
+
allow_methods = var.cors_allow_methods
|
|
151
|
+
allow_origins = var.cors_allow_origins
|
|
152
|
+
expose_headers = var.cors_expose_headers
|
|
153
|
+
max_age = var.cors_max_age
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
tags = var.tags
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
# API Gateway stage
|
|
160
|
+
resource "aws_apigatewayv2_stage" "api_stage" {
|
|
161
|
+
api_id = aws_apigatewayv2_api.http_api.id
|
|
162
|
+
name = var.stage_name
|
|
163
|
+
auto_deploy = var.stage_auto_deploy
|
|
164
|
+
|
|
165
|
+
access_log_settings {
|
|
166
|
+
destination_arn = aws_cloudwatch_log_group.api_logs.arn
|
|
167
|
+
format = jsonencode({
|
|
168
|
+
requestId = "$context.requestId"
|
|
169
|
+
ip = "$context.identity.sourceIp"
|
|
170
|
+
requestTime = "$context.requestTime"
|
|
171
|
+
httpMethod = "$context.httpMethod"
|
|
172
|
+
routeKey = "$context.routeKey"
|
|
173
|
+
status = "$context.status"
|
|
174
|
+
protocol = "$context.protocol"
|
|
175
|
+
responseLength = "$context.responseLength"
|
|
176
|
+
error = "$context.error.message"
|
|
177
|
+
integrationError = "$context.integrationErrorMessage"
|
|
178
|
+
})
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
default_route_settings {
|
|
182
|
+
throttling_burst_limit = 5000
|
|
183
|
+
throttling_rate_limit = 10000
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
tags = var.tags
|
|
187
|
+
|
|
188
|
+
depends_on = [aws_cloudwatch_log_group.api_logs]
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
# CloudWatch Log Group for API Gateway
|
|
192
|
+
resource "aws_cloudwatch_log_group" "api_logs" {
|
|
193
|
+
#checkov:skip=CKV_AWS_338:Log retention set to forever
|
|
194
|
+
#checkov:skip=CKV_AWS_66:Log retention set to forever
|
|
195
|
+
name = "/aws/apigateway/${var.api_name}"
|
|
196
|
+
kms_key_id = aws_kms_key.logs_key.arn
|
|
197
|
+
tags = var.tags
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
# Outputs
|
|
201
|
+
|
|
202
|
+
output "api_id" {
|
|
203
|
+
description = "ID of the HTTP API Gateway"
|
|
204
|
+
value = aws_apigatewayv2_api.http_api.id
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
output "api_arn" {
|
|
208
|
+
description = "ARN of the HTTP API Gateway"
|
|
209
|
+
value = aws_apigatewayv2_api.http_api.arn
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
output "api_endpoint" {
|
|
213
|
+
description = "Base URL of the HTTP API Gateway"
|
|
214
|
+
value = aws_apigatewayv2_api.http_api.api_endpoint
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
output "api_execution_arn" {
|
|
218
|
+
description = "Execution ARN of the HTTP API Gateway"
|
|
219
|
+
value = aws_apigatewayv2_api.http_api.execution_arn
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
output "stage_id" {
|
|
223
|
+
description = "ID of the API Gateway stage"
|
|
224
|
+
value = aws_apigatewayv2_stage.api_stage.id
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
output "stage_arn" {
|
|
228
|
+
description = "ARN of the API Gateway stage"
|
|
229
|
+
value = aws_apigatewayv2_stage.api_stage.arn
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
output "stage_execution_arn" {
|
|
233
|
+
description = "Execution ARN of the API Gateway stage"
|
|
234
|
+
value = aws_apigatewayv2_stage.api_stage.execution_arn
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
output "stage_invoke_url" {
|
|
238
|
+
description = "Invoke URL of the API Gateway stage"
|
|
239
|
+
value = aws_apigatewayv2_stage.api_stage.invoke_url
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
output "api_log_group_name" {
|
|
243
|
+
description = "Name of the API Gateway CloudWatch log group"
|
|
244
|
+
value = aws_cloudwatch_log_group.api_logs.name
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
output "api_log_group_arn" {
|
|
248
|
+
description = "ARN of the API Gateway CloudWatch log group"
|
|
249
|
+
value = aws_cloudwatch_log_group.api_logs.arn
|
|
250
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Core REST API Gateway module
|
|
2
|
+
# This module creates the API Gateway REST API, deployment, stage, and logging resources
|
|
3
|
+
|
|
4
|
+
terraform {
|
|
5
|
+
required_version = ">= 1.0"
|
|
6
|
+
|
|
7
|
+
required_providers {
|
|
8
|
+
aws = {
|
|
9
|
+
source = "hashicorp/aws"
|
|
10
|
+
version = "~> 6.0"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
# Core REST API Gateway Variables
|
|
16
|
+
|
|
17
|
+
variable "api_name" {
|
|
18
|
+
description = "Name of the REST API Gateway"
|
|
19
|
+
type = string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
variable "api_description" {
|
|
23
|
+
description = "Description of the REST API Gateway"
|
|
24
|
+
type = string
|
|
25
|
+
default = "REST API Gateway"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
variable "stage_name" {
|
|
29
|
+
description = "Name of the API Gateway stage"
|
|
30
|
+
type = string
|
|
31
|
+
default = "prod"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
variable "stage_auto_deploy" {
|
|
35
|
+
description = "Whether to automatically deploy the API stage"
|
|
36
|
+
type = bool
|
|
37
|
+
default = true
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
# CORS Configuration
|
|
41
|
+
|
|
42
|
+
variable "cors_allow_headers" {
|
|
43
|
+
description = "List of allowed headers for CORS"
|
|
44
|
+
type = list(string)
|
|
45
|
+
default = ["authorization", "content-type", "x-amz-content-sha256", "x-amz-date", "x-amz-security-token"]
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
variable "cors_allow_methods" {
|
|
49
|
+
description = "List of allowed HTTP methods for CORS"
|
|
50
|
+
type = list(string)
|
|
51
|
+
default = ["*"]
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
variable "cors_allow_origins" {
|
|
55
|
+
description = "List of allowed origins for CORS"
|
|
56
|
+
type = list(string)
|
|
57
|
+
default = ["*"]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
# Tags
|
|
61
|
+
|
|
62
|
+
variable "tags" {
|
|
63
|
+
description = "Tags to apply to all resources"
|
|
64
|
+
type = map(string)
|
|
65
|
+
default = {}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
# Data sources
|
|
69
|
+
data "aws_region" "current" {}
|
|
70
|
+
data "aws_caller_identity" "current" {}
|
|
71
|
+
|
|
72
|
+
# Resources
|
|
73
|
+
|
|
74
|
+
# Note: CloudWatch logging removed due to account-level CloudWatch Logs role ARN requirement
|
|
75
|
+
|
|
76
|
+
# REST API Gateway
|
|
77
|
+
resource "aws_api_gateway_rest_api" "rest_api" {
|
|
78
|
+
name = var.api_name
|
|
79
|
+
description = var.api_description
|
|
80
|
+
|
|
81
|
+
endpoint_configuration {
|
|
82
|
+
types = ["REGIONAL"]
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
lifecycle {
|
|
86
|
+
create_before_destroy = true
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
tags = var.tags
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
# Note: Deployment and stage are created in the consuming module (e.g., foo-api.tf)
|
|
93
|
+
# after all methods and integrations are defined
|
|
94
|
+
|
|
95
|
+
# Note: CloudWatch Log Group removed due to account-level CloudWatch Logs role ARN requirement
|
|
96
|
+
|
|
97
|
+
# Gateway Response for CORS (4XX errors)
|
|
98
|
+
resource "aws_api_gateway_gateway_response" "cors_4xx" {
|
|
99
|
+
rest_api_id = aws_api_gateway_rest_api.rest_api.id
|
|
100
|
+
response_type = "DEFAULT_4XX"
|
|
101
|
+
|
|
102
|
+
response_parameters = {
|
|
103
|
+
"gatewayresponse.header.Access-Control-Allow-Origin" = "'${join(",", var.cors_allow_origins)}'"
|
|
104
|
+
"gatewayresponse.header.Access-Control-Allow-Headers" = "'${join(",", var.cors_allow_headers)}'"
|
|
105
|
+
"gatewayresponse.header.Access-Control-Allow-Methods" = "'${join(",", var.cors_allow_methods)}'"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
# Gateway Response for CORS (5XX errors)
|
|
110
|
+
resource "aws_api_gateway_gateway_response" "cors_5xx" {
|
|
111
|
+
rest_api_id = aws_api_gateway_rest_api.rest_api.id
|
|
112
|
+
response_type = "DEFAULT_5XX"
|
|
113
|
+
|
|
114
|
+
response_parameters = {
|
|
115
|
+
"gatewayresponse.header.Access-Control-Allow-Origin" = "'${join(",", var.cors_allow_origins)}'"
|
|
116
|
+
"gatewayresponse.header.Access-Control-Allow-Headers" = "'${join(",", var.cors_allow_headers)}'"
|
|
117
|
+
"gatewayresponse.header.Access-Control-Allow-Methods" = "'${join(",", var.cors_allow_methods)}'"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
# Outputs
|
|
122
|
+
|
|
123
|
+
output "api_id" {
|
|
124
|
+
description = "ID of the REST API Gateway"
|
|
125
|
+
value = aws_api_gateway_rest_api.rest_api.id
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
output "api_arn" {
|
|
129
|
+
description = "ARN of the REST API Gateway"
|
|
130
|
+
value = aws_api_gateway_rest_api.rest_api.arn
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
output "api_endpoint" {
|
|
134
|
+
description = "Base URL of the REST API Gateway"
|
|
135
|
+
value = "https://${aws_api_gateway_rest_api.rest_api.id}.execute-api.${data.aws_region.current.id}.amazonaws.com"
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
output "api_execution_arn" {
|
|
139
|
+
description = "Execution ARN of the REST API Gateway"
|
|
140
|
+
value = aws_api_gateway_rest_api.rest_api.execution_arn
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
output "api_root_resource_id" {
|
|
144
|
+
description = "Root resource ID of the REST API Gateway"
|
|
145
|
+
value = aws_api_gateway_rest_api.rest_api.root_resource_id
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
# Note: Stage and deployment outputs are provided by the consuming module
|
|
149
|
+
|
|
150
|
+
# Note: CloudWatch log group outputs removed due to account-level CloudWatch Logs role ARN requirement
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# CloudFormation stack for metrics tracking
|
|
2
2
|
resource "aws_cloudformation_stack" "metrics" {
|
|
3
|
+
#checkov:skip=CKV_AWS_124:Metrics stack does not require SNS notifications
|
|
3
4
|
name = "nx-plugin-metrics"
|
|
4
|
-
|
|
5
|
+
|
|
5
6
|
template_body = jsonencode({
|
|
6
7
|
AWSTemplateFormatVersion = "2010-09-09"
|
|
7
8
|
Description = "<%= metricId %> (version:<%= version %>) (tag:<%= tags %>)"
|
|
@@ -12,7 +13,7 @@ resource "aws_cloudformation_stack" "metrics" {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
})
|
|
15
|
-
|
|
16
|
+
|
|
16
17
|
tags = {
|
|
17
18
|
Purpose = "nx-plugin-metrics"
|
|
18
19
|
}
|
package/src/utils/py.d.ts
CHANGED
|
@@ -4,3 +4,8 @@ import { IPyDepVersion } from './versions';
|
|
|
4
4
|
* Add dependencies to a pyproject.toml file
|
|
5
5
|
*/
|
|
6
6
|
export declare const addDependenciesToPyProjectToml: (tree: Tree, projectRoot: string, deps: IPyDepVersion[]) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Render a uvx command for a given dependency
|
|
9
|
+
* Pins the version to the one specified in versions.ts
|
|
10
|
+
*/
|
|
11
|
+
export declare const uvxCommand: (dep: IPyDepVersion, args?: string) => string;
|
package/src/utils/py.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addDependenciesToPyProjectToml = void 0;
|
|
3
|
+
exports.uvxCommand = exports.addDependenciesToPyProjectToml = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
6
6
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -27,4 +27,12 @@ const addDependenciesToPyProjectToml = (tree, projectRoot, deps) => {
|
|
|
27
27
|
tree.write((0, devkit_1.joinPathFragments)(projectRoot, 'pyproject.toml'), (0, toml_1.stringify)(projectToml));
|
|
28
28
|
};
|
|
29
29
|
exports.addDependenciesToPyProjectToml = addDependenciesToPyProjectToml;
|
|
30
|
+
/**
|
|
31
|
+
* Render a uvx command for a given dependency
|
|
32
|
+
* Pins the version to the one specified in versions.ts
|
|
33
|
+
*/
|
|
34
|
+
const uvxCommand = (dep, args) => {
|
|
35
|
+
return `uvx ${(0, versions_1.withPyVersions)([dep])[0]}${args ? ` ${args}` : ''}`;
|
|
36
|
+
};
|
|
37
|
+
exports.uvxCommand = uvxCommand;
|
|
30
38
|
//# sourceMappingURL=py.js.map
|
package/src/utils/py.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"py.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/py.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,sCAA+C;AAC/C,uCAAqD;AAErD,yCAA2D;AAC3D,6DAA+D;AAE/D;;GAEG;AACI,MAAM,8BAA8B,GAAG,CAC5C,IAAU,EACV,WAAmB,EACnB,IAAqB,EACrB,EAAE;;IACF,MAAM,WAAW,GAAG,IAAA,YAAK,EACvB,IAAI,CAAC,IAAI,CAAC,IAAA,0BAAiB,EAAC,WAAW,EAAE,gBAAgB,CAAC,EAAE,MAAM,CAAC,CACjD,CAAC;IACrB,MAAM,OAAO,GAAG,IAAI,GAAG,CAAS,IAAI,CAAC,CAAC;IACtC,WAAW,CAAC,OAAO,CAAC,YAAY,GAAG;QACjC,8CAA8C;QAC9C,GAAG,CAAC,MAAA,MAAA,WAAW,CAAC,OAAO,0CAAE,YAAY,mCAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;YAC1D,MAAM,SAAS,GAAG,IAAA,8CAAwB,EAAC,GAAG,CA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CAAC;KACxB,CAAC;IACF,IAAI,CAAC,KAAK,CACR,IAAA,0BAAiB,EAAC,WAAW,EAAE,gBAAgB,CAAC,EAChD,IAAA,gBAAS,EAAC,WAAW,CAAC,CACvB,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,8BAA8B,kCAqBzC;AAEF;;;GAGG;AACI,MAAM,UAAU,GAAG,CAAC,GAAkB,EAAE,IAAa,EAAU,EAAE;IACtE,OAAO,OAAO,IAAA,yBAAc,EAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AACpE,CAAC,CAAC;AAFW,QAAA,UAAU,cAErB"}
|
|
@@ -5,3 +5,5 @@
|
|
|
5
5
|
export declare const PACKAGES_DIR = "packages";
|
|
6
6
|
export declare const SHARED_CONSTRUCTS_NAME = "common-constructs";
|
|
7
7
|
export declare const SHARED_CONSTRUCTS_DIR = "common/constructs";
|
|
8
|
+
export declare const SHARED_TERRAFORM_NAME = "terraform";
|
|
9
|
+
export declare const SHARED_TERRAFORM_DIR = "common/terraform";
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.SHARED_CONSTRUCTS_DIR = exports.SHARED_CONSTRUCTS_NAME = exports.PACKAGES_DIR = void 0;
|
|
7
|
+
exports.SHARED_TERRAFORM_DIR = exports.SHARED_TERRAFORM_NAME = exports.SHARED_CONSTRUCTS_DIR = exports.SHARED_CONSTRUCTS_NAME = exports.PACKAGES_DIR = void 0;
|
|
8
8
|
exports.PACKAGES_DIR = 'packages';
|
|
9
9
|
exports.SHARED_CONSTRUCTS_NAME = 'common-constructs';
|
|
10
10
|
exports.SHARED_CONSTRUCTS_DIR = 'common/constructs';
|
|
11
|
+
exports.SHARED_TERRAFORM_NAME = 'terraform';
|
|
12
|
+
exports.SHARED_TERRAFORM_DIR = 'common/terraform';
|
|
11
13
|
//# sourceMappingURL=shared-constructs-constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-constructs-constants.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs-constants.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEU,QAAA,YAAY,GAAG,UAAU,CAAC;AAC1B,QAAA,sBAAsB,GAAG,mBAAmB,CAAC;AAC7C,QAAA,qBAAqB,GAAG,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"shared-constructs-constants.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs-constants.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEU,QAAA,YAAY,GAAG,UAAU,CAAC;AAC1B,QAAA,sBAAsB,GAAG,mBAAmB,CAAC;AAC7C,QAAA,qBAAqB,GAAG,mBAAmB,CAAC;AAC5C,QAAA,qBAAqB,GAAG,WAAW,CAAC;AACpC,QAAA,oBAAoB,GAAG,kBAAkB,CAAC"}
|
|
@@ -48,10 +48,10 @@ function sharedConstructsGenerator(tree_1) {
|
|
|
48
48
|
}
|
|
49
49
|
// Handle Terraform provider
|
|
50
50
|
if (iacProvider === 'Terraform') {
|
|
51
|
-
const terraformLibPath = (0, devkit_1.joinPathFragments)(shared_constructs_constants_1.PACKAGES_DIR,
|
|
51
|
+
const terraformLibPath = (0, devkit_1.joinPathFragments)(shared_constructs_constants_1.PACKAGES_DIR, shared_constructs_constants_1.SHARED_TERRAFORM_DIR);
|
|
52
52
|
if (!tree.exists((0, devkit_1.joinPathFragments)(terraformLibPath, 'project.json'))) {
|
|
53
53
|
yield (0, generator_2.default)(tree, {
|
|
54
|
-
name:
|
|
54
|
+
name: shared_constructs_constants_1.SHARED_TERRAFORM_NAME,
|
|
55
55
|
directory: (0, devkit_1.joinPathFragments)(shared_constructs_constants_1.PACKAGES_DIR, 'common'),
|
|
56
56
|
type: 'library',
|
|
57
57
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-constructs.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"shared-constructs.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/shared-constructs.ts"],"names":[],"mappings":";;AA8BA,8DA0FC;;AAxHD;;;GAGG;AACH,uCAOoB;AACpB,2CAA8D;AAC9D,4EAAqD;AACrD,uFAAuE;AACvE,yCAA0C;AAC1C,qCAAgD;AAChD,+EAMuC;AACvC,0CAAuD;AAMvD,SAAsB,yBAAyB;iEAC7C,IAAU,EACV,UAA4C,EAAE;;QAE9C,MAAM,EAAE,WAAW,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;QACxC,MAAM,cAAc,GAAG,IAAA,6BAAiB,EAAC,IAAI,CAAC,CAAC;QAC/C,eAAe,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;YAC1B,IACE,CAAC,IAAI,CAAC,MAAM,CACV,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,cAAc,CAAC,CACvE,EACD,CAAC;gBACD,MAAM,IAAA,mBAAkB,EAAC,IAAI,EAAE;oBAC7B,IAAI,EAAE,oDAAsB;oBAC5B,SAAS,EAAE,0CAAY;oBACvB,YAAY,EAAE,mDAAqB;iBACpC,CAAC,CAAC;gBACH,IAAI,CAAC,MAAM,CACT,IAAA,0BAAiB,EAAC,0CAAY,EAAE,mDAAqB,EAAE,KAAK,CAAC,CAC9D,CAAC;gBACF,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,EAC7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;oBACpD,IAAI,EAAE,SAAS;iBAChB,CAAC,CAAC;gBAEH,IAAI,CAAC,MAAM,CAAC,IAAA,0BAAiB,EAAC,gBAAgB,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;gBAEnE,uDAAuD;gBACvD,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC,EAClD,gBAAgB,EAChB;oBACE,QAAQ,EAAE,EAAE;oBACZ,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,EAAE;iBACT,EACD;oBACE,iBAAiB,EAAE,0BAAiB,CAAC,YAAY;iBAClD,CACF,CAAC;gBAEF,MAAM,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;IACH,CAAC;CAAA;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,aAAT,SAAS,cAAT,SAAS,GAAI,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"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export declare const TS_VERSIONS: {
|
|
|
49
49
|
readonly 'eslint-plugin-prettier': "5.5.4";
|
|
50
50
|
readonly express: "5.1.0";
|
|
51
51
|
readonly 'jsonc-eslint-parser': "2.4.0";
|
|
52
|
+
readonly 'make-dir-cli': "4.0.0";
|
|
52
53
|
readonly 'oidc-client-ts': "3.3.0";
|
|
53
54
|
readonly prettier: "3.6.2";
|
|
54
55
|
readonly 'react-oidc-context': "3.3.0";
|
|
@@ -65,7 +66,7 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
|
|
|
65
66
|
* Add versions to the given dependencies
|
|
66
67
|
*/
|
|
67
68
|
export declare const withVersions: (deps: ITsDepVersion[]) => {
|
|
68
|
-
[k: string]: "0.0.60" | "3.876.0" | "2.25.2" | "6.4.4" | "21.2.0" | "9.0.0" | "21.4.1" | "1.17.4" | "0.16.5" | "1.131.28" | "1.131.2" | "3.0.117" | "3.0.1075" | "1.0.45" | "5.85.5" | "11.0.0" | "22.18.0" | "8.10.152" | "2.8.19" | "5.0.3" | "4.3.2" | "1.0.20" | "2.1027.0" | "2.213.0" | "3.10.3" | "10.4.2" | "2.8.5" | "0.25.9" | "5.5.4" | "5.1.0" | "2.4.0" | "3.3.0" | "3.6.2" | "0.5.21" | "4.1.12" | "4.20.1" | "5.1.4" | "4.1.5" | "npm:zod@^3";
|
|
69
|
+
[k: string]: "0.0.60" | "3.876.0" | "2.25.2" | "6.4.4" | "21.2.0" | "9.0.0" | "21.4.1" | "1.17.4" | "0.16.5" | "1.131.28" | "1.131.2" | "3.0.117" | "3.0.1075" | "1.0.45" | "5.85.5" | "11.0.0" | "22.18.0" | "8.10.152" | "2.8.19" | "5.0.3" | "4.3.2" | "1.0.20" | "2.1027.0" | "2.213.0" | "3.10.3" | "10.4.2" | "2.8.5" | "0.25.9" | "5.5.4" | "5.1.0" | "2.4.0" | "4.0.0" | "3.3.0" | "3.6.2" | "0.5.21" | "4.1.12" | "4.20.1" | "5.1.4" | "4.1.5" | "npm:zod@^3";
|
|
69
70
|
};
|
|
70
71
|
/**
|
|
71
72
|
* Versions for Python dependencies added by generators
|
|
@@ -77,6 +78,7 @@ export declare const PY_VERSIONS: {
|
|
|
77
78
|
readonly 'aws-opentelemetry-distro': "==0.12.0";
|
|
78
79
|
readonly 'bedrock-agentcore': "==0.1.2";
|
|
79
80
|
readonly boto3: "==1.40.20";
|
|
81
|
+
readonly checkov: "==3.2.469";
|
|
80
82
|
readonly fastapi: "==0.116.1";
|
|
81
83
|
readonly 'fastapi[standard]': "==0.116.1";
|
|
82
84
|
readonly mangum: "==0.19.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -52,6 +52,7 @@ exports.TS_VERSIONS = {
|
|
|
52
52
|
'eslint-plugin-prettier': '5.5.4',
|
|
53
53
|
express: '5.1.0',
|
|
54
54
|
'jsonc-eslint-parser': '2.4.0',
|
|
55
|
+
'make-dir-cli': '4.0.0',
|
|
55
56
|
'oidc-client-ts': '3.3.0',
|
|
56
57
|
prettier: '3.6.2',
|
|
57
58
|
'react-oidc-context': '3.3.0',
|
|
@@ -80,6 +81,7 @@ exports.PY_VERSIONS = {
|
|
|
80
81
|
'aws-opentelemetry-distro': '==0.12.0',
|
|
81
82
|
'bedrock-agentcore': '==0.1.2',
|
|
82
83
|
boto3: '==1.40.20',
|
|
84
|
+
checkov: '==3.2.469',
|
|
83
85
|
fastapi: '==0.116.1',
|
|
84
86
|
'fastapi[standard]': '==0.116.1',
|
|
85
87
|
mangum: '==0.19.0',
|
|
@@ -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,iCAAiC,EAAE,QAAQ;IAC3C,kCAAkC,EAAE,SAAS;IAC7C,+BAA+B,EAAE,SAAS;IAC1C,+CAA+C,EAAE,SAAS;IAC1D,2CAA2C,EAAE,SAAS;IACtD,+BAA+B,EAAE,QAAQ;IACzC,gCAAgC,EAAE,QAAQ;IAC1C,+BAA+B,EAAE,QAAQ;IACzC,+BAA+B,EAAE,QAAQ;IACzC,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,QAAQ;IACxB,sBAAsB,EAAE,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,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,mBAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AADpD,QAAA,YAAY,gBACwC;AAEjE;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,uBAAuB,EAAE,UAAU;IACnC,+BAA+B,EAAE,UAAU;IAC3C,+BAA+B,EAAE,UAAU;IAC3C,0BAA0B,EAAE,UAAU;IACtC,mBAAmB,EAAE,SAAS;IAC9B,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,mBAAmB,EAAE,WAAW;IAChC,MAAM,EAAE,UAAU;IAClB,GAAG,EAAE,UAAU;IACf,gBAAgB,EAAE,SAAS;IAC3B,sBAAsB,EAAE,SAAS;CACzB,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"}
|
|
File without changes
|
|
File without changes
|
/package/src/utils/agent-core-constructs/files/{core → cdk/core}/agent-core/runtime.ts.template
RENAMED
|
File without changes
|
/package/src/utils/api-constructs/files/{app → cdk/app}/apis/http/__apiNameKebabCase__.ts.template
RENAMED
|
File without changes
|
/package/src/utils/api-constructs/files/{app → cdk/app}/apis/rest/__apiNameKebabCase__.ts.template
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|