Unable to update alias
See original GitHub issueI’m getting the error below:
[Container] 2017/02/22 22:12:14 deploying
[Container] 2017/02/22 22:12:14 -> deploying policy kappa-ca-lambda-notify_master
[Container] 2017/02/22 22:12:14 -> creating role kappa-ca-lambda-notify_master
[Container] 2017/02/22 22:12:14 -> role already exists
[Container] 2017/02/22 22:12:14 -> updating configuration for kappa-ca-lambda-notify
[Container] 2017/02/22 22:12:14 -> updating function kappa-ca-lambda-notify
[Container] 2017/02/22 22:12:14 -> uploading new function zipfile kappa-ca-lambda-notify.zip
[Container] 2017/02/22 22:12:15 -> Unable to update alias
[Container] 2017/02/22 22:12:15 Traceback (most recent call last):
[Container] 2017/02/22 22:12:15 File "/tmp/src832689071/src/venv/lib/python2.7/site-packages/kappa/function.py", line 353, in update_alias
[Container] 2017/02/22 22:12:15 Name=name)
[Container] 2017/02/22 22:12:15 File "/tmp/src832689071/src/venv/lib/python2.7/site-packages/kappa/awsclient.py", line 86, in call
[Container] 2017/02/22 22:12:15 data = op(**kwargs)
[Container] 2017/02/22 22:12:15 File "/tmp/src832689071/src/venv/lib/python2.7/site-packages/botocore/client.py", line 253, in _api_call
[Container] 2017/02/22 22:12:15 return self._make_api_call(operation_name, kwargs)
[Container] 2017/02/22 22:12:15 File "/tmp/src832689071/src/venv/lib/python2.7/site-packages/botocore/client.py", line 543, in _make_api_call
[Container] 2017/02/22 22:12:15 raise error_class(parsed_response, operation_name)
[Container] 2017/02/22 22:12:15 ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the UpdateAlias operation: Alias not found: arn:aws:lambda:us-east-1:blah:function:kappa-ca-lambda-notify:master
[Container] 2017/02/22 22:12:15 done
With the config below
name: kappa-ca-lambda-notify
environments:
develop:
region: us-east-1
policy:
resources:
- arn: arn:aws:logs:*:*:*
actions:
- "*"
- arn: arn:aws:ses:*:*:*
actions:
- "*"
event_sources:
- arn: arn:aws:sns:us-east-1:blah:blah
stage:
region: us-east-1
policy:
resources:
- arn: arn:aws:logs:*:*:*
actions:
- "*"
- arn: arn:aws:ses:*:*:*
actions:
- "*"
event_sources:
- arn: arn:aws:sns:us-east-1:blah:blah
master:
region: us-east-1
policy:
resources:
- arn: arn:aws:logs:*:*:*
actions:
- "*"
- arn: arn:aws:ses:*:*:*
actions:
- "*"
event_sources:
- arn: arn:aws:sns:us-east-1:blah:blah
lambda:
description: aws lamdba function to send emails
handler: main.handler
runtime: python2.7
memory_size: 128
timeout: 3
log_retention_policy: 1
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Unable to update onmicrosoft email alias exchange hybrid
Error executing request. An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online.
Read more >Lambda function aliases - AWS Documentation
You can update an alias to point to a new version of the function. Event sources such as Amazon Simple Storage Service (Amazon...
Read more >Unable to create alias on Shared Mailbox in O365 after hybrid ...
I have to go to local AD>User>user attribute>Proxy address> smtp:alias@domain.com that's how I can get alias for user accounts.
Read more >AWS re:Post
CloudFormation. Deployment at a single Lambda Alias update fails, but the lambda function that has the alias is different each time, even if...
Read more >Unifi Controller not keeping client alias names - can't update
You can try changing User Group from Automatic to Default. 0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone who is curious, this was the contents of my “rude email”:
I also then immediately went to this issue to respond with the above comment - I only just woke up. Sure, I could have responded in a much nicer fashion, but I’m busy with work and wanted to respond as soon as I saw the email so the user in question wasn’t waiting forever.
When I contribute to or maintain an open source project, I am doing that out of good will. It is extremely rare that someone actually pays me for any of my OSS work, and when they do, it’s usually enough to buy some milk and cereal, not much else. As I contribute to quite literally hundreds of OSS projects - under my name, other devs, other organizations, $WORK, etc. - I am highly protective of how I provide support.
I do not provide email support unless I am being paid for my time, because otherwise I wouldn’t actually have time for my day job, which pays for rent, bills, food, etc. I’m also free to respond however I want to an unsolicited email, and while I agree that my tone wasn’t the best, I don’t really regret responding that way. Actually, I regret responding at all, since now I’m not in the best of moods and I’ve spent more time writing this comment than I did trying to figure out what the release process for this project was.
If anyone knows the answer to @wobeng’s question - or knows why its broken in the current release! - feel free to respond. I’m not quite sure whats going on, but I suspect the
blah
bits are semi-important to figuring out why the UpdateAlias is breaking.@josegonzalez what I asked you via email was more of a question not support. I was trying to figure out if it was a bug or intended design
if you felt it supported then you should have asked for payment nicely not respond with that rude message
To just come off with that reply, it comes off very unfriendly…but maybe I was raised differently