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

test_(get/delete)_bucket_encryption_(s3/kms) are expecting error which isn't returned by AWS in default #613

Open
jackyalbo opened this issue Jan 23, 2025 · 0 comments

Comments

@jackyalbo
Copy link

When creating a bucket and immediately after trying to get the bucket_encryption AWS return this default:

aws s3 mb s3://jacky-tmp-bucket --region us-east-1
make_bucket: jacky-tmp-bucket
jackyalbo@jalbo-mac noobaa-operator % aws s3api get-bucket-encryption --bucket jacky-tmp-bucket
{
    "ServerSideEncryptionConfiguration": {
        "Rules": [
            {
                "ApplyServerSideEncryptionByDefault": {
                    "SSEAlgorithm": "AES256"
                },
                "BucketKeyEnabled": false
            }
        ]
    }
}

but the tests for get_bucket_encryption expect: ServerSideEncryptionConfigurationNotFoundError
This is also true after you delete the bucket encryption - the default will be returned and not an Error

@jackyalbo jackyalbo changed the title test_(get/delete)_bucket_encryption_* are expecting error which isn't returned by AWS in default test_(get/delete)_bucket_encryption_(s3/kms) are expecting error which isn't returned by AWS in default Jan 23, 2025
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