Skip to content

Create a new application tutorial has incorrect rad app show command #1430

@brooke-hamilton

Description

@brooke-hamilton

The Create a new application tutorial, step 2, has two issues.

Issue 1: The command written in the description is different from the command in the code window:

Image

Issue 2: The command written in the code window fails because rad init does not create an app named myapp, it creates an app named temp.

$ rad app show myapp -o json
The application "myapp" was not found or has been deleted.

However, this command succeeds:

$ rad app show temp -o json
{
  "id": "/planes/radius/local/resourcegroups/default/providers/Applications.Core/applications/temp",
  "location": "global",
  "name": "temp",
  "properties": {
    "environment": "/planes/radius/local/resourceGroups/default/providers/Applications.Core/environments/default",
    "provisioningState": "Succeeded",
    "status": {
      "compute": {
        "kind": "kubernetes",
        "namespace": "default-temp"
      }
    }
  },
  "systemData": {
    "createdAt": "0001-01-01T00:00:00Z",
    "createdBy": "",
    "createdByType": "",
    "lastModifiedAt": "0001-01-01T00:00:00Z",
    "lastModifiedBy": "",
    "lastModifiedByType": ""
  },
  "tags": {},
  "type": "Applications.Core/applications"
}

This command also succeeds: rad app show -o json (without specifying the app name).

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions