@@ -10,9 +10,8 @@ import { createInputBox } from '../../../shared/ui/inputPrompter'
1010import { createCommonButtons } from '../../../shared/ui/buttons'
1111import { createQuickPick } from '../../../shared/ui/pickerPrompter'
1212import { createFolderPrompt } from '../../../shared/ui/common/location'
13- import { Region } from '../../../shared/regions/endpoints'
1413import { createExitPrompter } from '../../../shared/ui/common/exitPrompter'
15- import { MetadataManager } from './serverlesslandMetadataManager '
14+ import { MetadataManager } from './metadataManager '
1615import { ToolkitError } from '../../../shared/errors'
1716
1817export interface CreateServerlessLandWizardForm {
@@ -21,8 +20,6 @@ export interface CreateServerlessLandWizardForm {
2120 pattern : string
2221 runtime : string
2322 iac : string
24- region ?: string
25- schemaName ?: string
2623}
2724
2825/**
@@ -32,7 +29,7 @@ export interface CreateServerlessLandWizardForm {
3229export class CreateServerlessLandWizard extends Wizard < CreateServerlessLandWizardForm > {
3330 private metadataManager : MetadataManager
3431
35- public constructor ( context : { schemaRegions : Region [ ] ; defaultRegion ?: string ; credentials ?: AWS . Credentials } ) {
32+ public constructor ( context : { defaultRegion ?: string ; credentials ?: AWS . Credentials } ) {
3633 super ( {
3734 exitPrompterProvider : createExitPrompter ,
3835 } )
@@ -49,7 +46,7 @@ export class CreateServerlessLandWizard extends Wizard<CreateServerlessLandWizar
4946 'awsService' ,
5047 'appBuilder' ,
5148 'serverlessLand' ,
52- 'serverlessland- metadata.json'
49+ 'metadata.json'
5350 )
5451 await this . metadataManager . loadMetadata ( metadataPath )
5552
@@ -67,11 +64,11 @@ export class CreateServerlessLandWizard extends Wizard<CreateServerlessLandWizar
6764 buttons : [
6865 {
6966 iconPath : new vscode . ThemeIcon ( 'github' ) ,
70- tooltip : 'GitHub Button ' ,
67+ tooltip : 'Open in GitHub ' ,
7168 } ,
7269 {
7370 iconPath : new vscode . ThemeIcon ( 'open-preview' ) ,
74- tooltip : 'Serverless Land Button ' ,
71+ tooltip : 'Open in Serverless Land' ,
7572 } ,
7673 ] ,
7774 } ) ) ,
0 commit comments