Attach more than one lifecycle configuration to a notebook instance

0

I have implemented the auto-stop-idle and persistent-conda-kernels lifecycle configurations and they both work. However, I cannot seem to find how to attach both to a single notebook instance. How can I do that?

Lifecycle configuration scripts found in aws sample scripts.

已提問 2 年前檢視次數 474 次
1 個回答
0

Hi, you'll have to merge both into a single script and attach it to the notebook instance.

AWS
Durga_S
已回答 2 年前
  • I have seen someone create a new script that will run two shell scripts : script 3 : sh script1.sh && sh script2.sh but that would work in normal shell. How could I create a third lifecycle script that runs the ARN paths of the other lifecycle configurations instead? I think copy pasting them all into one is rather unclear.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南