diff --git a/scripts/turbo/index.js b/scripts/turbo/index.js index 8b101e64884d..e1086f8c7f0c 100644 --- a/scripts/turbo/index.js +++ b/scripts/turbo/index.js @@ -19,6 +19,9 @@ const runTurbo = async (task, args, apiSecret, apiEndpoint) => { TURBO_TOKEN: apiSecret, TURBO_TEAM: "aws-sdk-js", }), + ...(!process.env.CODEBUILD_BUILD_ARN && { + TURBO_REMOTE_CACHE_READ_ONLY: "1", + }), }, }); } catch (error) {