Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 02:12 AM
And also I found the `defaultValue` in the policy definition not working. Here I give the node_type_id allow list in the policy
"node_type_id": {
"defaultValue": "Standard_D8s_v3",
"type": "allowlist",
"values": [
"Standard_D8s_v3",
"Standard_D16s_v3"
]
},But when I inherit this policy in the asset bundle and try to create job, it still tell me the the validation failed:
job_clusters:
- job_cluster_key: my_job_cluster
new_cluster:
policy_id: xxxxxxxxxxxxxxxxxxxcannot create job: INVALID_PARAMETER_VALUE: Unknown node type id