Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Can't concatenate in serverless.yml #530

Closed
@mattdell

Description

@mattdell

I'm currently migrating from the plugin to the component.

In my existing serverless.yml I am able to do this sort of thing:

domainName: ${env:STAGE}-front-end.mydomain.com

But in the component if I do this

ph-front-end:  component: '@sls-next/serverless-component@1.16.0-alpha.1'  inputs:    domain:      - ${env.STAGE}-front-end      - mydomain.com

Then it doesn't seem to concatenate.

Also with the lambda names:

name:  defaultLambda: ${env.STAGE}-front-end  apiLambda: ${env.STAGE}-front-end-api

In that case I just get the STAGE variable without the-front-end added on.

If the syntax works in the old serverless.yml I'm surprised it doesn't work in the new serverless.yml.

Am I doing something wrong? I don't want to have to send${SUBDOMAIN}, ${LAMBDA_NAME}, ${API_LAMBDA_NAME}, etc. when they're all just derivations off of${STAGE}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp