diff --git a/tutorial/20_recipes/012_artifact_tutorial.py b/tutorial/20_recipes/012_artifact_tutorial.py index 1dc1fa2c9c4..9d4c9e30f99 100644 --- a/tutorial/20_recipes/012_artifact_tutorial.py +++ b/tutorial/20_recipes/012_artifact_tutorial.py @@ -183,13 +183,13 @@ def objective(trial: optuna.Trial) -> float: client=boto3.client( "s3", aws_access_key_id=os.environ[ - "PFS2_AWS_ACCESS_KEY_ID" + "AWS_ACCESS_KEY_ID" ], # Assume that these environment variables are set up properly. The same applies below. - aws_secret_access_key=os.environ["PFS2_AWS_SECRET_ACCESS_KEY"], - endpoint_url=os.environ["PFS2_S3_ENDPOINT"], + aws_secret_access_key=os.environ["AWS_SECRET_ACCESS_KEY"], + endpoint_url=os.environ["S3_ENDPOINT"], config=Config(connect_timeout=30, read_timeout=30), ), - bucket_name=pfs2_bucket, + bucket_name="example_bucket", )