@hasna/uptime 0.1.11 → 0.1.13

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.
@@ -116,7 +116,7 @@ variable "container_image" {
116
116
  variable "runtime_package_version" {
117
117
  description = "Published @hasna/uptime package version that CodeBuild should build into the ECR image."
118
118
  type = string
119
- default = "0.1.11"
119
+ default = "0.1.13"
120
120
 
121
121
  validation {
122
122
  condition = can(regex("^[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?$", var.runtime_package_version))
@@ -237,3 +237,45 @@ variable "budget_alert_email_addresses" {
237
237
  type = list(string)
238
238
  default = []
239
239
  }
240
+
241
+ variable "enable_private_vpc_endpoints" {
242
+ description = "Create private VPC endpoints for ECS access to AWS APIs. Requires private subnet ids; S3 gateway endpoint also requires private_route_table_ids."
243
+ type = bool
244
+ default = false
245
+ }
246
+
247
+ variable "interface_vpc_endpoint_services" {
248
+ description = "Regional interface endpoint service short names to create when enable_private_vpc_endpoints is true."
249
+ type = list(string)
250
+ default = ["ecr.api", "ecr.dkr", "logs", "secretsmanager"]
251
+
252
+ validation {
253
+ condition = alltrue([
254
+ for service in var.interface_vpc_endpoint_services : contains(["ecr.api", "ecr.dkr", "logs", "secretsmanager", "sts", "ssm", "kms"], service)
255
+ ])
256
+ error_message = "interface_vpc_endpoint_services must contain only approved AWS service short names."
257
+ }
258
+ }
259
+
260
+ variable "additional_vpc_endpoint_source_security_group_ids" {
261
+ description = "Additional source security groups allowed to use Open Uptime interface VPC endpoints in a shared VPC. Keep empty for dedicated Open Uptime subnets."
262
+ type = list(string)
263
+ default = []
264
+ }
265
+
266
+ variable "gateway_vpc_endpoint_services" {
267
+ description = "Regional gateway endpoint service short names to create when enable_private_vpc_endpoints is true."
268
+ type = list(string)
269
+ default = ["s3"]
270
+
271
+ validation {
272
+ condition = alltrue([for service in var.gateway_vpc_endpoint_services : contains(["s3"], service)])
273
+ error_message = "gateway_vpc_endpoint_services currently supports only s3."
274
+ }
275
+ }
276
+
277
+ variable "private_route_table_ids" {
278
+ description = "Private route table ids for gateway VPC endpoints such as S3. Leave empty to skip gateway endpoint creation."
279
+ type = list(string)
280
+ default = []
281
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/uptime",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Local-first uptime and downtime monitoring service with CLI, MCP, SDK, SQLite persistence, and a dashboard.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",