Comments (10)
AWS_PROFILE is working for us.
Have you tried with AWS_SDK_LOAD_CONFIG=1 ?
from fargatecli.
I will have some more try tomorrow and i will keep you updated.
Thanks a lot,
Alexis
from fargatecli.
Hmm, odd, I just tested it and it's working for me. What version are you using?
from fargatecli.
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.
Hi! I'm going to close this for now - but if you're still seeing this issue feel free to re-open.
from fargatecli.
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.
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.
I will have some more try tomorrow and i will keep you updated.
Thanks a lot,
Alexis
from fargatecli.
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.
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)
- Link to CircleCi build is broken HOT 1
- Question: Support for running multiple containers within a single task? HOT 4
- Create lb with http and https HOT 1
- On going project development & support HOT 5
- ECS Fargate support for EFS HOT 2
- Ability to stop service task by id
- fargatecli to support the China region HOT 1
- Circle CI tag at master readme does not render
- fargate service list is not show the result when it has more 20 services.
- Fargate cli not working
- Fargate CLI versus Copilot CLI? HOT 2
- Allow passing arguments to docker HOT 1
- Env variables cannot contain comma in the value HOT 1
- version 0.3.1 returning v0.3.0 with --version HOT 3
- `fargate service env set` triggers a deploy HOT 1
- service deploy deletes secrets array values
- default region cannot be changed HOT 1
- Create new release automation
- Create new documentation page HOT 1
- New install instructions needed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fargatecli.