<!-- Love localstack? Please consider supporting our collective:
👉  https://opencollective.com/localstack/donate -->

Hi there.

I'm having an issue when using terraform to deploy resources into a running instance of localtack.
This happens when I start localstack from a `docker-compose` file using the `localstack/localstack:latest` image and also running `localstack start`. I'm using Terraform 0.12 and the following `.tf` file:

```
variable "prefix" {}
variable "region" {}

terraform {
  required_version = ">= 0.12"
  backend "local" {
  }
}

provider "aws" {
  region                        = var.region
  skip_credentials_validation   = true
  skip_metadata_api_check       = true
  skip_region_validation        = true
  s3_force_path_style           = true

  endpoints {
    s3 = "http://localhost:4572"
  }
}

resource "aws_s3_bucket" "test-bucket" {
  acl    = "public-read"
  bucket = "${var.prefix}-${terraform.workspace}-sample-bucket"
  force_destroy = true
}
```

Executing `tf init`, `tf plan` and `tf apply` passing the necessary variables creates the bucket with no problem. The second time I run `tf apply` with no changes to our `.tf` file, terraform tells me that it needs to refresh state to the following:

```
Terraform will perform the following actions:

  # aws_s3_bucket.test-bucket will be updated in-place
  ~ resource "aws_s3_bucket" "test-bucket" {
        acl                         = "public-read"
        arn                         = "arn:aws:s3:::anz-pos-default-sample-bucket"
        bucket                      = "anz-pos-default-sample-bucket"
        bucket_domain_name          = "anz-pos-default-sample-bucket.s3.amazonaws.com"
        bucket_regional_domain_name = "anz-pos-default-sample-bucket.s3.ap-southeast-2.amazonaws.com"
        force_destroy               = true
        hosted_zone_id              = "Z1WCIGYICN2BYD"
        id                          = "anz-pos-default-sample-bucket"
        region                      = "ap-southeast-2"
        tags                        = {}

      - object_lock_configuration {
        }

      - replication_configuration {
        }

      - server_side_encryption_configuration {
        }

        versioning {
            enabled    = false
            mfa_delete = false
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.
```

Why do `object_lock_configuration`, `replication_configuration` and `server_side_encryption_configuration` need to be removed?

I'm posting this issue here, since I can't replicate the error when using an actual AWS account as a remote AWS provider, so I'm assuming this may be something I'm doing wrong with Localstack.
if should_send_notifications:
            
            if key:
                object_path = '/' + key
            elif bucket_name_in_host:
                object_path = parsed.path
            else:
                parts = parsed.path[1:].split('/', 1)
                object_path = parts[1] if parts[1][0] == '/' else '/%s' % parts[1]
            version_id = response.headers.get('x-amz-version-id', None)
            send_notifications(method, bucket_name, object_path, version_id)
        
        if method in ('PUT', 'DELETE') and ('/' not in path[1:] or len(path[1:].split('/')[1]) <= 0):
            event_type = (event_publisher.EVENT_S3_CREATE_BUCKET if method == 'PUT'
                else event_publisher.EVENT_S3_DELETE_BUCKET)
            event_publisher.fire_event(event_type, payload={'n': event_publisher.get_hash(bucket_name)})
        
        if method == 'PUT' and parsed.query == 'policy':
            response._content = ''
            response.status_code = 204
            return response
        
        if method == 'GET' and response.status_code == 404 and parsed.query != 'website':
            s3_client = aws_stack.connect_to_service('s3')
            try:
                
                s3_client.head_bucket(Bucket=bucket_name)
                website_config = s3_client.get_bucket_website(Bucket=bucket_name)
                error_doc_key = website_config.get('ErrorDocument', {}).get('Key')
                if error_doc_key: