@@ -387,8 +387,13 @@ variables:
387387 type : boolean
388388 default : false
389389 visible :
390- not :
391- - ${use_standard_image}
390+ or :
391+ - not :
392+ - ${use_standard_image}
393+ - not :
394+ - eq :
395+ - ${compute_username}
396+ - " opc"
392397
393398 bastion_username :
394399 title : " Default username for bastion"
@@ -397,8 +402,13 @@ variables:
397402 default : " opc"
398403 required : true
399404 visible :
400- not :
401- - ${use_standard_image}
405+ or :
406+ - not :
407+ - ${use_standard_image}
408+ - not :
409+ - eq :
410+ - ${compute_username}
411+ - " opc"
402412
403413 unsupported_bastion_image :
404414 title : " Image OCID"
@@ -407,9 +417,13 @@ variables:
407417 required : true
408418 visible :
409419 and :
410- - ${unsupported_bastion}
411- - not :
420+ - or :
421+ - not :
412422 - ${use_standard_image}
423+ - not :
424+ - eq :
425+ - ${compute_username}
426+ - " opc"
413427 default : " image.ocid"
414428
415429 bastion_image_compartment :
@@ -418,10 +432,15 @@ variables:
418432 default : ${targetCompartment}
419433 visible :
420434 and :
435+ - or :
421436 - not :
422- - ${use_standard_image}
423- - not :
424- - ${unsupported_bastion}
437+ - ${use_standard_image}
438+ - not :
439+ - eq :
440+ - ${compute_username}
441+ - " opc"
442+ - not :
443+ - ${unsupported_bastion}
425444 required : true
426445
427446 custom_bastion_image :
@@ -432,10 +451,15 @@ variables:
432451 compartmentId : ${bastion_image_compartment}
433452 visible :
434453 and :
454+ - or :
435455 - not :
436- - ${use_standard_image}
437- - not :
438- - ${unsupported_bastion}
456+ - ${use_standard_image}
457+ - not :
458+ - eq :
459+ - ${compute_username}
460+ - " opc"
461+ - not :
462+ - ${unsupported_bastion}
439463 required : true
440464
441465 bastion_boot_volume_size :
0 commit comments