@percepta/create 3.6.1 → 3.6.3
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/README.md +37 -6
- package/dist/{git-ops-C2CIjuce.js → git-ops-BD7JNnal.js} +1 -1
- package/dist/{git-ops-C2CIjuce.js.map → git-ops-BD7JNnal.js.map} +1 -1
- package/dist/github-RCIMUq70.js +131 -0
- package/dist/github-RCIMUq70.js.map +1 -0
- package/dist/index.js +63 -122
- package/dist/index.js.map +1 -1
- package/dist/{init-sI9aIrkU.js → init-COp0nGdk.js} +4 -2
- package/dist/{init-sI9aIrkU.js.map → init-COp0nGdk.js.map} +1 -1
- package/dist/manifest-CqIDnbgs.js +58 -0
- package/dist/manifest-CqIDnbgs.js.map +1 -0
- package/dist/register-app-C7ZBpAaZ.js +103 -0
- package/dist/register-app-C7ZBpAaZ.js.map +1 -0
- package/dist/register-os-blueprint-DGjBUZYa.js +90 -0
- package/dist/register-os-blueprint-DGjBUZYa.js.map +1 -0
- package/dist/{status-CKe4aKso.js → status-BXYaQ4a2.js} +3 -3
- package/dist/{status-CKe4aKso.js.map → status-BXYaQ4a2.js.map} +1 -1
- package/dist/{sync-D1vkoofl.js → sync-BayU4w1j.js} +3 -3
- package/dist/{sync-D1vkoofl.js.map → sync-BayU4w1j.js.map} +1 -1
- package/dist/template-versions-CEIP9vhl.js +35 -0
- package/dist/template-versions-CEIP9vhl.js.map +1 -0
- package/dist/{upstream-gUHLWSR1.js → upstream-CZEzLrS4.js} +3 -3
- package/dist/{upstream-gUHLWSR1.js.map → upstream-CZEzLrS4.js.map} +1 -1
- package/dist/validate-dssldJAj.js +14 -0
- package/dist/validate-dssldJAj.js.map +1 -0
- package/package.json +1 -1
- package/template-versions.json +2 -2
- package/templates/infra/os.blueprint.yaml.template +138 -0
- package/templates/monorepo/README.md +41 -3
- package/templates/monorepo/auth/README.md +6 -3
- package/templates/monorepo/auth/package.json +2 -4
- package/templates/monorepo/auth/src/config/database.ts +1 -1
- package/templates/{webapp → monorepo}/docker-compose.yml +2 -2
- package/templates/monorepo/package.json.template +5 -2
- package/templates/monorepo/pnpm-workspace.yaml +4 -0
- package/templates/monorepo/scripts/setup-local-databases.mjs +183 -0
- package/templates/webapp/AGENTS.md +13 -20
- package/templates/webapp/README.md +32 -36
- package/templates/webapp/agent-skills/database.md +21 -21
- package/templates/webapp/agent-skills/langfuse.md +7 -7
- package/templates/webapp/agent-skills/llm.md +4 -2
- package/templates/webapp/agent-skills/oneshot.md +7 -6
- package/templates/webapp/agent-skills/ryvn.md +12 -16
- package/templates/webapp/deploy/README.md +10 -51
- package/templates/webapp/drizzle.config.ts +2 -23
- package/templates/webapp/env.example.template +8 -14
- package/templates/webapp/package.json.template +8 -15
- package/templates/webapp/scripts/start.sh +12 -16
- package/templates/webapp/src/config/getEnvConfig.ts +4 -10
- package/templates/webapp/src/drizzle/db.ts +6 -21
- package/templates/webapp/src/startup-checks.ts +28 -7
- package/templates/monorepo/auth/scripts/setup-database.ts +0 -11
- package/templates/webapp/.github/workflows/__APP_NAME__-terraform-ryvn-release.yaml +0 -92
- package/templates/webapp/agent-skills/deploy.md +0 -92
- package/templates/webapp/deploy/ryvn/__APP_NAME__-terraform.service.yaml +0 -10
- package/templates/webapp/deploy/ryvn/environments/percepta-test/installations/__APP_NAME__-terraform.env.percepta-test.serviceinstallation.yaml +0 -11
- package/templates/webapp/deploy/ryvn/environments/percepta-test/installations/__APP_NAME__.env.percepta-test.serviceinstallation.yaml +0 -154
- package/templates/webapp/terraform/README.md +0 -147
- package/templates/webapp/terraform/deploy.sh +0 -97
- package/templates/webapp/terraform/main.tf +0 -101
- package/templates/webapp/terraform/modules/cloudtrail/main.tf +0 -27
- package/templates/webapp/terraform/modules/cloudtrail/outputs.tf +0 -10
- package/templates/webapp/terraform/modules/cloudtrail/variables.tf +0 -15
- package/templates/webapp/terraform/modules/networking/main.tf +0 -118
- package/templates/webapp/terraform/modules/networking/outputs.tf +0 -38
- package/templates/webapp/terraform/modules/networking/variables.tf +0 -24
- package/templates/webapp/terraform/modules/rds/main.tf +0 -227
- package/templates/webapp/terraform/modules/rds/outputs.tf +0 -73
- package/templates/webapp/terraform/modules/rds/variables.tf +0 -61
- package/templates/webapp/terraform/modules/s3-logging/main.tf +0 -148
- package/templates/webapp/terraform/modules/s3-logging/outputs.tf +0 -10
- package/templates/webapp/terraform/modules/s3-logging/variables.tf +0 -16
- package/templates/webapp/terraform/modules/secrets/main.tf +0 -39
- package/templates/webapp/terraform/modules/secrets/outputs.tf +0 -9
- package/templates/webapp/terraform/modules/secrets/variables.tf +0 -51
- package/templates/webapp/terraform/outputs.tf +0 -102
- package/templates/webapp/terraform/providers.tf +0 -32
- package/templates/webapp/terraform/schema/main.tf +0 -4
- package/templates/webapp/terraform/schema/outputs.tf +0 -9
- package/templates/webapp/terraform/schema/variables.tf +0 -19
- package/templates/webapp/terraform/schema/versions.tf +0 -38
- package/templates/webapp/terraform/terraform.tfvars.example +0 -65
- package/templates/webapp/terraform/variables.tf +0 -129
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
################################################################################
|
|
2
|
-
# Common Variables
|
|
3
|
-
################################################################################
|
|
4
|
-
|
|
5
|
-
variable "environment" {
|
|
6
|
-
description = "Environment name (e.g. dev, staging, prod)"
|
|
7
|
-
type = string
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
variable "name" {
|
|
11
|
-
description = "Base name for resources"
|
|
12
|
-
type = string
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
variable "region" {
|
|
16
|
-
description = "AWS region for resources"
|
|
17
|
-
type = string
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
variable "namespace" {
|
|
21
|
-
description = "Kubernetes namespace for resources"
|
|
22
|
-
type = string
|
|
23
|
-
default = "__APP_NAME__"
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
variable "kubernetes_service_account" {
|
|
27
|
-
description = "The name of the Kubernetes service account to associate with the IAM role."
|
|
28
|
-
type = string
|
|
29
|
-
default = "__APP_NAME__-sa"
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
################################################################################
|
|
33
|
-
# EKS Variables
|
|
34
|
-
################################################################################
|
|
35
|
-
|
|
36
|
-
variable "cluster_name" {
|
|
37
|
-
description = "EKS cluster name"
|
|
38
|
-
type = string
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
variable "vpc_id" {
|
|
42
|
-
description = "VPC ID where resources will be deployed"
|
|
43
|
-
type = string
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
variable "subnet_ids" {
|
|
47
|
-
description = "List of subnet IDs for resources"
|
|
48
|
-
type = list(string)
|
|
49
|
-
default = null
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
variable "subnet_tags" {
|
|
53
|
-
description = "Tags for subnet selection"
|
|
54
|
-
type = map(string)
|
|
55
|
-
default = {
|
|
56
|
-
"kubernetes.io/role/internal-elb" = "1"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
################################################################################
|
|
61
|
-
# Networking Variables
|
|
62
|
-
################################################################################
|
|
63
|
-
|
|
64
|
-
variable "ingress_cidr_blocks" {
|
|
65
|
-
description = "A map of security group names to a list of CIDR blocks to allow access from."
|
|
66
|
-
type = map(list(string))
|
|
67
|
-
default = {}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
################################################################################
|
|
71
|
-
# RDS Variables
|
|
72
|
-
################################################################################
|
|
73
|
-
|
|
74
|
-
variable "existing_rds_cluster_name" {
|
|
75
|
-
description = "Name of existing RDS cluster to use (optional)"
|
|
76
|
-
type = string
|
|
77
|
-
default = null
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
variable "create_new_rds" {
|
|
81
|
-
description = "Whether to create a new RDS cluster if existing_rds_cluster_name is not provided"
|
|
82
|
-
type = bool
|
|
83
|
-
default = true
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
variable "rds_engine_version" {
|
|
87
|
-
description = "PostgreSQL engine version"
|
|
88
|
-
type = string
|
|
89
|
-
default = "16.8"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
variable "rds_port" {
|
|
93
|
-
description = "Port for RDS"
|
|
94
|
-
type = number
|
|
95
|
-
default = 5432
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
variable "rds_instance_class" {
|
|
99
|
-
description = "RDS instance class"
|
|
100
|
-
type = string
|
|
101
|
-
default = "db.serverless"
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
################################################################################
|
|
105
|
-
# S3 Variables
|
|
106
|
-
################################################################################
|
|
107
|
-
|
|
108
|
-
variable "s3_bucket_expiration_days" {
|
|
109
|
-
description = "Number of days after which S3 objects expire (null to disable expiration)"
|
|
110
|
-
type = number
|
|
111
|
-
default = null
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
################################################################################
|
|
115
|
-
# EDW Variables
|
|
116
|
-
################################################################################
|
|
117
|
-
|
|
118
|
-
variable "edw_allowed_principals" {
|
|
119
|
-
description = "List of IAM principal ARNs allowed to assume the EDW secret reader role (e.g., SSO permission sets, IAM roles). Example: ['arn:aws:iam::123456789012:role/aws-reserved/sso.amazonaws.com/us-west-2/AWSReservedSSO_DbaPermissionSet_abc123']"
|
|
120
|
-
type = list(string)
|
|
121
|
-
default = []
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
variable "edw_vpc_cidr_blocks" {
|
|
125
|
-
description = "List of CIDR blocks from EDW VPC to allow database access via VPC peering"
|
|
126
|
-
type = list(string)
|
|
127
|
-
default = []
|
|
128
|
-
}
|
|
129
|
-
|