Skip to content

Commit

Permalink
[Disable Sudo] Update the Policy for DisableSudoAccessForDefaultUser …
Browse files Browse the repository at this point in the history
…with COMPUTE_AND_LOGIN_NODES_STOP (aws#6017)

Co-authored-by: Himani Deshpande <[email protected]>
  • Loading branch information
himani2411 and Himani Deshpande committed Feb 6, 2024
1 parent 8b380ea commit 75e3480
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/src/pcluster/schemas/cluster_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,9 @@ class ClusterSchema(BaseSchema):
dev_settings = fields.Nested(ClusterDevSettingsSchema, metadata={"update_policy": UpdatePolicy.SUPPORTED})
deployment_settings = fields.Nested(DeploymentSettingsSchema, metadata={"update_policy": UpdatePolicy.UNSUPPORTED})
disable_sudo_access_default_user = fields.Bool(
data_key="DisableSudoAccessForDefaultUser", default=False, metadata={"update_policy": UpdatePolicy.SUPPORTED}
data_key="DisableSudoAccessForDefaultUser",
default=False,
metadata={"update_policy": UpdatePolicy.COMPUTE_AND_LOGIN_NODES_STOP},
)

def __init__(self, cluster_name: str):
Expand Down

0 comments on commit 75e3480

Please sign in to comment.