Skip to content

Erro in dotnet aws deploy #683

Answered by ashovlin
andreyhlb asked this question in Q&A
Discussion options

You must be logged in to vote

Based on this piece of the stack trace:

/AWS.Deploy.Orchestration/Data/AWSResourceQueryer.cs:line 887
at AWS.Deploy.Orchestration.Data.AWSResourceQueryer.GetDefaultVpc()

Do you happen to be attempting to deploy to an account+region that doesn't have any VPCs?

We have a bug around an incorrect assumption that at least one VPC will always exist in the logic that defaults existing AWS resources into the different option settings.

If that's the case, we have a fix in-progress here - #672

Edit (Jan 2023 update): The stack trace appears to match other reports of deployment failures when deploying to a region without a default VPC. This has been addressed in version 1.2.4. Please comment if you…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashovlin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants