-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Terraform fails to init itself if cli_pager= has set no pager in .aws/config #3756
Comments
@KaibaLopez I am using terraform-provider-aws v3.22 which from here it seems it's using 1.36.x of the go sdk, but I am still getting this:
issue also persists with latest terraform-provider-aws v3.25 |
@dimisjim , |
@KaibaLopez sure here you go:
|
right, so I tried that and it works just fine with the SDK (assuming of course you have a [default] profile in your credentials on the . |
Apparently this issue manifests only when there is no newline at the end of the config file. So this does not work:
but this does work fine:
|
ahhh that would actually make sense with how I tested... I think it's only if
is the last line that causes the fail, the sdk may be looking for a end of line indicator for it to know that cli_pager is empty, in my test I had other profiles after the one I tested so |
I faced the same issue while executing terraform commands. |
We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue. |
bump |
|
Thanks .. it worked! |
This is an old issue, not clear if this is still a problem. If it is please open a new issue on our v2 repo Thanks, |
Comments on closed issues are hard for our team to see. |
Basically explained here: hashicorp/terraform-provider-aws#14450
The text was updated successfully, but these errors were encountered: