Bug fixes for GCP modules (#64828)
This commit is contained in:
parent
19063166dd
commit
161ad4bf2c
1 changed files with 2 additions and 3 deletions
|
@ -96,8 +96,7 @@ options:
|
|||
preemptible:
|
||||
description:
|
||||
- Defines whether the TPU instance is preemptible.
|
||||
required: false
|
||||
default: 'false'
|
||||
required: true
|
||||
type: bool
|
||||
labels:
|
||||
description:
|
||||
|
@ -287,7 +286,7 @@ def main():
|
|||
tensorflow_version=dict(required=True, type='str'),
|
||||
network=dict(type='str'),
|
||||
cidr_block=dict(required=True, type='str'),
|
||||
scheduling_config=dict(type='dict', options=dict(preemptible=dict(type='bool'))),
|
||||
scheduling_config=dict(type='dict', options=dict(preemptible=dict(required=True, type='bool'))),
|
||||
labels=dict(type='dict'),
|
||||
zone=dict(required=True, type='str'),
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue