move AWS config to stack container