mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
[autoscaler] Also grant roles to worker nodes
This commit is contained in:
@@ -101,6 +101,7 @@ def _configure_iam_role(config):
|
||||
logger.info("Role not specified for head node, using {}".format(
|
||||
profile.arn))
|
||||
config["head_node"]["IamInstanceProfile"] = {"Arn": profile.arn}
|
||||
config["worker_nodes"]["IamInstanceProfile"] = {"Arn": profile.arn}
|
||||
|
||||
return config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user