我无法将我的合并module/awsm.json
到resources-cf.json
. 我正在尝试的任何东西都不会合并它们。这是我的步骤
jaws project create
cd new-project-name
jaws module create greetings hello
- 修改
greetings/awsm.json
添加LambdaIamPolicyDocumentStatements
和资源。类似于https://github.com/dekz/awsm-users/blob/master/awsm.json
。
“ jaws deploy resources
”不更新云的形成并产生-
JAWS: Resources Deployer "dev": Deploying resources to region "us-west-2"...
JAWS: Resources Deployer "dev - us-west-2": Performing Cloudformation stack update. This could take a while depending on how many resources you are updating...
JAWS: Resources Deployer "dev - us-west-2": Cloud formation stack update failed because of the following error...
{ [ValidationError: No updates are to be performed.]
cause:
{ [ValidationError: No updates are to be performed.]
message: 'No updates are to be performed.',
code: 'ValidationError',
time: Sun Oct 11 2015 00:13:53 GMT-0700 (MST),
statusCode: 400,
retryable: false,
retryDelay: 30 },
isOperational: true,
code: 'ValidationError',
time: Sun Oct 11 2015 00:13:53 GMT-0700 (MST),
statusCode: 400,
retryable: false,
retryDelay: 30 }
重新部署 lambda 和端点也不会更新云形成资源。
resources-cf.json
将更改导入AWS 并将其应用到 AWS的正确流程是什么?