我只想能打印出我需要的信息,我的应用程序配置。从基础开始: UserPoolId。输出不起作用。有人知道为什么吗?
service: test-ota-fmw
provider:
name: aws
runtime: nodejs8.10
stage: dev
custom:
stage: ${opt:stage, self:provider.stage}
variables:
facebook_app_id: fbappid
google_app_id: xxxxx.apps.googleusercontent.com
resources:
# Cognito
# - ${file(resources/cognito-user-pool.yml)}
# - ${file(resources/cognito-identity-pool.yml)}
Resources:
CognitoUserPool:
Type: AWS::Cognito::UserPool
Properties:
UserPoolName: mgnio-${self:custom.stage}-user-pool
UsernameAttributes:
- email
AutoVerifiedAttributes:
- email
CognitoUserPoolClient:
Type: AWS::Cognito::UserPoolClient
Properties:
ClientName: mgnio-${self:custom.stage}-mobile-app-client
GenerateSecret: true
UserPoolId:
Ref: CognitoUserPool
Outputs:
UserPoolId:
Value:
Ref: CognitoUserPool输出
以下是运行serverless deploy后的输出
Service Information
service: mgnio-ota-fmw
stage: dev
region: us-east-1
stack: mgnio-ota-fmw-dev
api keys:
None
endpoints:
None
functions:
None显然,我不得不添加更多的文本,因为它抱怨我的帖子大多是代码。我真的不知道如何进一步解释,所以我将继续咆哮,直到我有足够的短信,StackOverflow停止对我大喊大叫。谢谢!
更新--如果我运行serverless deploy -v,就能够获得输出。这是预期的行为吗?只有当设置了--verbose标志时,输出才会显示?
发布于 2019-07-21 01:42:45
https://stackoverflow.com/questions/53198356
复制相似问题