嗨,我正尝试使用AWS Powershell部署到Elastic Beanstalk上。
当前,我只是在尝试使用以下cmdlet获取EB环境:+ Get-EBEnvironment -ApplicationName -EnvironmentId -VersionLabel -EnvironmentName -IncludedDeletedBackTo -IncludeDeleted
这是我使用的cmdlet:Get-EBEnvironment -ApplicationName appName
但是,我收到以下错误:
Get-EBEnvironment:未指定区域,也未从持久性/ shell默认值获得区域。在C:\ Users \ lowong \ Desktop \ script.ps1:22 char:1
我是否缺少其他必须放在cmdlet中的字段?还是什么问题?
(以下是cmdlet文档的链接:http : //docs.aws.amazon.com/powershell/latest/reference/index.html? page= New-EBApplicationVersion.html& tocid= New-EBApplicationVersion)