Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(ci): infer aws partition
Sidwebworksda8e6a550e8d
diff --git a/apps/assembler/sst.config.ts b/apps/assembler/sst.config.tsindex 5df35ad594..59438c86df 100644--- a/apps/assembler/sst.config.ts+++ b/apps/assembler/sst.config.ts@@ -65,13 +65,15 @@ export default $config({],}),});+ // Derive the partition so managed-policy ARNs resolve on GovCloud+ // (`aws-us-gov`) / China (`aws-cn`), not just the commercial `aws` partition.+ const partition = aws.getPartitionOutput().partition;new aws.iam.RolePolicyAttachment("AssemblerLambdaLogs", {role: lambdaRole.name,// CloudWatch logs only — image pull is handled by the Lambda service + the// ECR repo policy; the function makes no other AWS calls (storage I/O is via// caller-provided signed URLs).- policyArn:- "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",+ policyArn: $interpolate`arn:${partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole`,});const fn = new aws.lambda.Function("Assembler", {