Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AwsCli is not accessible #578

Open
bszymik opened this issue Aug 28, 2024 · 1 comment
Open

AwsCli is not accessible #578

bszymik opened this issue Aug 28, 2024 · 1 comment

Comments

@bszymik
Copy link

bszymik commented Aug 28, 2024

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?

@thomhurst
Copy link
Owner

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 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants