@awsless/awsless 0.0.273 → 0.0.274
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/dist/bin.js +2 -1
- package/dist/build-json-schema.js +1 -0
- package/dist/stack.json +1 -1
- package/package.json +8 -8
package/dist/bin.js
CHANGED
|
@@ -712,6 +712,7 @@ var InstancesSchema = z12.record(
|
|
|
712
712
|
image: ImageSchema,
|
|
713
713
|
type: TypeSchema,
|
|
714
714
|
code: CodeSchema,
|
|
715
|
+
user: z12.string().default("ec2-user"),
|
|
715
716
|
command: CommandSchema.optional(),
|
|
716
717
|
environment: EnvironmentSchema2.optional()
|
|
717
718
|
})
|
|
@@ -3484,7 +3485,7 @@ var instanceFeature = defineFeature({
|
|
|
3484
3485
|
const userData = new Output2([], (resolve) => {
|
|
3485
3486
|
ctx.onReady(() => {
|
|
3486
3487
|
combine([bucketName, ...Object.values(env)]).apply(([bucketName2]) => {
|
|
3487
|
-
const u =
|
|
3488
|
+
const u = props.user;
|
|
3488
3489
|
const code2 = [
|
|
3489
3490
|
`#!/bin/bash`,
|
|
3490
3491
|
`cd /home/${u}`,
|