Skip to content

Commit 4e46dd2

Browse files
gmarcianihanwen-pcluste
authored andcommitted
[Iam] Change update policy for cluster Iam section from SUPPORTED to IGNORED so that the update policy depends on the nested fields.
Signed-off-by: Giacomo Marciani <[email protected]>
1 parent 7348853 commit 4e46dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/pcluster/schemas/cluster_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1981,7 +1981,7 @@ class ClusterSchema(BaseSchema):
19811981
tags = fields.Nested(
19821982
TagSchema, many=True, metadata={"update_policy": UpdatePolicy.UNSUPPORTED, "update_key": "Key"}
19831983
)
1984-
iam = fields.Nested(ClusterIamSchema, metadata={"update_policy": UpdatePolicy.SUPPORTED})
1984+
iam = fields.Nested(ClusterIamSchema, metadata={"update_policy": UpdatePolicy.IGNORED})
19851985
directory_service = fields.Nested(
19861986
DirectoryServiceSchema, metadata={"update_policy": UpdatePolicy.COMPUTE_FLEET_STOP}
19871987
)

0 commit comments

Comments
 (0)