AWS C# Part 2 - Creating first Lambda

  Рет қаралды 17,372

Full-Stack Dev

Full-Stack Dev

Күн бұрын

Пікірлер: 26
@anshulverma9836
@anshulverma9836 4 жыл бұрын
I'm getting error while deploying 'not authorized to perform: iam:CreateRole on resource'
@Sonny0276
@Sonny0276 5 жыл бұрын
Great Video. Thank you for posting.
@mikimikis420
@mikimikis420 4 жыл бұрын
Where i need to specify in the project\publish cmd, what is my user\pass? or in another words, how it knows to which account of AWS to publish the api.
@FullStackDev
@FullStackDev 4 жыл бұрын
If you have the AWS toolkit installed, you will see a tab in visual studio where you can configure the credentials. Also you can type AWS configure in cmd, you will need to pass user id and secret which can be found in AWS console, under your profile
@MrAbugaarith
@MrAbugaarith 4 жыл бұрын
I get an error - Warning unable to determine the region for bucket inventory-x...then A socket operation was attempted to an unreachable network
@joelleon8712
@joelleon8712 4 жыл бұрын
i had an error, when trying to run the command dotnet, i have aws cli installed Failed to run because the specified command or file was not found. Some of the possible causes are: * You misspelled an integrated dotnet command. * You tried to run a .NET Core program, but dotnet-lambda does not exist. * You plan to run a global tool, but an executable with dotnet prefix with this name was not found in the PATH.
@dark666link
@dark666link 4 жыл бұрын
Maybe this can help you: Run dotnet tool install -g Amazon.Lambda.Tools
@vivekgowda1576
@vivekgowda1576 3 жыл бұрын
@@dark666link Thank you. It works for me
@AmitKumar-nk9xr
@AmitKumar-nk9xr 4 жыл бұрын
Good one.. Thanks..... Okay :)
@mikimikis420
@mikimikis420 4 жыл бұрын
hey, i got a problem when i type "dotnet lambda deploy-serverless -cfg aws-lambda-tools-defaults.json -pcfg true" its return me red error: could not execute because the specified command or file was not found. possible reasons for this include: *you misspelled a built-in dotnet command. *you intended to execute a .NET Core program, but dotnet-lambda does not exist, *you intended to run a global tool. but a dotnet-prefixed executable with this name could not be found on the PATH. i try to run this command: dotnet tool install --global dotnet-ef and then rerun the previous, did not help, got the same error. thanks
@FullStackDev
@FullStackDev 4 жыл бұрын
Hey! First what you can try is to type dotnet -version. If it also returns the same error it means that you don’t have installed .NET core on your machine, or you don’t have added it to PATH environment variable.
@mikimikis420
@mikimikis420 4 жыл бұрын
​@@FullStackDev did not get an error. got all the details after running dotnet --version command. 3.1.0 In the PATH variable i have this: C:\Users\miki\.dotnet\tools UPDATE: found the solution, need to run this command: dotnet tool install -g Amazon.Lambda.Tools
@oleksiiriabyshev6069
@oleksiiriabyshev6069 4 жыл бұрын
@@mikimikis420 I've got the same error. Your solution works fine for me. Thanks.
@calendil
@calendil 3 жыл бұрын
@@mikimikis420 Thank you for sharing your solution, it worked for me too!
@Cristian020591
@Cristian020591 3 жыл бұрын
@@mikimikis420 Thanks.
@TheKIXX123
@TheKIXX123 5 жыл бұрын
Sorry i got a problem when i type: "dotnet lambda deploy-serverless -cfg aws-lambda-tools-defaults.json -pcfg true" I got the error called: " No executable file found for the "dotnet-lambda" command." Could you help ???
@FullStackDev
@FullStackDev 5 жыл бұрын
Hey! Checkout the post here on github: github.com/aws/aws-extensions-for-dotnet-cli/issues/88 Generally you need to add dotnet tools to PATH environment variable. Let me know if it worked for you! :)
@TheKIXX123
@TheKIXX123 5 жыл бұрын
@@FullStackDev It works thank you !!!!
@g0gEN
@g0gEN 3 жыл бұрын
Also you can run "dotnet tool install -g Amazon.Lambda.Tools" in shell
@vk-pr7yg
@vk-pr7yg 4 жыл бұрын
I am getting Error while uploading "A socket operation was attempted to an unreachable host"
@aasthapathak242
@aasthapathak242 4 жыл бұрын
Does it get resolved by any means??
@johnm287
@johnm287 3 жыл бұрын
Getting the following error when running the "dotnet lambda..." command: Error uploading to InventoryManager/Get-CodeUri-Or-ImageUri-637582226717726242-637582226753291125.zip in bucket inventory-manager-bucket-jm: Value cannot be null. Parameter name: Options property cannot be empty: ClientName I was able to get the serverless script to run by right clicking on the project in VS and selecting "Publish to AWS Lambda"
@vuralmecbur9958
@vuralmecbur9958 4 жыл бұрын
wow, the constant emphasis on every word is disturbing.
@rizwanyousaf4667
@rizwanyousaf4667 4 жыл бұрын
I'm getting error while deploying 'not authorized to perform: iam:CreateRole on resource'
AWS C# Part 3 - RDS Setup
13:41
Full-Stack Dev
Рет қаралды 7 М.
AWS S3 Tutorial For Beginners
27:18
Be A Better Dev
Рет қаралды 253 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 1,8 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 197 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 29 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
AWS Lambda with C#
12:37
dotnetsheff
Рет қаралды 9 М.
AWS C# Part 1 - Getting started
4:56
Full-Stack Dev
Рет қаралды 12 М.
Create a Serverless .NET Core 2.1 Web API with AWS Lambda
17:57
Daniel Donbavand
Рет қаралды 71 М.
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 81 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 1,8 МЛН