Sagemaker environment variable with .env

[Background]

I am used to use xx.py and defining a .env file in python project in Pycharm, and by doing

import os
os.environ['abc']

I will get the 'abc' variable defined in .env file.

[Question]

Now I need to work with sagemake studio, what is the best practice to manage env var with sagemake?

I tried to create a .env file, but got a rename error. Does it mean using .env is not a good try in sagemaker?

Rename Error
Cannot rename file or directory '/xx/untitled.txt'


Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations