<p>We created a plugin to help solve this problem:
<a href="https://github.com/Firstborn/Craft-CMS-Environment-Settings" rel="nofollow noreferrer">https://github.com/Firstborn/Craft-CMS-Environment-Settings</a></p>

<p>This plugin allows you to specify different configurations per environment on a single asset source.</p>

CC BY-SA 3.0
2018-04-19T16:18:48.910Z
2018-04-19T16:18:48.910Z
Ziad Hilal
<p>Unfortunately, this isn't currently possible.</p>

<p><a href="https://github.com/craftcms/cms/issues/836" rel="nofollow noreferrer">This feature request</a> is very similar to what you're requesting... however, it would still require that all of your environments use the same <em>type</em> of asset source.</p>

CC BY-SA 3.0
2016-05-24T16:10:38.983Z
2017-08-24T18:09:53.653Z
2017-08-24T18:09:53.653Z
Lindsey D
<p>If I have three environments; local, dev, and live, and want assets to be setup like this:    </p>

<p>local: stored in a local directory (/public/uploads)<br>
dev: stored on S3 dev bucket<br>
live: stored on S3 live bucket    </p>

<p>What's the best way to set this in a multi-environment config?</p>

<multi-environment><s3>
Multi-Environment S3 Asset Paths
# Multi-Environment S3 Asset Paths

(Asked by: username_0 on 2016-05-24)

If I have three environments; local, dev, and live, and want assets to be setup like this:

local: stored in a local directory (/public/uploads)  
dev: stored on S3 dev bucket  
live: stored on S3 live bucket

What's the best way to set this in a multi-environment config?

**Tags:** multi-environment, s3


---

## 2 answers

### Answer by username_2 on 2016-05-24. Score: 5 | Accepted answer

Unfortunately, this isn't currently possible.

[This feature request](https://github.com/craftcms/cms/issues/836) is very similar to what you're requesting... however, it would still require that all of your environments use the same *type* of asset source.


---

### Answer by username_1 on 2018-04-19. Score: 2

We created a plugin to help solve this problem:
<https://github.com/Firstborn/Craft-CMS-Environment-Settings>

This plugin allows you to specify different configurations per environment on a single asset source.


---

