si icon indicating copy to clipboard operation
si copied to clipboard

feat(luminork): Add ability to see upgrade_available and upgrade schema

Open stack72 opened this issue 2 months ago • 1 comments

{
  "schemaName": "AWS::EC2::Subnet",
  "schemaId": "01JK0QZHF6ZSY6JFM39MBCRJ4C",
  "category": "AWS::EC2",
  "installed": true,
  "upgradeAvailable": true
}

You can specify a POST to <schemaId>/upgrade with a dryRun param:

curl -X 'POST' \
  'http://localhost:5380/v1/w/01HPJ3K7RC486W9RPR3T0B6HS2/change-sets/01K779TQWFCYZA60YT41DWV7BZ/schemas/01JK0QZHF6ZSY6JFM39MBCRJ4C/upgrade' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "dryRun": true
}'

the result is:

{
  "success": false,
  "breakingChanges": [
    {
      "path": "/domain/EnableLniAtDeviceIndex",
      "changeType": "typeChanged",
      "oldType": "integer",
      "newType": "number"
    },
    {
      "path": "/domain/Ipv4NetmaskLength",
      "changeType": "typeChanged",
      "oldType": "integer",
      "newType": "number"
    },
    {
      "path": "/domain/Ipv6NetmaskLength",
      "changeType": "typeChanged",
      "oldType": "integer",
      "newType": "number"
    }
  ],
  "dryRun": true
}

stack72 avatar Oct 14 '25 00:10 stack72

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

github-actions[bot] avatar Oct 14 '25 00:10 github-actions[bot]