https://github.com/USACE/cc-dotnet-sdk/blob/69161b533bccda8cebda62f4bfb60a0657975ea9/Usace.CC.Plugin/AWSConfig.cs#L37 Line 37 should be moved into the block conditioned on the mock environment valuable. It shold not be searched for if mock is false.