LocalStack support for .NET Aspire.
$ dotnet add package Altemiq.Aspire.Hosting.LocalStackAdds LocalStack as a local resource to simulate AWS services.
In your AppHost project, install the Altemiq .NET Aspire LocalStack Hosting library with NuGet:
dotnet add package Altemiq.Aspire.Hosting.LocalStack
Then, in the AppHost.cs file of AppHost, add a LocalStack resource using the following methods:
var localstack = builder
.AddLocalStack("localstack", regionEndPoint: Amazon.RegionEndpoint.APSoutheast2, services: LocalStackServices.Community.SimpleStorageService)
.WithDataVolume();
*LocalStack logo from localstack github user.