Unable to use launch template with AWS Batch Compute Environment

0

I am trying to use a launch template with a AWS Batch Compute Environment, but I keep getting this error:

INVALID - CLIENT_ERROR - You are not authorized to use launch template: Batch-lt-f51c5077-bb43-3a1a-b8eb-e7b971b2f39b

I have verified that both the batch service role and the instance profile have the appropriate permissions. I have been unable to find any more information about this error online. The compute environment works fine without a launch template. The launch template that it is referencing is not the launch template I specified, but a copy of it created by the batch service role (I understand this is normal)

Can anyone assist me ?

已提問 2 年前檢視次數 820 次
1 個回答
1
已接受的答案

Is your account part of an AWS Organization? There's a chance that a service control policy is limiting permissions. See https://aws.amazon.com/premiumsupport/knowledge-center/batch-invalid-compute-environment/ for more detail

AWS
已回答 2 年前
  • Yes it is, I will review this

  • This was it! There was an org policy that required certain tags, I needed to include these tags in the launch template to be propagated to the instance

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

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

回答問題指南