1 Answer
- Newest
- Most votes
- Most comments
2
As mentioned in the CloudFront API Reference, CloudFront requires at least one origin when you create or update a distribution, and it doesn't matter whether your origin exists or not.
If you want to delete a non-existing origin, you need to add a new origin first, then delete the old one.
answered 7 months ago
Relevant content
- What might cause an "Access Denied" error when creating a cloudfront s3 Origin using cloudformation?Accepted Answerasked a year ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
It's clear, the behavior is correct. The problem is only with the bad error message.
Then you can contact AWS Support and send a request to improve the error message if you have a better one.