You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Older versions of terraform does not support AWS CLI v2 (that uses .aws/cli/cache), rather uses .aws/credentials file. However AWS SSO login through Leapp only updates the .aws/cli/cache file with temporary credentials.
Describe the solution you'd like
Copy credentials from .aws/cli/cache into .aws/credentials file
Describe alternatives you've considered
Manually copy paste credentials from .aws/cli/cache file to .aws/credentials
Additional context
While newer terraform AWS provider works with .aws/cli/cache, older versions do not work - hashicorp/terraform-provider-aws#10851 . Many companies still use older terraform, so this would help all of us!
The text was updated successfully, but these errors were encountered:
Leapp store the access token of AWS Single Sign-On in an encrypted file and then generate only temporary credentials in the ~/.aws/credentials file, which is automatically rotated by the App.
By doing so, every short-lived credential generated by Leapp is fully compatible with every version of Terraform, and every other tool
Is your feature request related to a problem? Please describe.
Older versions of terraform does not support AWS CLI v2 (that uses .aws/cli/cache), rather uses .aws/credentials file. However AWS SSO login through Leapp only updates the .aws/cli/cache file with temporary credentials.
Describe the solution you'd like
Copy credentials from .aws/cli/cache into .aws/credentials file
Describe alternatives you've considered
Manually copy paste credentials from .aws/cli/cache file to .aws/credentials
Additional context
While newer terraform AWS provider works with .aws/cli/cache, older versions do not work - hashicorp/terraform-provider-aws#10851 . Many companies still use older terraform, so this would help all of us!
The text was updated successfully, but these errors were encountered: