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

[BUG] Root object was present, but now absent. #549

Open
adieperi opened this issue Nov 13, 2023 · 0 comments
Open

[BUG] Root object was present, but now absent. #549

adieperi opened this issue Nov 13, 2023 · 0 comments

Comments

@adieperi
Copy link

Prerequisites

  • Be sure that theres no open issue already.

Description

When I try to create a KMS key, an error appears. The error is :

Screenshot from 2023-11-13 20-42-23

But I inform you that the key has been created on the KMS, and that there are no problems creating the key via mc or the console.

Steps to Reproduce

Create a tf file with :

resource "minio_kms_key" "k" {
  key_id = "mykey"
}

Use this policy :

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "admin:*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "kms:*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:*"
            ],
            "Resource": [
                "arn:aws:s3:::*"
            ]
        }
    ]
}

Run terraform apply

Expected behavior: [What you expect to happen]
The key is created on the KMS and the information stored in the state file.

Actual behavior: [What actually happens]
The key is created but an error remains

Reproduces how often: [What percentage of the time does it reproduce?]
100%

Versions

Latest tf version
Provider version 2.0.1 and 1.20.0
Latest minio and kes version

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant