Skip to content

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

@jackyalbo

Description

@jackyalbo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions