Giter VIP home page Giter VIP logo

Comments (3)

justinmk3 avatar justinmk3 commented on June 12, 2024

What feature are you trying to use? Amazon Q does not support IAM credentials.

However you can click the "Connect to AWS..." item in "Explorer" to use AWS Explorer for those IAM credentials. If it shows an error, please share the logs (after removing private info).

  1. In VSCode settings, ensure that "aws log level" is "debug".
  2. Perform the steps to reproduce the issue.
  3. Use the AWS: View Toolkit Logs command to get the logs.
  4. Remove any private info from the logs.

from aws-toolkit-vscode.

Aisuko avatar Aisuko commented on June 12, 2024

Hi, there. The explore feature is enough for me. After I configure the ~/.aws/config and ~/.aws/credentials, click the connect to was to get started , and there is nothing change. the log please see below.

The configuration includes region, aws_access_key_id, aws_secret_access_key and aws_session_token which are copied from AWS Academy Learner Lab

2024-03-26 22:10:33 [DEBUG]: command: running "aws.refreshAwsExplorer" with arguments: [
  {
    collapsibleState: 0,
    label: 'Connect to AWS to Get Started...',
    node: {
      resource: '[omitted]',
      id: 'auth',
      onDidChangeTreeItem: [Function (anonymous)]
    },
    command: {
      title: 'Add Connection',
      command: 'aws.auth.manageConnections',
      arguments: '[omitted]'
    },
    tooltip: undefined,
    iconPath: undefined,
    description: undefined,
    contextValue: undefined
  },
  undefined
]
2024-03-26 22:10:33 [DEBUG]: command: running "_aws.auth.autoConnect" with arguments: []
2024-03-26 22:10:33 [DEBUG]: codewhisperer: Connection is valid = false, 
                            connection is undefined = true,
                            secondaryAuth connection expired = false
2024-03-26 22:10:34 [DEBUG]: codewhisperer: Connection is valid = false, 

from aws-toolkit-vscode.

justinmk3 avatar justinmk3 commented on June 12, 2024

Can you try cmd+shift+p and run the AWS: Connect to AWS command directly? It should show a menu like this:

image

from aws-toolkit-vscode.

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.