1 Answer
- Newest
- Most votes
- Most comments
0
Lambda filesystem is read-only, except /tmp
So you cannot change the content of /etc/hosts
at runtime
Instead, you can change the content during image build-time if you know the value upfront.
answered 2 years ago
Relevant content
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago