Skip to content
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

Error Message: The Access Key Id you provided does not exist in our records #440

Open
Moep90 opened this issue Mar 20, 2023 · 5 comments
Open
Labels
question Further information is requested

Comments

@Moep90
Copy link

Moep90 commented Mar 20, 2023

Description

When applying terraform I get

I have double-checked my credentials and verified that they are correct. However, despite my best efforts, I am unable to resolve this issue and gain access to the platform.
I kindly request your assistance in resolving this matter as soon as possible, as I rely on this platform. Please let me know if you require any further information from me.

image

Steps to Reproduce

  1. terraform plan

Expected behavior:
Terraform plans as usual and shows the changes

Actual behavior:

module.s3_infra_metrics.minio_iam_user.this: Refreshing state... [id=minio-buck]
╷
│ Error: [FATAL] error reading IAM User %s: %s (minio-llama): The Access Key Id you provided does not exist in our records.
│ 
│   with module.s3_infra_logs.minio_iam_user.this,
│   on .terraform/modules/s3_infra_logs/main.tf line 10, in resource "minio_iam_user" "this":
│   10: resource "minio_iam_user" "this" {
│ 
╵
╷
│ Error: [FATAL] error reading IAM User %s: %s (minio-buck): The Access Key Id you provided does not exist in our records.
│ 
│   with module.s3_infra_metrics.minio_iam_user.this,
│   on .terraform/modules/s3_infra_metrics/main.tf line 10, in resource "minio_iam_user" "this":
│   10: resource "minio_iam_user" "this" {
│ 

Reproduces how often:
100%

Versions

Not required yet

Additional Information

I tried to fix it using the import but that did not work as well.

$ terraform import module.s3_infra_logs.minio_iam_user.this minio-llama
module.s3_infra_logs.minio_iam_user.this: Importing from ID "minio-llama"...
module.s3_infra_logs.minio_iam_user.this: Import prepared!
  Prepared minio_iam_user for import
╷
│ Error: Resource already managed by Terraform
│ 
│ Terraform is already managing a remote object for module.s3_infra_logs.minio_iam_user.this. To import to this address you must first remove the existing object from the state.
╵

$  terraform state rm module.s3_infra_logs.minio_iam_user.this
Removed module.s3_infra_logs.minio_iam_user.this
Successfully removed 1 resource instance(s).


 terraform import module.s3_infra_logs.minio_iam_user.this minio-llama
module.s3_infra_logs.minio_iam_user.this: Importing from ID "minio-llama"...
module.s3_infra_logs.minio_iam_user.this: Import prepared!
  Prepared minio_iam_user for import
module.s3_infra_logs.minio_iam_user.this: Refreshing state... [id=minio-llama]
╷
│ Error: [FATAL] error reading IAM User %s: %s (minio-llama): The Access Key Id you provided does not exist in our records.
│ 
│ 
╵
@BuJo
Copy link
Collaborator

BuJo commented Apr 6, 2023

This seems to be an error message from minio itself.

  • Are you using the correct user to connect to minio?
  • Does the same user/password combination work when using mc?
  • How do you set the user/password when connecting to the minio instance? (environment variables, inside .tf files, ...)
  • You could try sniffing the network if there is an unencrypted part in the communication
  • ...

@BuJo BuJo added the question Further information is requested label Apr 6, 2023
@BuJo
Copy link
Collaborator

BuJo commented May 6, 2023

I hope you managed to fix your problem. If it persists, you can reopen with more information.

@BuJo BuJo closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2023
@Moep90
Copy link
Author

Moep90 commented May 6, 2023

I did not get to try it again.

@Moep90
Copy link
Author

Moep90 commented Jun 29, 2023

@BuJo The issue still persists with the lates version.

terraform --version
Terraform v1.5.1
on linux_amd64
+ provider registry.terraform.io/aminueza/minio v1.15.2
[...]
$ mc alias set myminio https://xyz.example.com <myAK> <mySK>
Added `myminio` successfully.
$ mc admin info myminio
●  minio-0.minio-headless.minio.svc.cluster.local:9000
   Uptime: 2 months 
   Version: 2023-04-20T17:56:55Z
   Network: 4/4 OK 
   Drives: 1/1 OK 
   Pool: 1
[....]

@Moep90
Copy link
Author

Moep90 commented Jul 17, 2023

@BuJo would you please reopen this issue?

@felladrin felladrin reopened this Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants