* upgrade terraform-plugin-sdk and `go mod vendor`
* Update digitalocean/datasource_digitalocean_image_test.go
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Update digitalocean/datasource_digitalocean_kubernetes_cluster_test.go
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Update digitalocean/datasource_digitalocean_vpc_test.go
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Update digitalocean/datasource_digitalocean_vpc_test.go
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* go fmt
* fix droplet_id to be of the right type
* fix digitalocean_project resource
* fix creation order in digitalocean_certificate test
* fix digitalocean_container_registry data source tes
* Port new changes to v2.
* Port all tests to resource.ParallelTest
* Fix KubernetesProviderInteroperability test.
* Fix TestAccDigitalOceanKubernetesCluster_UpgradeVersion
* Fix firewall panic s/create_at/created_at/
* Fix TestAccDigitalOceanDroplet_Basic: Droplets now have private networking by default.
* Fix TestAccDataSourceDigitalOceanDomain_Basic
* Fix TestAccDataSourceDigitalOceanDropletSnapshot tests.
* Fix TestAccDataSourceDigitalOceanSSHKey_Basic
* Fix TestAccDataSourceDigitalOceanVolumeSnapshot tests.
* Fix TestAccDataSourceDigitalOceanVolume tests.
* Fix TestAccDataSourceDigitalOceanRecord_Basic
* Fix TestAccDataSourceDigitalOceanProject_NonDefaultProject
* Fix TestAccDigitalOceanImage_PublicSlug
* Fix TestAccDataSourceDigitalOceanImages_Basic via bug in imageSchema()
* go mod tidy
* Fix TestAccDataSourceDigitalOceanDroplet tests.
* Fix TestAccDataSourceDigitalOceanVPC_ByName
* Fix TestAccDataSourceDigitalOceanTag_Basic
* Fix TestAccDataSourceDigitalOceanTags_Basic
* Ensure versions are set in DBaaS tests.
* Fix TestAccDataSourceDigitalOceanApp_Basic
* Fix non-set related issues with TestAccDataSourceDigitalOceanLoadBalancer tests.
* Fix TestAccDataSourceDigitalOceanKubernetesCluster_Basic
* Remove testAccDigitalOceanKubernetesConfigWithEmptyNodePool: Empty node pools are no longer supported.
* Fix TestAccDigitalOceanProject_WithManyResources.
* Fix TestAccDigitalOceanProject_UpdateFromDropletToSpacesResource
* vendor set helpers from AWS provider
* Fix TestAccDigitalOceanFloatingIP_Droplet.
* Fix CDN panic.
* fix TestAccDigitalOceanSpacesBucket_LifecycleBasic using setutil helpers
* vendor set helpers from AWS provider
* fix TestAccDigitalOceanSpacesBucket_LifecycleBasic using setutil helpers
* Fix load balancer tests using setutil helpers.
* Fix K8s tests using setutil helpers.
* Fix TestAccDigitalOceanApp_Envs using setutil helpers.
* Fix TestAccDigitalOceanSpacesBucket_LifecycleExpireMarkerOnly using setutil helpers.
* Fix TestAccDigitalOceanFloatingIPAssignment_createBeforeDestroy
* fix remaining TypeSet tests using setutil
* Registry test can not run in parallel. One per account.
* Fix TestAccDigitalOceanProject_UpdateWithDropletResource
* Fix replica tests.
* go mod tidy
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
* 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>