Skip to content

Commit

Permalink
[src] con-23007 double ami ECS (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
orelleshnofish authored Nov 14, 2023
1 parent f442b54 commit 73e6dc8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/services/ocean/ecs/schemas/launchSpecImage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
type: object
title: Image object, containing the id of the image used to launch instances.
required:
- id
properties:
id:
type: string
description: |
Identifier of the image in AWS. Valid values: any string which is not empty or null.
example: "ami-ID"
9 changes: 9 additions & 0 deletions api/services/ocean/ecs/schemas/oceanClusterLaunchSpec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ properties:
description: >
Set image identifier. Can be null.
example: "img2"
images:
type: array
description: |
An array of image objects. <br>
* You can configure VNG with either the imageId or images objects, but not both simultaneously.
* For each architecture type (amd64, arm64) only one AMI is allowed.
* Valid values: null, or an array with at least one element
items:
$ref: "./launchSpecImage.yaml"
userData:
type: string
format: byte
Expand Down

0 comments on commit 73e6dc8

Please sign in to comment.