aws bucket folder environment fix