* Add Goreleaser configuration.
* Add GitHub Action for release workflow.
* Add release overview to README.
* Run tests with same version used to build the provider.
* adding Container Registry support
* adding endpoint and docker_credentials as attributes to datasource
* updating documentation on how to use the endpoint attribute
* adding a server_url attribute
* adding tests, exporting attributes from resources, fixing go.sum, updating docs
* adding update function and splitting out generateDockerCreds into a separate function
* updating acceptance tests and docs
* Update website/docs/d/container_registry.html.md
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Update website/docs/d/container_registry.html.md
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Update website/docs/d/container_registry.html.md
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* adding kubernetes example
* adding note about container registry beta
* removing TODOs
* partial push
* almost done, odd error in import test and waiting for final default value
* setting default for expiry_seconds and creating custom importer
* creating new resource for docker credentials
* fixed tiny bug in testing
* Update website/docs/r/container_registry_docker_credentials.html.markdown
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Update website/docs/r/container_registry_docker_credentials.html.markdown
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* Final tweaks as requested
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* import S3 data sources
* change names to DO, strip out most unsupported features
* use spaces client; now compiles
* tests use spaces client
* initial rename of attributes in tests
* add region attribute to digitalocean_spaces_bucket_objects
* validation on region and bucket attributes
* rename files to match file naming conventions
* first attempt at working tests
* more work on tests
* remove unsupported tags attribute
* just check if version_id exists, doesn't match AWS impl
* update test resources for test of digitalocean_spaces_bucket_objects
* add force_destroy to bucket
* docs as is from AWS provider
* first pass at adapting the docs
* adjust example to be a Droplet not a EC2 instance
* more S3 -> Spaces in docs
* conform encoding test to Spaces output
* Spaces does not support ListObjectsV2 API, switch away
* update docs
* Update docs.
Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
* load balancers: Fix support for multiple forwarding rules (fixes: #414).
* Remove debug statement.
* Also add multi-rule test case to the data source.
* checkpoint
* fix digitalocean_spaces_bucket datasource + test
* do not try to delete empty IDs
* add comment about race condition
* fix import ordering
* add digitalocean_spaces_buckets data source
* switch to use flattenSpacesBucket in data source
* update docs
* Fix sort example for data.digitalocean_spaces_buckets
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>
* Initial work on VPC supprt.
* Add VPC data source.
* Additional test cases.
* Droplet updates for VPC support.
* Kubernetes updates for VPC support.
* Load balancer updates for VPC support.
* Retry on 403 errors in delete method to prevent race condition with database cluster deletion.
* DBaaS updates for VPC support.
* Add docs on VPC resource and data source.
* Update docs for related resources.
* Clean up.
* Bump godo to v1.34.0.
* Update with ip_range and description fields.
* Update re: private_networking atribute.
* Update vpc docs to say smaller than /24 not supported.
* 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>
* digitalocean_spaces_bucket: support bucket versioning
* document versioning argument
* remove debugging code
* Update digitalocean/resource_digitalocean_spaces_bucket.go
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
* test that removing the versioning block will disable versionin
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>