Giter Club home page Giter Club logo

Comments (10)

vhuhtine avatar vhuhtine commented on May 13, 2024 3

AWS_PROFILE is working for us.
Have you tried with AWS_SDK_LOAD_CONFIG=1 ?

from fargatecli.

adesaegher avatar adesaegher commented on May 13, 2024 1

I will have some more try tomorrow and i will keep you updated.
Thanks a lot,
Alexis

from fargatecli.

jpignata avatar jpignata commented on May 13, 2024

Hmm, odd, I just tested it and it's working for me. What version are you using?

from fargatecli.

jpignata avatar jpignata commented on May 13, 2024

One thing just occurred to me - some older versions of the CLI keep credentials in ~/.aws/config, while the SDK and later versions of the CLI keep credentials in ~/.aws/credentials. The CLI is backwards compatible, but the Golang SDK is not. Can you confirm your profile is defined in ~/.aws/credentials and if not move those credentials into it?

from fargatecli.

jpignata avatar jpignata commented on May 13, 2024

Hi! I'm going to close this for now - but if you're still seeing this issue feel free to re-open.

from fargatecli.

adesaegher avatar adesaegher commented on May 13, 2024

Hi sorry for the delay.
The version i use is this one:
fargate version 0.2.3
I am using the file ~/.aws/credential
I have 2 accounts configured in those credentials. The master one and an other with source_profile and role_arn defined. I use AWS_PROFILE to use the second one.
I will make some more tests this week and keep you informed.
Thanks a lot for your reactivity :)

from fargatecli.

jpignata avatar jpignata commented on May 13, 2024

Hmm - bummer - so the profile you're trying to assume has role_arn and source_profile defined? If so, I'm not sure the Go SDK supports that currently.

from fargatecli.

adesaegher avatar adesaegher commented on May 13, 2024

I will have some more try tomorrow and i will keep you updated.
Thanks a lot,
Alexis

from fargatecli.

adesaegher avatar adesaegher commented on May 13, 2024

Hi,
I made some more tries but i did not succeed.
As you said if the sdk does not support it, it seems "normal".
Thanks for your help!

from fargatecli.

rsteube avatar rsteube commented on May 13, 2024

For me it fails to load the correct region from the config file which seems to be caused by https://github.com/jpignata/fargate/blob/master/cmd/root.go#L120 (explicitly set).

from fargatecli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.