ask-cli: Cannot change Lambda ARN
I am using Ask v2.20.0 and I am trying to change the Lambda ARN defined in skill.json
I created the project first with ask init
and a fresh Lambda Function was created, but I want to hook the skill up to an existing Function.
So I changed the ARN in skill.json
and used ask deploy
but the ARN was changed back.
I tried changing the endpoint in the Alexa web console, and saved, and tried deploying (via CLI) again, but the JOSN config still reverted back to the fresh Function ARN.
Is it possibly to change the ARN, at all? Or am I stuck using the one that is created when I create the skill?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (11 by maintainers)
@paul-uz
@paulcanning and @paul-uz have you tried using CloudFormation deployer? I think you can accomplish having custom Lambda name. You can pass extra parameters to CFN deployer in ask-resources.json. You can use the parameter infrastructure/cfn-deployer/skill-stack.yaml. I would encourage to use CFN deployer instead of Lambda deployer since it is more customizable.
ask-resources.json
infrastructure/cfn-deployer/skill-stack.yaml