* adapt lifecycle_rule code from aws_s3_bucket
commented out tags code
* copy in acceptance tests w/ minimal adapation
* fix rebasing conflict
* more renaming and removal of unsupported features
* remove tags from tests
* remove more storage classes
* import did not work since default region not set during import
* remove storage class related attributes
* add warning about keys starting with /
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* remove duplicate definition of isAWSError due to merge conflict
* add abort_incomplete_multipart_upload_days test plus some cleanups
* refactor setup of S3 client in tests
* another region fix
* document lifecycle_rule
* remove debugging logs statements
* remove moot method (since transitions were removed)
* remove TestAccDigitalOceanSpacesBucket_LifecycleRule_Expiration_EmptyConfigurationBlockw
* add AtleastOneOf config for expiration arguments
* Revert "add AtleastOneOf config for expiration arguments"
This reverts commit c70557be53de67ec9a4063e4fa858e375c9fe5a5.
Doesn't seem to work in sub-arguments
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* add from AWS provider
* rename functions for digitalocean use
* strip out features not supported by DigitalOcean
* import test file from AWS provider
* get acceptance tests to compile
* remove test sweeper since digitalocean provider is not setup for it
* use digitalocean_spaces_bucket.name (.bucket is what aws uses)
* switch back to earlier version of isAWSErr which works on earlier Go
* add docs for the resource
* remove moot comment
* rename S3 -> Spaces in log messages
* rename more methods from AWS S3 naming
* use constant for test region
* handle buckets not being removed
* get tests to compile again, remove most storage class tests
* fix resource name in test
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* remove terraform-provider-aws as a dependency
* fix typo
* fix bucket name
* remove checks for object lock attributes
* set force_destroy on all digitalocean_spaces_bucket resources in tests
* remove unused functions
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>