Skip to contentSkip to conversation

fetch2/s3: allow to switch profile from environment variable

PATCH New [email protected] 1 participant 1 message Sep 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetch2/s3: allow to switch profile from environment variable

Make usage of Bitbake's s3 fetcher more flexible with different AWS profiles and switch between profiles as export of the AWS_PROFILE environment variable

---
 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/fetch2/__init__.py +1 -0
index d9e1599a..ee29d89b 100644
@@ -834,6 +834,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
                      'DBUS_SESSION_BUS_ADDRESS',
                      'P4CONFIG',
                      'SSL_CERT_FILE',
+                     'AWS_PROFILE',
                      'AWS_ACCESS_KEY_ID',
                      'AWS_SECRET_ACCESS_KEY',
                      'AWS_DEFAULT_REGION']
Signature · 1 line
2.32.0