Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.

Update-function-configuration fails #112

Open
conan opened this issue Oct 2, 2018 · 1 comment
Open

Update-function-configuration fails #112

conan opened this issue Oct 2, 2018 · 1 comment

Comments

@conan
Copy link

conan commented Oct 2, 2018

aws lambda update-function-configuration --role arn:aws:iam::1<snip>4:role/cljs-lambda-default --runtime nodejs8.10 --memory-size 1024 --timeout 6 --handler index.referralbot_core_SLASH_refer --function-name referralbot-slash-command --vpc-config SubnetIds=[],SecurityGroupIds=[] --dead-letter-config TargetArn= --environment Variables={}
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help

Unknown options: --dead-letter-config, --environment, Variables={}, TargetArn=

If I make a change to config (rather than code), lein cljs-lambda deploy fails with the above error. I have to delete the function and start again in order to make the change.

$ aws --version
aws-cli/1.11.13 Python/3.5.2 Linux/4.4.0-17134-Microsoft botocore/1.4.70
@moea
Copy link
Member

moea commented Oct 4, 2018

Upgrade your AWS CLI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants