add a resource for output s3.