moved creation of s3 config from macros to deploy target