Comments (3)
Truth in advertising ... I'm not an author of this stack, I'm a very minor contributor. But I use the stack in the way that you do, however without additional lambda@edges in my parent stack.
That said, my experience has been that you can fairly easily locate the ARNs of the lambdas created by the (cloudfront authorization at edge) nested stack in a couple of places:
In either case you can delete the remaining lambdas from cli (by ARN) or through the console. But ... as AWS points out, you can only delete them once all the references to them are gone.
Here my experience diverges from the documentation. The doc says basically you can delete the hanging lambdas once the last (in our case cloudfront) reference to them is gone, which would mean simply deleting the references in the cloudfront behaviours
section. I've found that fails more often than succeeds. And it wouldn't help you anyway, since your self-created cloudfront died when you deleted the parent stack.
But ... once the references are gone, and they should be now that your parent stack and the cloudfront it created died, you can delete the lambdas once the unreferenced edge instances age out. I've found that takes 6-12 hours, depending on how many regions you deployed in.
So give it a try once you've slept on it. If that fails, or in the entirely possible event that I've completely misunderstood, you might want to contact AWS support and ask them to look at the edge lambdas that remain and tell you what artifacts are referencing them, so you can delete the blocking references.
But, as I think, the ARNs of the stale edge lambdas from the child stack should be available to you regardless.
from cloudfront-authorization-at-edge.
I did consider that it might take some time. I'll try back again on Monday. For now I've redeployed the stacks which generates different lambda names and and able to use them. I already did create an AWS support ticket as well. Hopefully it clears itself up, as you say. Would still be good to make a note of it just in case. If not here, maybe in the AWS docs. I'll mention that to support :).
from cloudfront-authorization-at-edge.
Closing for now as I do not believe there is an action for this repo
from cloudfront-authorization-at-edge.
Related Issues (20)
- CloudFormation did not receive a response from your Custom Resource HOT 19
- Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”) HOT 2
- Refresh issue after token expires HOT 8
- On signout Required String parameter 'redirect_uri' is not present HOT 5
- Possible Open Redirect (CWE-601) in sample code HOT 2
- nonce cookies are not expired HOT 1
- [Feature request] Support multiple Cognito user pool clients HOT 4
- custom domain is not redirecting to cognito hosted ui HOT 1
- Getting blocked by CORS policy but unable to figure out the source HOT 5
- Node version bump HOT 7
- Custom IDP with Amplify and Auth at Edge HOT 9
- Fail on delete of the stack HOT 3
- Function must be in an Active state error on deploying the solution HOT 7
- Errors from Lambda when destroiyng the stack HOT 2
- Cognito TAGS HOT 1
- How Do I add User Pool attributes to Cookies? HOT 1
- A potential risk in cloudfront-authorization-at-edge which can be used to upload malicious code. HOT 4
- Having the ability to tune logs HOT 1
- Deployment to eu-west-2 fails with error: Encountered a permissions error performing a tagging operation HOT 4
- Missing User-Agent header in Post request to cognito HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudfront-authorization-at-edge.