ModularPipelines
ModularPipelines copied to clipboard
AwsCli is not accessible
In below code, there is AwsCli but it is missing in IAmazon
using ModularPipelines.AmazonWebServices.Services;
namespace ModularPipelines.AmazonWebServices;
internal class Amazon : IAmazon
{
public Amazon(IAmazonProvisioner provisioner, Aws awsCli)
{
Provisioner = provisioner;
AwsCli = awsCli;
}
public IAmazonProvisioner Provisioner { get; }
public Aws AwsCli { get; }
}
therefore it is not possible to use AwsCli e.g. in such way:
context.Amazon().AwsCli.S3api. ...
or there is some other way that I missed?
In below code, there is AwsCli but it is missing in IAmazon
using ModularPipelines.AmazonWebServices.Services; namespace ModularPipelines.AmazonWebServices; internal class Amazon : IAmazon { public Amazon(IAmazonProvisioner provisioner, Aws awsCli) { Provisioner = provisioner; AwsCli = awsCli; } public IAmazonProvisioner Provisioner { get; } public Aws AwsCli { get; } }therefore it is not possible to use AwsCli e.g. in such way:
context.Amazon().AwsCli.S3api. ...or there is some other way that I missed?
Yeah that's an oversight on my part. The Amazon library doesn't really do much at the moment. If you've experience with it, feel free to help expand it 😃