-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I recently tried upgrading the client.extensions package from 1.2.0 -> 1.2.1 and suddenly started getting argument null exceptions during dependency injection of the aws service when UseLocalStack is false. It looks like this exception was added in the latest release, but I cannot tell what the reasoning for this breaking change was.
Our code does not make use of the AWS config section in our code and instead relies on the credential chain to either load local profiles or iam roles when deployed. As such we do not pass in AWSOptions with calls to AddAWSServiceLocalStack
Expected Behavior
The requested aws service should be returned if the aws options object is null.
Actual Behavior
ArgumentNullException is thrown.
Steps to Reproduce the Problem
- Use
AddServiceLocalStack<T>without explicitly passing in AWSOptions - ArgumentNullException should be throw when resolving T.
Specifications
- Version: Localstack.Client.Extensions 1.2.1
padelro and Blind-Striker
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working