Questions tagged [aws-config]

AWS config provides a detailed view of the resources associated with your AWS account, including how they are configured, how they are related to one another, and how the configurations and their relationships have changed over time.

AWS Config documentation

124 questions
113
votes
7 answers

How Do I Clear The Credentials In AWS Configure?

I have deleted the AWS credentials in sudo nano ~/.aws/config. But, the credentials are still in aws configure. Is there a way to reset aws configure with clear state?
ultraInstinct
  • 4,063
  • 10
  • 36
  • 53
95
votes
16 answers

Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

When I am trying to load AWS credentials in my project it gives back an error. When using credentials in plain text everything works good but when I am trying to use environment variables it's not working. Error message. : Missing credentials in…
singh singh
  • 963
  • 1
  • 6
  • 10
11
votes
5 answers

couldn't get current server API group list: the server has asked for the client to provide credentials error: You must be logged in to the server

I created the eks cluster trying to connect it with local cli, for that, I installed the aws-cli and also provide the right 'aws configure' credentials. The user which I am using to connect with the aws have the EKS related policy. Still I am…
dave vedant
  • 329
  • 2
  • 4
  • 11
5
votes
1 answer

AWS Config - Resource discovery stuck on "Your resources are being discovered"

My company has 2 AWS accounts. On the first (lets call it playground), I have full administrative permissions. On the second (lets call it production) I have limited IAM permissions I enabled AWS Config (using the terraform file on the appendix) on…
5
votes
0 answers

AWS API Gateway giving UnknownOperationException on integrating with other AWS services

I am trying to put AWS API Gateway in front of the AWS Config service. Primarily to allow access on AWS Config service data to the wider audience without having them onboard on to the AWS ecosystem. The specific action which I am trying to access is…
5
votes
3 answers

AWS config service - implement rule in all regions

I need to ensure policy compliance in AWS (e.g. Security Groups). I have done the same using AWS config service and lambda function. However - AWS config service is region specific so rule will need to be defined in all regions. This makes it…
dip
  • 75
  • 1
  • 5
4
votes
1 answer

How can I break apart a GraphQL Schema into multiple files in AWS-CDK (SST -> AppSyncApi)

In the SST AppSyncApi it is clearly mentioned that schema can have type of string | string[], but when i am useing an array of graphql schema source as string i am getting this error Getting this error becouse of multiple graphql source in Stack…
Sonu Kumar
  • 61
  • 1
  • 5
3
votes
0 answers

Can't access Elastic Beanstalk Configuration: A problem occurred while loading your page: Configuration validation exception: Invalid option value

My application is running on Elastic beanstalk AL2 with docker. It is still up and running, this issue is not user facing and only internal to AWS. I upgraded to AL2 about 7 months ago and there were no problems. Recently I logged into to Elastic…
3
votes
1 answer

How to delete aws config dashboard?

I have created dashboard and rules. I am not able to find the option for removing the dashboard. Rules i have deleted. Can anyone put forth his thought on that? recording- view When i tried to delete the associated roles it says this iAM Roles…
zille_elahi
  • 39
  • 1
  • 4
3
votes
2 answers

"Parameter values specified for a template which does not require them." when trying to deploy a conformance pack via AWS cloudformation

I am working on a proof of concept for deploying a conformance pack via AWS cloudformation and I am stumped by the error "Parameter values specified for a template which does not require them." The config rule I am using does require a parameter.…
3
votes
1 answer

AWS STS Assume Role - InvalidClientTokenId: The security token included in the request is invalid

I am trying to assume an IAM role using aws-sdk as so... var sts = new AWS.STS(); sts.assumeRole({ RoleArn: 'arn:aws:iam::xxxxxx:root', RoleSessionName: 'awssdk' }, function(err, data) { if (err) { // an error occurred console.log('Cannot…
buydadip
  • 8,890
  • 22
  • 79
  • 154
3
votes
1 answer

AWS route table export detail to CSV

I need to export my route table detail to CSV. The goal is to load the CSV to a graphDB. What I need is the RoutetableID, CIDR block, Gateway and associated Subnet list as a CSV table. Would like to automate this as much as I can since I have…
sirocco
  • 31
  • 4
2
votes
2 answers

How to reset AWS CLI credentials

I created a user in IAM service. and then I entered AWS configure command and entered user access key and secret key and region correctly. but the default account is not changing according to entered details. after that, I deleted .aws/credentials…
2
votes
1 answer

AWS ConfigService- how to append account IDs

I am trying to append the list of account Ids since I don't have access to organization, but whenever i am doing it, previous accounts get replaced with new account ID and i only want to append them. Please let me know how to do it. aws…
AniK
  • 55
  • 8
2
votes
0 answers

AWS retrieve parameter store value , CredentialsError: Missing credentials in config

On Angular/Typescript trying to retrieve the value from Parameter Store on AWS based on its name. Error message: ERROR Error: Uncaught (in promise): CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set…
1
2 3
8 9