-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
datasource "ami" failed to render template when using aws config with profile using "sso_session" parameter. #1891
Comments
Hi @steffakasid - sorry for the delay. I presume you're setting I wonder if this is a bug with the SDK - unfortunately gomplate's using a fairly old version of it even in the Perhaps you could build from Also - what is the full commandline? In particular, how is the |
HI @hairyhenderson, I'll try to build the main branch with the latest version later and let you know if that work. I also think that this is a bug in the aws go sdk. I use it in one of my projects and there everything works fine... The datasource and command run is the follwing:
Kind Regard |
Do you think it would be easily possible to switch to https://aws.github.io/aws-sdk-go-v2/docs/migrating/ looks like especially the handling of configuration changed. |
I was wrong. I missed to change my |
This issue is stale because it has been open for 60 days with no If it's still relevant, one of the following will remove the stale
|
Not stale. |
@steffakasid FYI there's a 4.0 prerelease available now - can you test it out and see if that solves this issue? |
Sure i'll take a look tomorrow at work. |
It looks like this is still an issue even with aws-sdk-go-v2. I'll create an issue there: aws/aws-sdk-go#5153 |
Hrm... One other thing you could test, which might rule out something gomplate is doing, is try with the example $ fscli -base-url=aws+smp:///eks/1.27/image_id ls |
the aws+smp stuff is working fine. When I change back my .aws/config I can run the template with gomplat v4 |
This issue is stale because it has been open for 60 days with no If it's still relevant, one of the following will remove the stale
|
Hi,
I have a '~/aws' config file which looks like
This works fine with
aws cli
andkubectl
. Unfortunately when I use gomplate I get the following error:I'm using the ami datasource like
{{- $amiID := (datasource "ami").Value -}}
gomplate version is gomplate version 3.11.5`.
This might be an issue of https://github.com/aws/aws-sdk-go. So not sure if this is here the right place. If not please let me know.
Kind regards
Steffen
The text was updated successfully, but these errors were encountered: