рдЯреАрдо рдХреЛ рдирдорд╕реНрддреЗ,
рд╣рдо рдХреНрд░реЙрд╕-рд░реЛрд▓ рддрдВрддреНрд░ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рдХреЗ рдкреЙрд╡рд░рд╢реЗрд▓ рд▓реИрдореНрдмреНрдбрд╛ рдлрд╝рдВрдХреНрд╢рди рдХреЛ рдкреИрдХреЗрдЬ рдФрд░ рдкрд░рд┐рдирд┐рдпреЛрдЬрд┐рдд рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП Publish-AWSPowerShellLambda
рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рддреЗ рд╣реИрдВред
рдиреАрдЪреЗ рджрд┐рдП рдЧрдП рдЖрджреЗрд╢ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рдХреЗ рдПрдХ рд╕рд╛рдзрд╛рд░рдг рддреИрдирд╛рддреА:
Publish-AWSPowerShellLambda -ScriptPath ./kube-deploy.ps1 -Name pwsh-kube-deploy -IAMRoleArn arn:aws:iam::123456789012:role/lambda-exe-role -Region ap-southeast-2 -ProfileName profile-one
рд▓реЗрдХрд┐рди рдЖрджреЗрд╢ рд╣рдореЗрд╢рд╛ рднреВрдорд┐рдХрд╛ рдирд┐рднрд╛рдиреЗ рдореЗрдВ рд╡рд┐рдлрд▓ рд░рд╣рддрд╛ рд╣реИ:
Created publish archive (/Users/xyz/projects/pwsh-deploy-lambda/kube-deploy/kube-deploy/bin/Release/netcoreapp2.1/kube-deploy.zip).
Error retrieving configuration for function pwsh-kube-deploy: Error calling AssumeRole for role arn:aws:iam::123456789012:role/Organisation-role
Error publishing PowerShell Lambda Function: 255
CALLSTACK:
Command Arguments Location
------- --------- --------
_deployProject {{PowerShellFunctionHandler=$null}, {PowerShellFunctionHandler=$null}, {PowerShellFunctionHandler=$null}, {PowerShellFunctionHandler=$null}} _DeploymentFunctions.ps1: line 192
Publish-AWSPowerShellLambda {{StagingDirectory=./$null}, {StagingDirectory=./$null}, {StagingDirectory=./$null}, {StagingDirectory=./$null}тАж} Publish-AWSPowerShellLambda.ps1: line 326
<ScriptBlock> {{=$null}, {=$null}, {=$null}, {=$null}} <No file>
At /Users/xyz/.local/share/powershell/Modules/AWSLambdaPSCore/1.2.0.0/Private/_DeploymentFunctions.ps1:194 char:13
+ throw $msg
+ ~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Error publishing Po\u2026 <No file>
:String) [], RuntimeException
+ FullyQualifiedErrorId : Error publishing PowerShell Lambda Function: 255
CALLSTACK:
Command Arguments Location
------- --------- --------
_deployProject {{PowerShellFunctionHandler=$null}, {PowerShellFunctionHandler=$null}, {PowerShellFunctionHandler=$null}, {PowerShellFunctionHandler=$null}} _DeploymentFunctions.ps1: line 192
Publish-AWSPowerShellLambda {{StagingDirectory=./$null}, {StagingDirectory=./$null}, {StagingDirectory=./$null}, {StagingDirectory=./$null}тАж} Publish-AWSPowerShellLambda.ps1: line 326
<ScriptBlock> {{=$null}, {=$null}, {=$null}, {=$null}} <No file>
рдореИрдВ рдкреБрд╖реНрдЯрд┐ рдХрд░ рд╕рдХрддрд╛ рд╣реВрдВ рдХрд┐ default
рдФрд░ profile-one
AWS рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдореМрдЬреВрдж рд╣реИ рдФрд░ рдореИрдВ -ProfileName
рдкрд╛рд╕ рдХрд░ рд░рд╣рд╛ рд╣реВрдВ, рдЕрдиреНрдп cmdlet рдЬреИрд╕реЗ Get-EC2Instance
рд╕рд╛рде рдХреЛрдИ рд╕рдорд╕реНрдпрд╛ рдирд╣реАрдВ рд╣реИ
рдЙрд╕реА рддреНрд░реБрдЯрд┐ рдореЗрдВ рднрд╛рдЧ рдЧрдпрд╛ рдЬрдм рд╣рдореЗрдВ рдПрдХ рднреВрдорд┐рдХрд╛ рдХреЗ рд▓рд┐рдП рдПрдордПрдлрдП рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рд╣реЛрдиреЗ рд▓рдЧреАред
рдЕрдЧрд░ рдЖрдкрдХреЗ рд▓рд┐рдП рднреА рдРрд╕рд╛ рд╣реИ, рддреЛ рдЖрдкрдХреЛ рдЬреЛрдбрд╝рдирд╛ рд╣реЛрдЧрд╛
рдЖрдкрдХреА рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдореЗрдВ mfa_serial = arn:aws:iam::[account]:mfa/[username]
ред
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html#cli -configure-role-mfa
рдЗрд╕рдХрд╛ рдорддрд▓рдм рдпрд╣ рд╣реЛрдЧрд╛ рдХрд┐ Get-EC2Instance
рдЕрднреА рднреА рдЖрдкрдХреЗ рд▓рд┐рдП рдХрд╛рдо рдирд╣реАрдВ рдХрд░рдирд╛ рдЪрд╛рд╣рд┐рдПред
@pandaedward рдХреНрдпрд╛ рдЖрдк рдЕрдкрдиреА рднреВрдорд┐рдХрд╛ рдХреЗ рд╕рд╛рде рдПрдордПрдлрдП рдХрд╛ рднреА рдЙрдкрдпреЛрдЧ рдХрд░ рд░рд╣реЗ рд╣реИрдВред рдореЗрд░реЗ рдкрд╛рд╕ рдЕрдВрддрд░реНрдирд┐рд╣рд┐рдд .NET рдХреЛрд░ рдЧреНрд▓реЛрдмрд▓ рдЯреВрд▓ рдХреЗ рд▓рд┐рдП рдПрдХ рдкреАрдЖрд░ рд╣реИ рдЬреЛ рдкреНрд░рдХрд╛рд╢рд┐рдд cmdlet рдЙрдкрдпреЛрдЧ рдХрд░рддрд╛ рд╣реИред рдкреАрдЖрд░ рдмрд╛рд╣рд░ рдЬрд╛рдиреЗ рдХреЗ рд▓рд┐рдП рддреИрдпрд╛рд░ рд╣реИ рдореБрдЭреЗ рдмрд╕ рд╡рд╛рд╕реНрддрд╡рд┐рдХ рд░рд┐рд▓реАрдЬ рдХрд░рдиреЗ рдХреА рдЬрд░реВрд░рдд рд╣реИред
@Yottster рдореЗрд░реЗ рдкрд╛рд╕ рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдореЗрдВ рдкрд╣рд▓реЗ рд╕реЗ рд╣реА mfa_serial рд╣реИред рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдореЗрд░реЗ рдмреИрд╢ рдПрдбрдмреНрд▓реНрдпреВрдПрд╕-рдХреНрд▓реА рдХрдорд╛рдВрдб рдХреЗ рд▓рд┐рдП рдЕрдЪреНрдЫреА рддрд░рд╣ рд╕реЗ рдХрд╛рдо рдХрд░ рд░рд╣реА рд╣реИ, рди рдХрд┐ рдкрд╛рд╡рд░рд╣реЗрд▓ рд╕рдВрд╕реНрдХрд░рдгред
@normj рдпрд╣ рд╕реБрдирдХрд░ рдЕрдЪреНрдЫрд╛ рд▓рдЧрд╛ рдХрд┐ рдПрдХ рдкреАрдЖрд░ рд╣реИ! рдЕрднреА рдХреЗ рд▓рд┐рдП рд╡рд░реНрдХрдЕрд░рд╛рдЙрдВрдб рдкреНрд░рдХрд╛рд╢рди рд╕реЗ рдкрд╣рд▓реЗ Set-AWSCredential -ProfileName profile_name
рд╕рд╛рде рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рд╕реЗрдЯ рдХрд░ рд░рд╣рд╛ рд╣реИ
@normj .NET рдХреЛрд░ рдЧреНрд▓реЛрдмрд▓ рдЯреВрд▓ рдореЗрдВ рдПрдордПрдлрдП рдХреЗ рд▓рд┐рдП рд╕рдорд░реНрдерди рдЬреЛрдбрд╝рдиреЗ рдореЗрдВ рдХреЛрдИ рдкреНрд░рдЧрддрд┐ рд╣реБрдИ рд╣реИ? рд╣реЛрдирд╛ рд╡рд╛рд╕реНрддрд╡ рдореЗрдВ рдЕрдЪреНрдЫрд╛ рд╣реЛрдЧрд╛!
рд╣рд╛рдп @pandaedward ,
рдирдорд╕реНрдХрд╛рд░ред
рдореИрдВ рдмреИрдХрд▓реЙрдЧ рдХреЗ рдорд╛рдзреНрдпрдо рд╕реЗ рдЬрд╛ рд░рд╣рд╛ рдерд╛ рдФрд░ рдЗрд╕ рдореБрджреНрджреЗ рдкрд░ рдЖрдпрд╛ рдерд╛ред рдореИрдВ рдиреАрдЪреЗ рджрд┐рдП рдЧрдП рдЪрд░рдгреЛрдВ рдХреЗ рд╕рд╛рде рд╕рдорд╕реНрдпрд╛ рдХреЛ рдкреБрди: рдкреЗрд╢ рдХрд░рдиреЗ рдореЗрдВ рдЕрд╕рдорд░реНрде рд╣реВрдВ:
profile-one
рдореЗрдВ ~/.aws/credentials
рдлрд╝рд╛рдЗрд▓:[profile-one]
aws_access_key_id = XXXXXX
aws_secret_access_key =XXXXXX
aws_session_token = XXXXXX
region=ap-southeast-2
MyFirstPSScript.ps1
рд╕реНрдХреНрд░рд┐рдкреНрдЯ рдмрдирд╛рдИ (рд╢реБрд░реБрдЖрдд рдореЗрдВ рдХрдорд╛рдВрдб New-AWSPowerShellLambda -ScriptName MyFirstPSScript -Template Basic
рдХрд┐рдпрд╛):# PowerShell script file to be executed as a AWS Lambda function.
#
# When executing in Lambda the following variables will be predefined.
# $LambdaInput - A PSObject that contains the Lambda function input data.
# $LambdaContext - An Amazon.Lambda.Core.ILambdaContext object that contains information about the currently running Lambda environment.
#
# The last item in the PowerShell pipeline will be returned as the result of the Lambda function.
#
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.2.0'}
# Uncomment to send the input event to CloudWatch Logs
Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)
$PSVersionTable
AWSLambdaExecute
рдиреАрддрд┐ рдХреЗ рд╕рд╛рде arn:aws:iam::<accountid>:role/test-role-505
рдХреА рднреВрдорд┐рдХрд╛ рдмрдирд╛рдИред
рдЖрджреЗрд╢ Publish-AWSPowerShellLambda -ScriptPath ./MyFirstPSScript.ps1 -Name LambdaTest505 -IAMRoleArn arn:aws:iam::<accountid>:role/test-role-505 -Region ap-southeast-2 -ProfileName profile-one
рдирд┐рд╖реНрдкрд╛рджрд┐рдд рдХрд┐рдпрд╛ рдЧрдпрд╛
рдирддреАрдЬрд╛:
рдЪрд░рдг 5 рдореЗрдВ рдХрдорд╛рдВрдб рд╕рдлрд▓рддрд╛рдкреВрд░реНрд╡рдХ рдирд┐рд╖реНрдкрд╛рджрд┐рддред рдпрд╣рд╛рдБ рд▓реЙрдЧ рд╣реИ:
Staging deployment at /var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript
Configuring PowerShell to version 7.0.0
Generating C# project /var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/LambdaTest505.csproj used to create Lambda function bundle.
Generating /var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/Bootstrap.cs to load PowerShell script and required modules in Lambda environment.
Generating aws-lambda-tools-defaults.json config file with default values used when publishing project.
Copying PowerShell script to staging directory
Copying local module AWS.Tools.Common(4.1.2.0) from /usr/local/share/powershell/Modules/AWS.Tools.Common/4.1.2.0
Deploying to AWS Lambda
Restoring .NET Lambda deployment tool
Initiate deployment
Amazon Lambda Tools for .NET Core applications (4.3.0)
Project Home: https://github.com/aws/aws-extensions-for-dotnet-cli, https://github.com/aws/aws-lambda-dotnet
Executing publish command
... invoking 'dotnet publish', working folder '/private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/publish'
... dotnet publish --output "/private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/publish" --configuration "Release" --framework "netcoreapp3.1" /p:GenerateRuntimeConfigurationFiles=true --runtime linux-x64 --self-contained false
... publish: Microsoft (R) Build Engine version 16.7.0+7fb82e5b2 for .NET
... publish: Copyright (C) Microsoft Corporation. All rights reserved.
... publish: Determining projects to restore...
... publish: Restored /private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/LambdaTest505.csproj (in 1.4 sec).
... publish: LambdaTest505 -> /private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/linux-x64/LambdaTest505.dll
... publish: LambdaTest505 -> /private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/publish/
Changed permissions on published file (chmod +rx Microsoft.PowerShell.Commands.Management.dll).
Changed permissions on published file (chmod +rx Microsoft.Win32.SystemEvents.dll).
Changed permissions on published file (chmod +rx LambdaTest505.pdb).
Changed permissions on published file (chmod +rx System.Management.dll).
Changed permissions on published file (chmod +rx libmi.so).
Changed permissions on published file (chmod +rx System.Security.Permissions.dll).
Changed permissions on published file (chmod +rx System.ServiceModel.Http.dll).
Changed permissions on published file (chmod +rx System.Diagnostics.PerformanceCounter.dll).
Changed permissions on published file (chmod +rx System.Data.OleDb.dll).
Changed permissions on published file (chmod +rx System.ServiceModel.dll).
Changed permissions on published file (chmod +rx System.Security.Cryptography.Xml.dll).
Changed permissions on published file (chmod +rx System.ServiceModel.Primitives.dll).
Changed permissions on published file (chmod +rx Microsoft.CodeAnalysis.CSharp.dll).
Changed permissions on published file (chmod +rx System.Data.Odbc.dll).
Changed permissions on published file (chmod +rx libpsl-native.so).
Changed permissions on published file (chmod +rx LambdaTest505.runtimeconfig.json).
Changed permissions on published file (chmod +rx System.Security.Cryptography.Pkcs.dll).
Changed permissions on published file (chmod +rx System.Data.SqlClient.dll).
Changed permissions on published file (chmod +rx Microsoft.PowerShell.SDK.dll).
Changed permissions on published file (chmod +rx System.Windows.Extensions.dll).
Changed permissions on published file (chmod +rx LambdaTest505.dll).
Changed permissions on published file (chmod +rx Microsoft.Win32.Registry.AccessControl.dll).
Changed permissions on published file (chmod +rx Microsoft.PowerShell.Security.dll).
Changed permissions on published file (chmod +rx System.DirectoryServices.dll).
Changed permissions on published file (chmod +rx NJsonSchema.dll).
Changed permissions on published file (chmod +rx System.DirectoryServices.Protocols.dll).
Changed permissions on published file (chmod +rx System.ServiceProcess.ServiceController.dll).
Changed permissions on published file (chmod +rx MyFirstPSScript.ps1).
Changed permissions on published file (chmod +rx System.ServiceModel.Security.dll).
Changed permissions on published file (chmod +rx Microsoft.PowerShell.ConsoleHost.dll).
Changed permissions on published file (chmod +rx Markdig.Signed.dll).
Changed permissions on published file (chmod +rx System.IO.Ports.dll).
Changed permissions on published file (chmod +rx System.IO.Packaging.dll).
Changed permissions on published file (chmod +rx Microsoft.CodeAnalysis.dll).
Changed permissions on published file (chmod +rx Newtonsoft.Json.dll).
Changed permissions on published file (chmod +rx System.Private.ServiceModel.dll).
Changed permissions on published file (chmod +rx Amazon.Lambda.Core.dll).
Changed permissions on published file (chmod +rx System.Security.Cryptography.ProtectedData.dll).
Changed permissions on published file (chmod +rx System.Runtime.Caching.dll).
Changed permissions on published file (chmod +rx System.Threading.AccessControl.dll).
Changed permissions on published file (chmod +rx System.ServiceModel.NetTcp.dll).
Changed permissions on published file (chmod +rx LambdaTest505.deps.json).
Changed permissions on published file (chmod +rx Microsoft.Management.Infrastructure.dll).
Changed permissions on published file (chmod +rx System.ServiceModel.Syndication.dll).
Changed permissions on published file (chmod +rx Amazon.Lambda.PowerShellHost.dll).
Changed permissions on published file (chmod +rx System.Management.Automation.dll).
Changed permissions on published file (chmod +rx System.Configuration.ConfigurationManager.dll).
Changed permissions on published file (chmod +rx System.Diagnostics.EventLog.dll).
Changed permissions on published file (chmod +rx System.ComponentModel.Composition.dll).
Changed permissions on published file (chmod +rx System.IO.Ports.Native.so).
Changed permissions on published file (chmod +rx System.DirectoryServices.AccountManagement.dll).
Changed permissions on published file (chmod +rx System.CodeDom.dll).
Changed permissions on published file (chmod +rx Microsoft.PowerShell.Commands.Utility.dll).
Changed permissions on published file (chmod +rx Microsoft.PowerShell.MarkdownRender.dll).
Changed permissions on published file (chmod +rx libpsrpclient.so).
Changed permissions on published file (chmod +rx System.ComponentModel.Composition.Registration.dll).
Changed permissions on published file (chmod +rx System.Reflection.Context.dll).
Changed permissions on published file (chmod +rx System.ServiceModel.Duplex.dll).
Changed permissions on published file (chmod +rx Microsoft.ApplicationInsights.dll).
Changed permissions on published file (chmod +rx Namotion.Reflection.dll).
Changed permissions on published file (chmod +rx System.Drawing.Common.dll).
Changed permissions on published file (chmod +rx System.Net.Http.WinHttpHandler.dll).
Zipping publish folder /private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/publish to /private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/MyFirstPSScript.zip
... zipping: adding: Microsoft.PowerShell.Commands.Management.dll (deflated 66%)
... zipping: adding: Microsoft.Win32.SystemEvents.dll (deflated 49%)
... zipping: adding: LambdaTest505.pdb (deflated 42%)
... zipping: adding: System.Management.dll (deflated 62%)
... zipping: adding: libmi.so (deflated 61%)
... zipping: adding: System.Security.Permissions.dll (deflated 58%)
... zipping: adding: System.ServiceModel.Http.dll (deflated 46%)
... zipping: adding: System.Diagnostics.PerformanceCounter.dll (deflated 60%)
... zipping: adding: System.Data.OleDb.dll (deflated 72%)
... zipping: adding: System.ServiceModel.dll (deflated 56%)
... zipping: adding: System.Security.Cryptography.Xml.dll (deflated 61%)
... zipping: adding: System.ServiceModel.Primitives.dll (deflated 54%)
... zipping: adding: Microsoft.CodeAnalysis.CSharp.dll (deflated 63%)
... zipping: adding: System.Data.Odbc.dll (deflated 60%)
... zipping: adding: libpsl-native.so (deflated 69%)
... zipping: adding: LambdaTest505.runtimeconfig.json (deflated 23%)
... zipping: adding: System.Security.Cryptography.Pkcs.dll (deflated 59%)
... zipping: adding: System.Data.SqlClient.dll (deflated 64%)
... zipping: adding: Microsoft.PowerShell.SDK.dll (deflated 75%)
... zipping: adding: System.Windows.Extensions.dll (deflated 52%)
... zipping: adding: LambdaTest505.dll (deflated 60%)
... zipping: adding: Microsoft.Win32.Registry.AccessControl.dll (deflated 45%)
... zipping: adding: Microsoft.PowerShell.Security.dll (deflated 72%)
... zipping: adding: System.DirectoryServices.dll (deflated 65%)
... zipping: adding: NJsonSchema.dll (deflated 62%)
... zipping: adding: System.DirectoryServices.Protocols.dll (deflated 61%)
... zipping: adding: System.ServiceProcess.ServiceController.dll (deflated 53%)
... zipping: adding: MyFirstPSScript.ps1 (deflated 47%)
... zipping: adding: System.ServiceModel.Security.dll (deflated 48%)
... zipping: adding: Microsoft.PowerShell.ConsoleHost.dll (deflated 67%)
... zipping: adding: Markdig.Signed.dll (deflated 62%)
... zipping: adding: System.IO.Ports.dll (deflated 55%)
... zipping: adding: System.IO.Packaging.dll (deflated 59%)
... zipping: adding: Microsoft.CodeAnalysis.dll (deflated 60%)
... zipping: adding: Newtonsoft.Json.dll (deflated 62%)
... zipping: adding: System.Private.ServiceModel.dll (deflated 66%)
... zipping: adding: Amazon.Lambda.Core.dll (deflated 46%)
... zipping: adding: System.Security.Cryptography.ProtectedData.dll (deflated 46%)
... zipping: adding: System.Runtime.Caching.dll (deflated 53%)
... zipping: adding: System.Threading.AccessControl.dll (deflated 51%)
... zipping: adding: System.ServiceModel.NetTcp.dll (deflated 46%)
... zipping: adding: LambdaTest505.deps.json (deflated 82%)
... zipping: adding: Microsoft.Management.Infrastructure.dll (deflated 64%)
... zipping: adding: System.ServiceModel.Syndication.dll (deflated 58%)
... zipping: adding: Amazon.Lambda.PowerShellHost.dll (deflated 46%)
... zipping: adding: System.Management.Automation.dll (deflated 69%)
... zipping: adding: System.Configuration.ConfigurationManager.dll (deflated 60%)
... zipping: adding: System.Diagnostics.EventLog.dll (deflated 57%)
... zipping: adding: System.ComponentModel.Composition.dll (deflated 59%)
... zipping: adding: System.IO.Ports.Native.so (deflated 68%)
... zipping: adding: System.DirectoryServices.AccountManagement.dll (deflated 66%)
... zipping: adding: System.CodeDom.dll (deflated 62%)
... zipping: adding: Microsoft.PowerShell.Commands.Utility.dll (deflated 67%)
... zipping: adding: Microsoft.PowerShell.MarkdownRender.dll (deflated 73%)
... zipping: adding: libpsrpclient.so (deflated 64%)
... zipping: adding: System.ComponentModel.Composition.Registration.dll (deflated 55%)
... zipping: adding: System.Reflection.Context.dll (deflated 57%)
... zipping: adding: System.ServiceModel.Duplex.dll (deflated 44%)
... zipping: adding: Microsoft.ApplicationInsights.dll (deflated 60%)
... zipping: adding: Namotion.Reflection.dll (deflated 58%)
... zipping: adding: System.Drawing.Common.dll (deflated 59%)
... zipping: adding: System.Net.Http.WinHttpHandler.dll (deflated 52%)
... zipping: adding: zh-Hans/Microsoft.CodeAnalysis.resources.dll (deflated 54%)
... zipping: adding: zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 69%)
... zipping: adding: zh-Hant/Microsoft.CodeAnalysis.resources.dll (deflated 54%)
... zipping: adding: zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 69%)
... zipping: adding: pl/Microsoft.CodeAnalysis.resources.dll (deflated 56%)
... zipping: adding: pl/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 72%)
... zipping: adding: ref/Microsoft.CSharp.dll (deflated 45%)
... zipping: adding: ref/System.Web.dll (deflated 43%)
... zipping: adding: ref/System.Diagnostics.Contracts.dll (deflated 48%)
... zipping: adding: ref/System.ServiceModel.Web.dll (deflated 46%)
... zipping: adding: ref/System.Diagnostics.FileVersionInfo.dll (deflated 46%)
... zipping: adding: ref/System.Runtime.Intrinsics.dll (deflated 67%)
... zipping: adding: ref/System.Net.Security.dll (deflated 60%)
... zipping: adding: ref/System.Xml.XPath.XDocument.dll (deflated 45%)
... zipping: adding: ref/System.Xml.Linq.dll (deflated 46%)
... zipping: adding: ref/System.Net.WebSockets.Client.dll (deflated 45%)
... zipping: adding: ref/System.IO.dll (deflated 45%)
... zipping: adding: ref/System.Dynamic.Runtime.dll (deflated 46%)
... zipping: adding: ref/System.Runtime.Serialization.Xml.dll (deflated 56%)
... zipping: adding: ref/System.Security.Principal.dll (deflated 43%)
... zipping: adding: ref/System.Reflection.dll (deflated 46%)
... zipping: adding: ref/System.Threading.ThreadPool.dll (deflated 46%)
... zipping: adding: ref/System.Net.dll (deflated 46%)
... zipping: adding: ref/System.IO.Compression.FileSystem.dll (deflated 44%)
... zipping: adding: ref/System.Reflection.Metadata.dll (deflated 58%)
... zipping: adding: ref/System.ComponentModel.EventBasedAsync.dll (deflated 46%)
... zipping: adding: ref/System.Diagnostics.DiagnosticSource.dll (deflated 47%)
... zipping: adding: ref/System.Runtime.CompilerServices.VisualC.dll (deflated 45%)
... zipping: adding: ref/System.Threading.dll (deflated 51%)
... zipping: adding: ref/netstandard.dll (deflated 68%)
... zipping: adding: ref/Microsoft.VisualBasic.dll (deflated 47%)
... zipping: adding: ref/System.IO.UnmanagedMemoryStream.dll (deflated 43%)
... zipping: adding: ref/System.Xml.XPath.dll (deflated 44%)
... zipping: adding: ref/System.Xml.XmlDocument.dll (deflated 44%)
... zipping: adding: ref/System.Configuration.dll (deflated 50%)
... zipping: adding: ref/System.Resources.Writer.dll (deflated 44%)
... zipping: adding: ref/System.Console.dll (deflated 47%)
... zipping: adding: ref/System.Net.Sockets.dll (deflated 53%)
... zipping: adding: ref/System.Net.Http.dll (deflated 54%)
... zipping: adding: ref/System.Web.HttpUtility.dll (deflated 45%)
... zipping: adding: ref/System.Text.Encoding.Extensions.dll (deflated 50%)
... zipping: adding: ref/System.Net.NetworkInformation.dll (deflated 53%)
... zipping: adding: ref/Microsoft.VisualBasic.Core.dll (deflated 54%)
... zipping: adding: ref/System.Security.Claims.dll (deflated 60%)
... zipping: adding: ref/System.ComponentModel.Primitives.dll (deflated 48%)
... zipping: adding: ref/System.IO.FileSystem.DriveInfo.dll (deflated 43%)
... zipping: adding: ref/System.IO.Compression.Brotli.dll (deflated 45%)
... zipping: adding: ref/System.Security.Cryptography.X509Certificates.dll (deflated 53%)
... zipping: adding: ref/System.Reflection.Primitives.dll (deflated 47%)
... zipping: adding: ref/System.Runtime.Numerics.dll (deflated 50%)
... zipping: adding: ref/System.IO.FileSystem.Watcher.dll (deflated 46%)
... zipping: adding: ref/System.Diagnostics.TraceSource.dll (deflated 50%)
... zipping: adding: ref/System.Reflection.Emit.Lightweight.dll (deflated 46%)
... zipping: adding: ref/System.Text.Encoding.CodePages.dll (deflated 43%)
... zipping: adding: ref/System.Linq.Expressions.dll (deflated 58%)
... zipping: adding: ref/System.Threading.Timer.dll (deflated 44%)
... zipping: adding: ref/System.Runtime.InteropServices.dll (deflated 55%)
... zipping: adding: ref/System.IO.Pipes.dll (deflated 48%)
... zipping: adding: ref/System.Net.HttpListener.dll (deflated 48%)
... zipping: adding: ref/System.Text.RegularExpressions.dll (deflated 53%)
... zipping: adding: ref/System.Runtime.Serialization.dll (deflated 48%)
... zipping: adding: ref/System.IO.Compression.dll (deflated 48%)
... zipping: adding: ref/System.Threading.Tasks.Parallel.dll (deflated 48%)
... zipping: adding: ref/WindowsBase.dll (deflated 46%)
... zipping: adding: ref/System.Data.DataSetExtensions.dll (deflated 44%)
... zipping: adding: ref/System.Collections.NonGeneric.dll (deflated 50%)
... zipping: adding: ref/System.Collections.Concurrent.dll (deflated 52%)
... zipping: adding: ref/System.Threading.Overlapped.dll (deflated 46%)
... zipping: adding: ref/System.Text.Encodings.Web.dll (deflated 50%)
... zipping: adding: ref/System.Xml.Serialization.dll (deflated 46%)
... zipping: adding: ref/System.Runtime.Handles.dll (deflated 44%)
... zipping: adding: ref/System.Net.WebProxy.dll (deflated 45%)
... zipping: adding: ref/System.Text.Json.dll (deflated 53%)
... zipping: adding: ref/System.ObjectModel.dll (deflated 54%)
... zipping: adding: ref/System.Net.WebHeaderCollection.dll (deflated 45%)
... zipping: adding: ref/System.Runtime.InteropServices.RuntimeInformation.dll (deflated 44%)
... zipping: adding: ref/System.ComponentModel.TypeConverter.dll (deflated 59%)
... zipping: adding: ref/System.Net.Mail.dll (deflated 50%)
... zipping: adding: ref/System.Threading.Tasks.Extensions.dll (deflated 45%)
... zipping: adding: ref/System.Linq.Parallel.dll (deflated 56%)
... zipping: adding: ref/System.Xml.XDocument.dll (deflated 53%)
... zipping: adding: ref/System.Security.SecureString.dll (deflated 44%)
... zipping: adding: ref/System.ComponentModel.Annotations.dll (deflated 51%)
... zipping: adding: ref/System.IO.FileSystem.Primitives.dll (deflated 44%)
... zipping: adding: ref/mscorlib.dll (deflated 65%)
... zipping: adding: ref/System.Security.Cryptography.Primitives.dll (deflated 47%)
... zipping: adding: ref/System.IO.Compression.ZipFile.dll (deflated 45%)
... zipping: adding: ref/System.Windows.dll (deflated 44%)
... zipping: adding: ref/System.Runtime.InteropServices.WindowsRuntime.dll (deflated 46%)
... zipping: adding: ref/System.Linq.Queryable.dll (deflated 54%)
... zipping: adding: ref/System.Resources.ResourceManager.dll (deflated 47%)
... zipping: adding: ref/System.Resources.Reader.dll (deflated 44%)
... zipping: adding: ref/System.Collections.dll (deflated 56%)
... zipping: adding: ref/System.Reflection.Emit.ILGeneration.dll (deflated 48%)
... zipping: adding: ref/System.Data.Common.dll (deflated 60%)
... zipping: adding: ref/System.Net.NameResolution.dll (deflated 46%)
... zipping: adding: ref/System.ComponentModel.dll (deflated 44%)
... zipping: adding: ref/System.Runtime.Loader.dll (deflated 46%)
... zipping: adding: ref/System.Xml.ReaderWriter.dll (deflated 59%)
... zipping: adding: ref/System.Threading.Tasks.dll (deflated 48%)
... zipping: adding: ref/System.Diagnostics.Tracing.dll (deflated 48%)
... zipping: adding: ref/System.AppContext.dll (deflated 44%)
... zipping: adding: ref/System.Buffers.dll (deflated 44%)
... zipping: adding: ref/System.Security.Cryptography.Csp.dll (deflated 50%)
... zipping: adding: ref/System.Diagnostics.TextWriterTraceListener.dll (deflated 46%)
... zipping: adding: ref/System.Text.Encoding.dll (deflated 45%)
... zipping: adding: ref/System.Transactions.dll (deflated 47%)
... zipping: adding: ref/System.Threading.Tasks.Dataflow.dll (deflated 55%)
... zipping: adding: ref/System.IO.MemoryMappedFiles.dll (deflated 46%)
... zipping: adding: ref/System.Runtime.CompilerServices.Unsafe.dll (deflated 45%)
... zipping: adding: ref/System.Globalization.dll (deflated 43%)
... zipping: adding: ref/System.Collections.Specialized.dll (deflated 50%)
... zipping: adding: ref/System.ValueTuple.dll (deflated 44%)
... zipping: adding: ref/System.Runtime.dll (deflated 64%)
... zipping: adding: ref/System.Net.ServicePoint.dll (deflated 47%)
... zipping: adding: ref/System.Xml.XmlSerializer.dll (deflated 55%)
... zipping: adding: ref/System.Reflection.Extensions.dll (deflated 44%)
... zipping: adding: ref/System.Globalization.Extensions.dll (deflated 44%)
... zipping: adding: ref/System.Runtime.Extensions.dll (deflated 58%)
... zipping: adding: ref/System.Data.dll (deflated 55%)
... zipping: adding: ref/System.dll (deflated 64%)
... zipping: adding: ref/System.Security.Cryptography.Encoding.dll (deflated 46%)
... zipping: adding: ref/System.IO.IsolatedStorage.dll (deflated 49%)
... zipping: adding: ref/System.Reflection.TypeExtensions.dll (deflated 47%)
... zipping: adding: ref/System.Globalization.Calendars.dll (deflated 45%)
... zipping: adding: ref/System.Net.Requests.dll (deflated 52%)
... zipping: adding: ref/System.Net.WebSockets.dll (deflated 45%)
... zipping: adding: ref/System.Reflection.Emit.dll (deflated 55%)
... zipping: adding: ref/System.IO.FileSystem.dll (deflated 52%)
... zipping: adding: ref/System.Runtime.Serialization.Json.dll (deflated 48%)
... zipping: adding: ref/System.Security.Cryptography.Algorithms.dll (deflated 55%)
... zipping: adding: ref/System.Threading.Thread.dll (deflated 47%)
... zipping: adding: ref/System.Numerics.Vectors.dll (deflated 56%)
... zipping: adding: ref/System.ServiceProcess.dll (deflated 46%)
... zipping: adding: ref/System.Linq.dll (deflated 55%)
... zipping: adding: ref/System.Diagnostics.Process.dll (deflated 50%)
... zipping: adding: ref/System.Numerics.dll (deflated 46%)
... zipping: adding: ref/System.Xml.dll (deflated 55%)
... zipping: adding: ref/System.Diagnostics.Tools.dll (deflated 44%)
... zipping: adding: ref/System.Collections.Immutable.dll (deflated 60%)
... zipping: adding: ref/System.Diagnostics.Debug.dll (deflated 48%)
... zipping: adding: ref/Microsoft.Win32.Primitives.dll (deflated 44%)
... zipping: adding: ref/System.Runtime.Serialization.Primitives.dll (deflated 48%)
... zipping: adding: ref/System.Transactions.Local.dll (deflated 49%)
... zipping: adding: ref/System.Drawing.Primitives.dll (deflated 51%)
... zipping: adding: ref/System.Drawing.dll (deflated 50%)
... zipping: adding: ref/System.Runtime.Serialization.Formatters.dll (deflated 49%)
... zipping: adding: ref/System.Net.Ping.dll (deflated 45%)
... zipping: adding: ref/System.Diagnostics.StackTrace.dll (deflated 47%)
... zipping: adding: ref/System.Security.dll (deflated 48%)
... zipping: adding: ref/System.Reflection.DispatchProxy.dll (deflated 43%)
... zipping: adding: ref/System.Core.dll (deflated 53%)
... zipping: adding: ref/System.Net.WebClient.dll (deflated 54%)
... zipping: adding: ref/System.ComponentModel.DataAnnotations.dll (deflated 46%)
... zipping: adding: ref/System.Memory.dll (deflated 56%)
... zipping: adding: ref/System.Net.Primitives.dll (deflated 48%)
... zipping: adding: ref/System.Threading.Channels.dll (deflated 45%)
... zipping: adding: ja/Microsoft.CodeAnalysis.resources.dll (deflated 59%)
... zipping: adding: ja/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 75%)
... zipping: adding: it/Microsoft.CodeAnalysis.resources.dll (deflated 57%)
... zipping: adding: it/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 73%)
... zipping: adding: cs/Microsoft.CodeAnalysis.resources.dll (deflated 55%)
... zipping: adding: cs/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 71%)
... zipping: adding: ru/Microsoft.CodeAnalysis.resources.dll (deflated 61%)
... zipping: adding: ru/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 76%)
... zipping: adding: pt-BR/Microsoft.CodeAnalysis.resources.dll (deflated 56%)
... zipping: adding: pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 72%)
... zipping: adding: de/Microsoft.CodeAnalysis.resources.dll (deflated 56%)
... zipping: adding: de/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 72%)
... zipping: adding: ko/Microsoft.CodeAnalysis.resources.dll (deflated 58%)
... zipping: adding: ko/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 74%)
... zipping: adding: fr/Microsoft.CodeAnalysis.resources.dll (deflated 57%)
... zipping: adding: fr/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 73%)
... zipping: adding: es/Microsoft.CodeAnalysis.resources.dll (deflated 56%)
... zipping: adding: es/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 72%)
... zipping: adding: tr/Microsoft.CodeAnalysis.resources.dll (deflated 56%)
... zipping: adding: tr/Microsoft.CodeAnalysis.CSharp.resources.dll (deflated 72%)
... zipping: adding: Modules/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 (deflated 45%)
... zipping: adding: Modules/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 (deflated 45%)
... zipping: adding: Modules/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 (deflated 42%)
... zipping: adding: Modules/Microsoft.WSMan.Management/WSMan.format.ps1xml (deflated 62%)
... zipping: adding: Modules/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 (deflated 42%)
... zipping: adding: Modules/CimCmdlets/CimCmdlets.psd1 (deflated 44%)
... zipping: adding: Modules/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 (deflated 42%)
... zipping: adding: Modules/Microsoft.PowerShell.Diagnostics/Event.format.ps1xml (deflated 58%)
... zipping: adding: Modules/Microsoft.PowerShell.Diagnostics/Diagnostics.format.ps1xml (deflated 54%)
... zipping: adding: Modules/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml (deflated 55%)
... zipping: adding: Modules/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 (deflated 42%)
... zipping: adding: Modules/PSDiagnostics/PSDiagnostics.psm1 (deflated 59%)
... zipping: adding: Modules/PSDiagnostics/PSDiagnostics.psd1 (deflated 42%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.psd1 (deflated 52%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.Completers.psm1 (deflated 49%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWSSDK.Core.dll (deflated 72%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.dll (deflated 34%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.Aliases.psm1 (deflated 46%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.Format.ps1xml (deflated 93%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.dll-Help.xml (deflated 91%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWSSDK.SecurityToken.dll (deflated 61%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/AWS.Tools.Common.XML (deflated 84%)
... zipping: adding: Modules/AWS.Tools.Common/4.1.2.0/ImportGuard.ps1 (deflated 52%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 (deflated 45%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 (deflated 45%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 (deflated 42%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.WSMan.Management/WSMan.format.ps1xml (deflated 62%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 (deflated 42%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/CimCmdlets/CimCmdlets.psd1 (deflated 44%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Diagnostics/Microsoft.PowerShell.Diagnostics.psd1 (deflated 42%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Diagnostics/Event.format.ps1xml (deflated 58%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Diagnostics/Diagnostics.format.ps1xml (deflated 54%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Diagnostics/GetEvent.types.ps1xml (deflated 55%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 (deflated 42%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/PSDiagnostics/PSDiagnostics.psm1 (deflated 59%)
... zipping: adding: runtimes/win/lib/netcoreapp3.1/Modules/PSDiagnostics/PSDiagnostics.psd1 (deflated 42%)
... zipping: adding: runtimes/unix/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 (deflated 59%)
... zipping: adding: runtimes/unix/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1 (deflated 60%)
... zipping: adding: runtimes/unix/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1 (deflated 35%)
... zipping: adding: runtimes/unix/lib/netcoreapp3.1/Modules/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1 (deflated 39%)
Created publish archive (/private/var/folders/5v/klr4lq9j0rd95h4xtmydvgrwqf_g0k/T/MyFirstPSScript/bin/Release/netcoreapp3.1/MyFirstPSScript.zip).
Creating new Lambda function LambdaTest505
New Lambda function created
рдХреГрдкрдпрд╛ рдкреБрд╖реНрдЯрд┐ рдХрд░реЗрдВ рдХрд┐ рдХреНрдпрд╛ рдпрд╣ рдЖрдкрдХреЗ рд▓рд┐рдП рдирд╡реАрдирддрдо AWS рдкреЙрд╡рд░рд╢реЗрд▓ рдЯреВрд▓реНрд╕/рдореЙрдбреНрдпреВрд▓ рд╕рдВрд╕реНрдХрд░рдг рдореЗрдВ рдХрд╛рдо рдХрд░рддрд╛ рд╣реИ рдФрд░ рдкреБрд╖реНрдЯрд┐ рдХрд░реЗрдВ рдХрд┐ рдХреНрдпрд╛ рдпрд╣ рд╕рдорд╕реНрдпрд╛ рдмрдВрдж рд╣реЛ рд╕рдХрддреА рд╣реИред
рдзрдиреНрдпрд╡рд╛рдж,
рдЖрд╢реАрд╖
рдЗрд╕ рдореБрджреНрджреЗ рдкрд░ 2 рд╕рдкреНрддрд╛рд╣ рдореЗрдВ рдХреЛрдИ рдкреНрд░рддрд┐рдХреНрд░рд┐рдпрд╛ рдирд╣реАрдВ рдорд┐рд▓реА рд╣реИред рдпрджрд┐ рдЖрдк рдЗрд╕ рдореБрджреНрджреЗ рдХреЛ рдЦреБрд▓рд╛ рд░рдЦрдирд╛ рдЪрд╛рд╣рддреЗ рд╣реИрдВ, рддреЛ рдХреГрдкрдпрд╛ рдиреАрдЪреЗ рдПрдХ рдЯрд┐рдкреНрдкрдгреА рдЫреЛрдбрд╝ рджреЗрдВ рдФрд░ рд╕реНрд╡рддрдГ рдмрдВрдж рд░рджреНрдж рдХрд░ рджрд┐рдпрд╛ рдЬрд╛рдПрдЧрд╛ред
рд╕рдмрд╕реЗ рдЙрдкрдпреЛрдЧреА рдЯрд┐рдкреНрдкрдгреА
@Yottster рдореЗрд░реЗ рдкрд╛рд╕ рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдореЗрдВ рдкрд╣рд▓реЗ рд╕реЗ рд╣реА mfa_serial рд╣реИред рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдореЗрд░реЗ рдмреИрд╢ рдПрдбрдмреНрд▓реНрдпреВрдПрд╕-рдХреНрд▓реА рдХрдорд╛рдВрдб рдХреЗ рд▓рд┐рдП рдЕрдЪреНрдЫреА рддрд░рд╣ рд╕реЗ рдХрд╛рдо рдХрд░ рд░рд╣реА рд╣реИ, рди рдХрд┐ рдкрд╛рд╡рд░рд╣реЗрд▓ рд╕рдВрд╕реНрдХрд░рдгред
@normj рдпрд╣ рд╕реБрдирдХрд░ рдЕрдЪреНрдЫрд╛ рд▓рдЧрд╛ рдХрд┐ рдПрдХ рдкреАрдЖрд░ рд╣реИ! рдЕрднреА рдХреЗ рд▓рд┐рдП рд╡рд░реНрдХрдЕрд░рд╛рдЙрдВрдб рдкреНрд░рдХрд╛рд╢рди рд╕реЗ рдкрд╣рд▓реЗ
Set-AWSCredential -ProfileName profile_name
рд╕рд╛рде рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рд╕реЗрдЯ рдХрд░ рд░рд╣рд╛ рд╣реИ