LoginSignup
0
0

CDKでBatchを構築したら Resource handler returned message: "Resource of type 'AWS::Batch::ComputeEnvironment' with identifier 'MY_ARN' d id not stabilize." (RequestToken: XXX, HandlerErrorCode: NotStabilized)

Posted at

AWS CDKでBatch環境を構築しようとしたところ、以下のエラーでハマりました。

Resource handler returned message: "Resource of type 'AWS::Batch::ComputeEnvironment' with identifier 'MY_ARN' d
id not stabilize." (RequestToken: XXX, HandlerErrorCode: NotStabilized)

コンピューティング環境の作成に失敗しています。

根本的な原因としては、 cdk.context.json に記述されているネットワーク設定が古かったせいでした。
VPCの作成もCDKで行っていて、設定を変えたので元々あったcdk.context.jsonと実際の環境に差が出てしまったのが、よくなかったようです。
cdk.context.jsonを削除して実行したところ、最新の情報を反映したcdk.context.jsonが作成され、無事に構築することができました。

参考
https://stackoverflow.com/questions/72685624/cdk-cloudformation-batch-setup-notstabilized-error

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0