BUG FIXES:
- #1148 - @danaelhe - Apps: Mark registry_credentials as optional
IMPROVEMENTS:
- #1139 - @linuxluigi - Add PostgreSQL configuration resource and test
- #1133 - @asaha2 - Add config options for global load balancers
BUG FIXES:
- #1127 - @danaelhe - Load Balancer: Deprecate "algorithm" attribute
MISC:
- #1128 - @danaelhe - Update database_firewall example
- #1125 - @dependabot[bot] - build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0
- #1137 - @andrewsomething - apps: included registry_credentials option for images
IMPROVEMENTS:
- #1115 - @guptado - [NETPROD-3585] Optimised fetching certificates by name
BUG FIXES:
- #1116 - @andrewsomething - certificates: handle missing certificate.
- #1119 - @andrewsomething - uptime alerts: fix importing existing alerts
MISC:
- #1120 - @andrewsomething - docs: apps can be added to projects.
IMPROVEMENTS:
- #1113 - @danaelhe - Apps: Support Project Assignment
- #1109 - @andrewsomething - apps: Add GHCR as a supported registry type.
- #1103 - @dweinshenker - Support scalable storage settings separately for read-replica vs. primary
- #1102 - @moreinhardt - database: Add access_cert and access_key for kafka users
BUG FIXES:
- #1100 - @danaelhe - uptime_alert: 1hr -> 1h
MISC:
- #1111 - @andrewsomething - droplet: Document and warn that enabling IPv6 requires OS-level config changes.
- #1108 - @andrewsomething - redis config: allow setting timeout to 0
- #1105 - @danktec - Force replacement if user tries to disable IPv6 on a droplet
BUG FIXES:
digitalocean_cdn
: handle 'needs-cloudflare-cert' case in read func (#1095). - @andrewsomethingdigitalocean_database_cluster
: ignore seconds in maintenance_window.hour (#1094). - @andrewsomething- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#1096). - @dependabot[bot]
IMPROVEMENTS:
digitalocean_database_user
: Support updating ACL settings (#1090). - @dweinshenker
BUG FIXES:
digitalocean_cdn
: Add Support for "needs-cloudflare-cert" (#1089). - @danaelhedigitalocean_spaces_bucket
: blr1 is a supported region (#1085). - @andrewsomethingdigitalocean_database_kafka_topic
: Kafka topic + user ACL management doc fixes (#1082). - @dweinshenker
IMPROVEMENTS:
- #1073 - @T-jegou - Add
digitalocean_database_connection_pool
datasource
BUG FIXES:
- #1078 - @nemcikjan - fix: added missing option to set port on health_check
- #1076 - @dweinshenker - Remove unclean_leader_election_enable for kafka topic configuration
- #1080 - @danaelhe - Apps: Reference Port in expandAppHealthCheck and flattenAppHealthCheck
- #1074 - @T-jegou - Fixing Case Handling for Volume Resource
IMPROVEMENTS:
digitalocean_app
: Supportfeatures
in App spec (#1066). - @T-jegoudigitalocean_database_user
: Add support for Kafka Topic User ACL management (#1056). - @dweinshenkerdigitalocean_kubernetes_cluster
: Support enabling HA post-create (#1058). - @andrewsomething
BUG FIXES:
digitalocean_loadbalancer
: ignore 404 on delete (#1067). - @andrewsomethingdigitalocean_database_mysql_config
: Use GetOkExists for bools (#1063). - @andrewsomethingdigitalocean_kubernetes_cluster
: Handle error from GetCredentials and protect against panic (#1064). - @andrewsomething
MISC:
provider
: Bump godo to v1.105.1 (#1071). - @andrewsomethingprovider
: bump google.golang.org/grpc from 1.53.0 to 1.56.3 (#1057). - @dependabot[bot]
FEATURES:
- New Resource:
digitalocean_database_kafka_topic
(#1052) - @dweinshenker - New Resource:
digitalocean_database_mysql_config
(#1051) - @kallydev - New Resource:
digitalocean_database_redis_config
(#1037) - @andrewsomething
IMPROVEMENTS:
digitalocean_database_cluster
: Add support for Scalable Storage (#1054). - @dweinshenkerdigitalocean_app
: Add support for ingress for component routing, rewrites, and redirects (#1053). - @andrewsomethingdigitalocean_loadbalancer
: Add support type param (#1023). - @asaha2
BUG FIXES:
digitalocean_loadbalancer
: no region field needed for global lb type (#1046). - @apinonformosodigitalocean_loadbalancer
: Parse nil region for global lb (#1043). - @asaha2digitalocean_app
: Rework deployment logic (#1048). - @davidsbonddigitalocean_spaces_bucket
: set force_destroy false on import (#1041). - @andrewsomething
MISC:
build(deps)
: bump golang.org/x/net from 0.14.0 to 0.17.0 (#1050). - @dependabot[bot]docs
: Clarify Database Docs for Referencing DB Replicas (#1045). - @danaelhetesting
: Use terrafmt on docs directory (#1036). - @andrewsomethingdocs
: Update Droplet example (#1035). - @danaelhe
FEATURES:
- New Resource:
digitalocean_spaces_bucket_cors_configuration
(#1021) - @danaelhe
IMPROVEMENTS:
provider
: Enable retries for requests that fail with a 429 or 500-level error by default (#1016). - @danaelhe
BUG FIXES:
digitalocean_database_user
: Prevent creating multiple users for the same cluster in parallel (#1027). - @andrewsomethingdigitalocean_database_user
: Remove unneeded GET request post-create (#1028). - @andrewsomething
MISC:
docs
: Make it clear that volume name has to start with a letter (#1024). - @ahasnadocs
: Update Postgres version in example (#1014). - @danaelheprovider
: Bump Go version to v1.21.0 (#1025). - @andrewsomethingprovider
: Update godo to v1.102.1 (#1020). - @danaelheprovider
: Update godo dependency to v1.102.0 (#1018). - @danaelheprovider
: Update godo dependency to v1.101.0 (#1017.) - @danaelhe
FEATURES:
- New Data Source:
digitalocean_database_user
(#989). - @lezgomatt
IMPROVEMENTS:
digitalocean_kubernetes_cluster
: Add destroy_all_associated_resources option (#1007). - @andrewsomething
BUG FIXES:
digitalocean_spaces_bucket
: UpdateretryOnAwsCode
to five minutes (#999). - @danaelhe
MISC:
docs
: Note how to getid
for record import (#1004) - @nimboyaprovider
: Bump Go version to 1.20.x (#975). - @andrewsomethingtesting
: Update Postgres versions in acceptance tests (#1002). - @andrewsomethingprovider
: build(deps): bump google.golang.org/grpc from 1.51.0 to 1.53.0 (#1003). - @dependabot[bot]
BUG FIXES:
digitalocean_database_cluster
: Fix custom create timeouts (#987). - @andrewsomethingdigitalocean_droplet
: Prevent inconsistent plan when enabling IPv6 (#982). - @andrewsomethingdigitalocean_custom_image
: use custom create timeout (#985). - @andrewsomething
IMPROVEMENTS:
provider
: Add godo's rate limiter configuration & retryable http client (#967). - @DanielHLelisdigitalocean_kubernetes_cluster
: Support container registry integration (#963). - @mohsenSydigitalocean_database_replica
: Add support for resizing replicas (#977). - @andrewsomethingdigitalocean_database_cluster
: Add backup-restore functionality to db create (#970). - @danaelhe
BUG FIXES:
digitalocean_record
: Handle pagination in data source (#979). - @andrewsomethingdigitalocean_kubernetes_cluster
: Require importing additional node pools manually (#976). - @andrewsomethingdigitalocean_database_replica
: Add uuid to data source schema (#969). - @andrewsomething
MISC:
docs
: Fix inconsistencies indigitalocean_uptime_alert
documentation #972 - @nicworteldocs
: Use correct links in uptime docs. #973 - @andrewsomethingprovider
: Update Terraform SDK to v2.26.1. #975 - @andrewsomething
BUG FIXES:
digitalocean_database_replica
: Set UUID on read to resolve import issue (#964). - @andrewsomething
MISC:
- dependencies: bump golang.org/x/net (#957). - @dependabot
- dependencies: bump golang.org/x/crypto (#960). - @dependabot
IMPROVEMENTS:
digitalocean_database_cluster
: Support project assignment (#955). - @andrewsomething
BUG FIXES:
digitalocean_custom_image
: use correct pending statuses for custom images (#931). - @rsmitty
DOCS:
digitalocean_app
: Fix typo in resource digitalocean_app (#961). - @tobiasehlert
MISC:
provider
: Package reorganization (#927). - @andrewsomethingtesting
: Use comment trigger to run acceptance tests for PRs. (#929). - @andrewsomethingtesting
: Fix formatting of Terraform configs in tests and enforce in PRs using terrafmt (#932). - @andrewsomethingtesting
: droplet: Fix acceptance testing (#949). - @andrewsomethingtesting
: certificates: Add retry on delete (#951). - @andrewsomethingtesting
: cdn: Add test sweeper and retry with backoff (#947). - @andrewsomethingtesting
: Add sweeper and use consistent naming for all Spaces buckets in tests (#945). - @andrewsomethingtesting
: Add sweeper for uptime and monitoring alerts (#944). - @andrewsomethingtesting
: Add sweeper for projects and add retry for project deletion (#943). - @andrewsomethingtesting
: Add sweeper for VPCs (#942). - @andrewsomethingtesting
: Add sweeper for custom images and fix acceptance tests (#941). - @andrewsomethingtesting
: Use consistent naming for all volumes created in tests (#939). - @andrewsomethingtesting
: Use consistent naming for all snapshots created in tests (#938). - @andrewsomethingtesting
: Use consistent naming for all load balancers created in tests (#937). - @andrewsomethingtesting
: Use consistent naming for all firewalls created in tests (#935). - @andrewsomethingtesting
: Add sweeper for SSH keys (#940). - @andrewsomethingtesting
: Use consistent naming for all certs created in tests (#934). - @andrewsomethingtesting
: Use consistent naming for all Droplets created in tests (#933). - @andrewsomethingtesting
: Remove unused const to fix linting (#930). - @andrewsomethingtesting
: Fix flaky database acceptance tests (#953). - @andrewsomething- Remove .go-version and add to .gitignore (#958). - @ChiefMateStarbuck
IMPROVEMENTS:
database replica
: Expose Database Replica ID (#921) - @danaelheuptime
: Add Uptime Checks and Alerts Support (#919) - @danaelhedatabases
: Support upgrading the database version (#918) - @scotchneatloadbalancers
: Add firewall support for Loadbalancers (#911) - @jrolheiserloadbalancers
: Loadbalancers support http alerts metrics (#903) - @StephenVarela
MISC:
docs
:routes
documentation inapp.md
matchesapp_spec.go
(#915) - @olaventesting
: Find previous K8s release dynamically. (#916) - @andrewsomethingdocs
: Fix typo in README (#920) - @mbardelmeijerdocs
: Add releasing notes & missing changelog entries (#922) - @scotchneat
IMPROVEMENTS:
database_replica
: add retry on db replica create (#907) - @DMW2151
IMPROVEMENTS:
monitoring
: Support HTTP idle timeout & Project ID (#897) - @StephenVarela
IMPROVEMENTS:
spaces
: add endpoint attribute to bucket (#886)- @selborsolracmonitor_alert_resource
: Update Monitor Alert resource with new DBAAS public alert types (#893) - @dweinshenkerspaces
: Add new DC to spaces (#899) - @mandalaeloadbalancers
: load balancers: add HTTP/3 as an entry protocol (#895) - @anitgandhi
MISC:
docs
: Fix reference in documentation of project_resources (#890) - @Lavode
IMPROVEMENTS:
digitalocean_app
: Support deploy on push to DOCR (#883). - @andrewsomethingdigitalocean_droplet
: Region is no longer a required value (#879). - @andrewsomething
BUG FIXES:
digitalocean_record
: Add SOA as possible record type (#882). - @Nosmoht
MISC:
- Upgrade to Go 1.19 (#884). - @andrewsomething
BUG FIXES:
digitalocean_droplet
: Fix configurable timeouts for Droplet creates (#867). - @andrewsomething
IMPROVEMENTS:
digitalocean_database_connection_pool
: make user optional in db connection pool, update acc tests (#868) - @DMW2151
MISC:
digitalocean_database_cluster
: Suppress diffs on forced Redis version upgrades (#873) - @scotchneatdocs
: fix app spec link(#871) - @jkpe
BUG FIXES:
digitalocean_app
: Limit the number of deployments listed when polling (#865). - @andrewsomething
MISC:
- release workflow: switch to
crazy-max/[email protected]
(#863). - @andrewsomething
IMPROVEMENTS:
digitalocean_project
: Makeis_default
configurable (#860). - @danaelhedigitalocean_droplet
: Configurable timeouts for Droplet create operations (#839). - @ngharringtondigitalocean_app
: Add computed URN attribute (#854). - @andrewsomething
BUG FIXES:
digitalocean_app
: Only warn on read if there is no active deployment (#843). - @andrewsomethingdigitalocean_database_firewall
: Remove firewall rule from state if missing (#840). - @liamjcooper
MISC:
- chore: Fix incorrect heading in bug template (#859). - @artis3n
- testing: Use supported OS for Droplet image slug. (#855). - @andrewsomething
- testing: Introduce golangci-lint in GitHub workflows. (#755). - @atombrella
- docs: Add more examples on using Droplet snapshots (#846). - @mkjmdski
FEATURES:
- New Resource:
digitalocean_reserved_ip
(#830). - @andrewsomething - New Resource:
digitalocean_reserved_ip_assignment
(#830). - @andrewsomething - New Data Source:
digitalocean_reserved_ip
(#830). - @andrewsomething
MISC:
- examples: Change k8s example to use ingress v1 (#831). - @jacobgreenleaf
IMPROVEMENTS:
digitalocean_app
: Support functions components (#831). - @andrewsomethingdigitalocean_monitor_alert
: Support load balancer alert types (#822). - @andrewsomethingdigitalocean_loadbalancer
: support udp as a target and entry protocol (#789). - @dikshant
BUG FIXES:
digitalocean_kubernetes_cluster
: Always perform upgrade check (#823). - @macno
MISC:
- docs: Document values attribute in ssh_keys data source (#832). - @andrewsomething
- docs: Note limitations on importing MongoDB users (#821). - @andrewsomething
- docs: Fix k8's node_pool.tags description (#816). - @danaelhe
- testing: Fix k8s versions in acceptance tests (#826). - @gizero
- provider: Build with go 1.18 (#813). - @ChiefMateStarbuck
IMPROVEMENTS:
digitalocean_container_registry
: Support providing custom region (#804). - @andrewsomething
FEATURES:
- New Resource:
digitalocean_spaces_bucket_policy
(#800) - @pavelkovar
IMPROVEMENTS:
digitalocean_app
: Implement support for App Platformlog_destinations
(#798). - @jbruntondigitalocean_app
: Implement support for configuring alert policies (#797). - @andrewsomething
BUG FIXES:
digitalocean_project
: Environment is optional, don't set default (#788). - @andrewsomethingdigitalocean_droplet
: Handle optional booleandroplet_agent
(#785). - @Kidsan
MISC:
- docs: Add default ttl to
digitalocean_record
(#791). - @unixlab
IMPROVEMENTS:
digitalocean_app
: Allow usingMONGODB
as a database engine option (#783). - @cnunciato- doc: Update docs for
digitalocean_monitor_alert
to highlight it is currently Droplet-only (#780). - @andrewsomething
IMPROVEMENTS:
digitalocean_loadbalancer
: Fetch loadbalancer resource in datasource by ID (#773). @opeco17digitalocean_vpc
: Allow updating name and description of default vpcs (#748). - @andrewsomethingdigitalocean_app
: Support preserve_path_prefix (#768). - @andrewsomething
BUG FIXES:
digitalocean_droplet
- Refactor post-create polling code (#776). - @andrewsomethingdigitalocean_floating_ip_assignment
: Properly support importing existing assignments (#771). - @andrewsomethingdigitalocean_database_cluster
: Retry on 404s in post create polling (#761). - @opeco17
MISC:
- docs: Update records examples to use domain id over name (#770). - @andrewsomething
- docs: Add k8s as available project resource to docs (#750) - @scotchneat
- docs: Fix database cluster documentation (#766) - @colinwilson
- provider: Update to v2.10.1 of the terraform-plugin-sdk (#760). - @andrewsomething
- testing: Makefile: Only run sweep against the digitalocean package (#759). - @andrewsomething
- testing: Update domains sweeper (#753) - @scotchneat
IMPROVEMENTS:
digitalocean_loadbalancer
: Add support for size_unit (#742). - @bbassingthwaitedigitalocean_database_firewall
: Add attributes for Kubernetes cluster IDs to firewall rules (#741). - @tdyas
BUG FIXES:
digitalocean_database_user
,digitalocean_database_replica
,digitalocean_database_db
,digitalocean_database_connection_pool
: Provide better error messages importing database sub-resources. (#744). - @andrewsomething
IMPROVEMENTS:
digitalocean_container_registry_docker_credentials
: Revoke OAuth token when credentials are destroyed (#735). - @andrewsomethingdigitalocean_loadbalancer
: Support disabling automatic DNS records when using Let's Encrypt certificates (#723, #730). - @andrewsomething
BUG FIXES:
- docs: Remove outdated info from README (#733). - @andrewsomething
TESTING:
- testing: Check for endpoint attr in
digitalocean_kubernetes_cluster
when HA is enabled (#725). - @danaelhe - testing: Add acceptance test workflow (#732). - @scotchneat
- testing: Add scheduled acceptance test runs (#734). - @scotchneat
- testing: Limit acceptance test job/workflow to single run at a time (#738). - @scotchneat
- testing: Acceptance tests: Don't use deprecated size slugs (#737). - @andrewsomething
- testing: Acceptance tests: Use 2048 bit private keys in test data (#736). - @andrewsomething
- testing: Fixes an invalid droplet size in some acceptance tests (#724). - @scotchneat
IMPROVEMENTS:
digitalocean_kubernetes_cluster
: Support setting theha
attribute (#718)
BUG FIXES:
- Fix tag collection in digitalocean_tags data source (#716)
FEATURES:
- Add digitalocean_database_ca data source. (#717)
IMPROVEMENTS:
- Give a name to the kubernetes example load balancer (#703)
- Gracefully shutdown droplet before deleting (#719)
BUGFIXES:
- docs: Correct the example for
digitalocean_monitor_alert
(#710). Thanks to @jessedobbelaere!
FEATURES:
- New Resource:
digitalocean_monitor_alert
(#679) Thanks to @atombrella!
IMPROVEMENTS:
digitalocean_domain
: Expose TTL (#702). Thanks to @atombrella!digitalocean_app
: Support setting CORS policies (#699).digitalocean_app
: Make create timeout configurable (#698).digitalocean_droplet
: Markprivate_networking
as deprecated. (#676)- docs: Provide more context for apps'
instance_size_slug
(#701) - misc: Replace d.HasChange sequences with d.HasChanges (#681) Thanks to @atombrella!
BUGFIXES:
digitalocean_database_user
: Handle passwords for MongoDB (#696).digitalocean_app
: Error to prevent panic if no deployment found (#678).digitalocean_droplet
: Protect against panic when importing Droplet errors (#674).
BUG FIXES:
digitalocean_record
: Move port validation for SRV records out of CustomizeDiff (#670).digitalocean_record
: Fix unexpected diffs for when TXT records are for the apex domain (#664).
IMPROVEMENTS:
digitalocean_droplet
: Support setting the droplet_agent attribute (#667).digitalocean_database_firewall
: Allow setting app as a type (#666).- docs: Update links to API documentation (#661).
- Simplified some loops based on go-staticcheck S1011 (#656). Thanks to @atombrella!
- Update to Context-aware API v2 functions (#657). Thanks to @atombrella!
BUG FIXES:
- docs: Add code fence to docs for MongoDB.
IMPROVEMENTS:
digitalocean_kubernetes_cluster
: Add support for Kubernetes maintenance policy (#631). Thanks to @atombrella!digitalocean_kubernetes_cluster
,digitalocean_database_cluster
: Make create timeouts configurable for DBaaS and K8s clusters (#650).- docs: Fix Firewall Resource exported attributes documentation (#648). Thanks to @jubairsaidi!
- docs: Add MongoDB to database cluster docs (#651).
BUG FIXES:
digitalocean_database_cluster
: Protect against setting empty tags (#652).
IMPROVEMENTS:
- provider: Upgrade Terraform SDK to v2.6.1 (#642).
digitalocean_kubernetes_cluster
: Expose URNs for Kubernetes clusters (#626).- docs: Cover
required_providers
in the index page (#643). - docs: Update nginx example to work (#625). Thanks to @atombrella!
- Update issue templates (#633).
BUG FIXES:
digitalocean_loadbalancer
: Addcertificate_name
to load balancer data source (#641).digitalocean_droplet
: Changing SSH key for a Droplet should beForceNew
(#640).digitalocean_spaces_bucket
: Provide better error on malformated import (#629).
FEATURES:
- New Data Source:
digitalocean_database_replica
(#489)
IMPROVEMENTS:
digitalocean_spaces_bucket
,digitalocean_spaces_bucket_object
: Validate input for region (#618).digitalocean_custom_image
: Support distributing custom images to multiple regions (#616).digitalocean_custom_image
: Surface a better error to users if image import fails (#613).digitalocean_database_cluster
: Support MongoDB beta by handling password differences (#614).
IMPROVEMENTS:
digitalocean_kubernetes_cluster
,digitalocean_kubernetes_node_pool
: Support for Kubernetes node pool taints (#374).digitalocean_loadbalancer
: Support resizing load balancers (#606).
BUG FIXES:
- docs: Fix Kubernetes autoscaling docs for
min_nodes
(#602). Thanks to @3dinfluence!
NOTES:
- With the update to go 1.16 (#597),
the provider now supports
darwin_arm64
.
FEATURES:
datasource_digitalocean_firewall
: Adds Firewall datasource (#594)
IMPROVEMENTS:
- Run tests on pull_request not pull_request_target. (#589)
- kubernetes - enable surge upgrades by default during cluster creation (#584)
- Assign and remove project resources without unnecessary churn (Fixes: #585). (#586)
- dbaas replica: Add missing attrbutes to docs. (#588)
- Bump Kubernetes version used in documentation (#583)
BUG FIXES:
- Fix broken documentation links (#592)
- Fix docs and validation for expiry_seconds on registry docker credentials resource. (#582)
BUG FIXES:
digitalocean_database_cluster
: Protect against panic if connection details not available. (#577).digitalocean_cdn
: Handle certificate name updates. (#579).
NOTES:
digitalocean_app
: In order to support additional features, thedomains
attribute has been deprecated and will be removed in a future release. It has been replaced by a repeatabledomain
block which supports wildcard domains and specifying DigitalOcean managed zones.
IMPROVEMENTS:
digitalocean_app
: Deprecate domains list in favor of domain block. (#572).digitalocean_app
: Add support for images as a component source (#565). Thanks to @rienafairefr and @acraven!digitalocean_app
: Add support for job components (#566). Thanks to @rienafairefr and @acraven!digitalocean_app
: Add support forinternal_ports
(#570). Thanks to @rienafairefr!
BUG FIXES:
digitalocean_app
: Allow multiple routes for services and static sites (#571).
IMPROVEMENTS:
digitalocean_app
: Add support for global env vars (#549).digitalocean_app
: Add GitLab support (#556).digitalocean_app
: Supportcatchall_document
for static sites (#539).digitalocean_custom_image
: Support updatingdescription
anddistribution
(#538). Thanks to @frezbo!
BUG FIXES:
digitalocean_vpc
: Protect against race conditions in IP range assignment (#552).digitalocean_app
: Mark env var values as sensitive (#554).
IMPROVEMENTS:
- provider: Build and release OpenBSD binaries (#533).
digitalocean_loadbalancer
: Add support for newsize
attribute (#532). Thanks to @anitgandhi!
BUG FIXES:
digitalocean_database_cluster
: Handle Redis version change with DiffSuppressFunc (#534).
FEATURES:
- New Data Source:
digitalocean_ssh_keys
(#519) Thanks to @stack72! - New Resource:
digitalocean_custom_image
(#517) Thanks to @frezbo!
BUG FIXES:
digitalocean_kubernetes_node_pool
: Validate min_nodes is at least 1 and fix example (#525).digitalocean_app
: Document the database spec (#524).digitalocean_container_registry
: Update docs w/subscription_tier_slug
(#523).
NOTES:
- DigitalOcean Container Registry is now in general availablity and requires a subscription plan. As a result, the
digitalocean_container_registry
resource now requires setting asubscription_tier_slug
.
IMPROVEMENTS:
digitalocean_container_registry
: Supports setting and updating asubscription_tier_slug
(#516).
BUG FIXES:
digitalocean_app
: Suppress diff when env type isGENERAL
(#515).
BUG FIXES:
digitalocean_spaces_bucket
: Add retry logic to ensure bucket is available before proceeding (#510).- Docs: Fix broken link to DigitalOcean app spec (#509). Thanks to @edbedbe!
BUG FIXES:
digitalocean_cdn
,digitalocean_app
: Fix panics introduced in move from ReadFunc to ReadContextFunc (#505).
NOTES:
- This release uses v2.0.3 of the Terraform Plugin SDK and now only supports Terraform v0.12 and higher.
- The
certificate_id
attribute of thedigitalocean_cdn
anddigitalocean_loadbalancer
resources has been deprecated in favor ofcertificate_name
. It will become a read-only computed attrbute in a future release.
FEATURES:
- New Data Source:
digitalocean_records
(#502) Thanks to @tdyas!
IMPROVEMENTS:
- provider: Upgrade to v2.0.3 of the Terraform Plugin SDK (#492, #503). Thanks to @tdyas!
- docs: Migrate documentation to new registry format (#501).
BUG FIXES:
digitalocean_certificate
,digitalocean_cdn
,digitalocean_loadbalancer
: Use certificate name as primary identifier instead of ID as a Let's Encrypt certificate's ID will change when it's auto-renewed (#500).
FEATURES:
- New Resource:
digitalocean_app
(#497) - New Data Source:
digitalocean_app
(#497) - New Data Source:
digitalocean_domains
(#484) Thanks to @tdyas!
IMPROVEMENTS:
- All list-style data sources now support
all
andmatch_by
attributes for filter blocks (#491) and other improvements (#481). Thanks to @tdyas! - Additional acceptance test sweepers (#458).
- Upgrade to v1.15.0 of the terraform-plugin-sdk (#483). Thanks to @tdyas!
BUG FIXES:
- resource/digitalocean_record: Allow for SRV records with port 0 (#475).
IMPROVEMENTS:
- resource/digitalocean_kubernetes_cluster: Enable auto_upgrade on Kubernetes clusters (#237). Thanks to @lfarnell!
- resource/digitalocean_kubernetes_cluster: Add support for surge upgrades (#465). Thanks to @varshavaradarajan!
BUG FIXES:
- resource/digitalocean_container_registry_docker_credentials: Update default expiry and don't ignore error (#467).
IMPROVEMENTS:
- resource/digitalocean_loadbalancer: Adds 'https' to list of acceptable healthcheck protocols (#460). Thanks to @gcox!
- provider: Update module and import paths for repository transfer (#463).
BUG FIXES:
- resource/digitalocean_vpc: Increase timeout on VPC deletion retry (#455).
FEATURES:
- New Data Source:
digitalocean_tags
(#451).
IMPROVEMENTS:
- resource/digitalocean_tag, datasource/digitalocean_tag: Export the counts of tagged resources as a computed attribute (#451).
BUG FIXES:
- datasource/digitalocean_droplets: Set ID in
flattenDigitalOceanDroplet
to ensure the individual Droplets have their ID exported in the list data source. #450).
FEATURES:
- New Resources:
digitalocean_container_registry
,digitalocean_container_registry_docker_credentials
(#335). Thanks to Zelgius! - New Data Source:
digitalocean_container_registry
(#335). Thanks to Zelgius!
IMPROVEMENTS:
- resource/digitalocean_database_replica: Add support for specifying a VPC for read-only replicas (#440).
BUG FIXES:
- resource/digitalocean_kubernetes_cluster: Add forcenew to vpc_uuid field (#443). Thanks to KadenLNelson!
- resource/digitalocean_kubernetes_cluster: Fail faster on cluster create error #435).
FEATURES:
- resource/digitalocean_loadbalancer, datasource/digitalocean_loadbalancer: Add support for the backend keepalive option (#427).
BUG FIXES:
- provider: Spaces API Endpoint setting is optional (#431).
FEATURES:
- New Data Sources:
digitalocean_spaces_bucket
anddigitalocean_spaces_buckets
(#416) Thanks to @tdyas! - New Data Sources:
digitalocean_spaces_bucket_object
anddigitalocean_spaces_bucket_objects
(#423) Thanks to @tdyas! - New Data Sources:
digitalocean_droplets
(#418) Thanks to @tdyas!
BUG FIXES:
- resource/digitalocean_record: Fix handling of CAA records with iodef tag (#421).
- resource/digitalocean_loadbalancer: Fix support for multiple forwarding rules (#414).
FEATURES:
- New Resource: digitalocean_vpc (#410)
- New Data Source: digitalocean_vpc (#410)
- New Resource: digitalocean_spaces_bucket_object (#408) Thanks to @tdyas!
- resource/digitalocean_spaces_bucket: Support for bucket versioning (#409). Thanks to @tdyas!
- resource/digitalocean_spaces_bucket: Support for lifecycle rules (#411). Thanks to @tdyas!
IMPROVEMENTS:
- provider: Support overriding the Spaces API endpoint using the
spaces_endpoint
attribute orSPACES_ENDPOINT_URL
environment variable. (#384). Thanks to @tdyas!
BUG FIXES:
- resource/digitalocean_volume: Revert local name validation to support volumes created before DigitalOcean API change (#406). Thanks to @Amygos & @BrianHicks!
- resource/digitalocean_spaces_bucket: Region attribute should be ForceNew (#413).
BUG FIXES:
- resource/digitalocean_volume: Fix validation on volume names (#400). Thanks to @Nevon!
- datasource/digitalocean_kubernetes_cluster: Don't error when
terraform:default-node-pool
tag is not found (#399). - resource/digitalocean_kubernetes_cluster: Fix local failure for Kubernetes interoperablity acceptance test when local kubeconfig file is present (#402).
FEATURES:
- New Data Sources: digitalocean_regions and digitalocean_region (#380) Thanks to @tdyas!
- New Data Sources: digitalocean_projects and digitalocean_project (#391) Thanks to @tdyas!
- New Data Source: digitalocean_images (#394) Thanks to @tdyas!
- New Resource: digitalocean_project_resources (#396)
- resource/digitalocean_kubernetes_cluster, resource/digitalocean_kubernetes_node_pool: Add support for importing existing resources (#365). Thanks to @tdyas!
IMPROVEMENTS:
- datasource/digitalocean_droplet_snapshot, datasource/digitalocean_volume_snapshot resource/digitalocean_floating_ip, resource/digitalocean_floating_ip_assignment: Update for deprecated terraform-plugin-sdk helper/validation methods (#376).
- resource/digitalocean_kubernetes_cluster, resource/digitalocean_kubernetes_node_pool: Add support for Kubernetes node pool labels (#379). Thanks to @tdyas!
- internal/datalist: Add a generic filter/sort framework for datasources (#385). Thanks to @tdyas!
- resource/digitalocean_database_user: Add support for MySQL user authentication management (#393).
BUG FIXES:
- datasource/digitalocean_droplet: Validate only one of "id", "tag", or "name" are provided as an argument (#375). Thanks to @tdyas!
- resource/digitalocean_volume: Validate that volume names are lowercase and alphanumeric (#386). Thanks to @danrabinowitz!
- resource/digitalocean_database_cluster: "version" is now a required argument (#382).
IMPROVEMENTS:
- resource/digitalocean_kubernetes_cluster, resource/digitalocean_kubernetes_node_pool: Expose the Droplet IDs for individual nodes (#366). Thanks to @tdyas!
- datasource/digitalocean_droplet: Allow lookup by ID (#366). Thanks to @tdyas!
BUG FIXES:
- resource/digitalocean_project: Handle pagination for project resources (#368).
IMPROVEMENTS:
- resource/digitalocean_database_cluster: Add support for tags (#353). Thanks to @aqche!
BUG FIXES:
- provider: Mark API token as optional to support Spaces only usage and running
validate
without a token specified (#356).
FEATURES:
- New Data Source:
digitalocean_kubernetes_versions
(#341) - New Resource: :
digitalocean_database_firewall
(#340)
IMPROVEMENTS:
- resource/digitalocean_volume, datasource/digitalocean_volume: Add support for tags (#336). Thanks to @aqche!
- resource/digitalocean_volume_snapshot, datasource/digitalocean_volume_snapshot: Add support for tags (#339). Thanks to @aqche!
- resource/digitalocean_database_cluster: Add support for Redis eviction policies (#342).
- resource/digitalocean_database_cluster: Add support for configuring SQL mode (#347).
- resource/digitalocean_certificate: Don't store full certificate data in state file (#156).
FEATURES:
- New Resource:
digitalocean_database_connection_pool
(#225) Thanks to @Photonios!
IMPROVEMENTS:
- resource/digitalocean_kubernetes_cluster: Add support for upgrading cluster versions (#333). Thanks to @aqche!
FEATURES:
- New Resource:
digitalocean_database_user
(#328) Thanks to @Permagate! - New Resource:
digitalocean_database_db
(#327) Thanks to @Permagate! - New Data Source:
digitalocean_sizes
(#325) hanks to @Permagate! - New Data Source:
digitalocean_account
(#324) Thanks to @Permagate!
IMPROVEMENTS:
- resource/digitalocean_kubernetes_node_pool: Add support for node pool auto-scaling (#307). Thanks to @snormore!
- resource/digitalocean_space_bucket: Add support for configuring CORS rules (#254). Thanks to @pohzipohzi!
- Migrate to using the Terraform Plugin SDK (#316). Thanks to @stack72!
- website: Update all documentation to use v0.12 syntax (#314).
BUG FIXES:
- resource/digitalocean_kubernetes_cluster: Ensure
raw_config
is a valid kubeconfig file (#315).
IMPROVEMENTS:
- resource/digitalocean_database_cluster: Expose private connection details (#299). Thanks to @clickyotomy!
- resource/digitalocean_database_cluster: Mark
uri
,private_uri
,password
as sensitive (#298). Thanks to @clickyotomy! - resource/digitalocean_database_replica: Expose private connection details (#302).
- resource/digitalocean_kubernetes_cluster: Expose new
token
attribute for use in Kubernetes authentication (#309). Thanks to @snormore! - resource/digitalocean_kubernetes_cluster: Only fetch new Kubernetes credentials when expired (#311). Thanks to @snormore!
IMPROVEMENTS:
- New Data Source:
digitalocean_database_replica
(#224) Thanks to @Zyqsempai! - resource/digitalocean_database_cluster: Add support for tags (#253). Thanks to @Zyqsempai!
- resource/digitalocean_kubernetes_cluster: Mark the kube_config field as sensitive (#289). Thanks to @RoboticCheese!
- provider: Remove usage of
github.com/hashicorp/terraform/config
package (#291). Thanks to @appilon! - datasource/digitalocean_droplet: Allow lookup by tag (#290). Thanks to @danramteke!
- provider: Remove usage of deprecated
terraform.VersionString()
(#295).
IMPROVEMENTS:
- resource/digitalocean_droplet: Expose created_at attribute (#277). Thanks to @petems!
- datasource/digitalocean_droplet: Expose created_at attribute (#277). Thanks to @petems!
BUG FIXES:
- resource/digitalocean_database_cluster:
version
should not be required (#288). - resource/digitalocean_droplet: Verify Droplet is destroyed before removing from state (#283).
IMPROVEMENTS:
- provider: Add the ability to set
DIGITALOCEAN_ACCESS_TOKEN
(#260). Thanks to @stack72! - resource/digitalocean_droplet: Support enabling and disabling backups on Droplets (#266).
- resource/digitalocean_database_cluster: Allow Databases to have URNs for use with Projects (#270). Thanks to @stack72!
BUG FIXES:
- Consistently protect against nil response in error handling (#272).
FEATURES:
- New Data Source:
digitalocean_database_cluster
(#251). Thanks to @stack72!
BUG FIXES:
- resource/digitalocean_droplet: DigitalOcean doesn't support IPv6 private networking. Mark the
ipv6_address_private
attribute in the schema as removed (#181). Thanks to @stack72! - resource/digitalocean_kubernetes_cluster: Do not filter out node pool tags also applied to the cluster (#184).
IMPROVEMENTS:
- resource/digitalocean_droplet: Make importing more robust and test error case when importing non-existent resource (#231).
- resource/digitalocean_spaces_bucket: Simplify importing and test error case when importing non-existent resource (#231).
- resource/digitalocean_volume: Remove need for custom import function (#231).
BUG FIXES:
- resource/digitalocean_record: Simplify importing and provide better error messaging when attempting to import non-existent resource (#232).
- resource/digitalocean_kubernetes_cluster: Fix access to kube_config attributes under Terraform 0.12 by using TypeList rather than TypeSet in the schema (#239).
IMPROVEMENTS:
- Terraform SDK upgrade with compatibility for Terraform v0.12.
FEATURES:
- New Resource:
digitalocean_spaces_bucket
(#42). Thanks to @slapula! - New Resource:
digitalocean_database_cluster
(#198) Thanks to @slapula! - New Resource:
digitalocean_cdn
(#204) - New Resource:
digitalocean_project
(#207)
IMPROVEMENTS:
- provider: The DigitalOcean API URL can now be overridden using
api_endpoint
attribute (#84). Thanks to @protochron! - provider: Refactor logic for logging API requests/responses (#190). Thanks to @radeksimko!
- resource/digitalocean_loadbalancer: Add support for enabling PROXY Protocol (#199).
- docs/digitalocean_firewall: Update syntax to be compatible with Terraform 0.12-beta (#201).
- resource/digitalocean_droplet: Expose uniform resource name (URN) attribute for use with Projects resource (#215).
- resource/digitalocean_loadbalancer: Expose uniform resource name (URN) attribute for use with Projects resource (#214).
- resource/digitalocean_domain: Expose uniform resource name (URN) attribute for use with Projects resource (#213).
- resource/digitalocean_volume: Expose uniform resource name (URN) attribute for use with Projects resource (#212).
- resource/digitalocean_floating_ip: Expose uniform resource name (URN) attribute for use with Projects resource (#211).
- resource/digitalocean_spaces_bucket: Expose uniform resource name (URN) attribute for use with Projects resource (#210).
BUG FIXES:
- resource/digitalocean_certificate: Fix issue when using computed values for custom certificates (#163).
- resource/digitalocean_droplet: Prevent unexpected rebuilds for Droplets created using image slugs when the backing image is updated (#152).
NOTES:
- This provider is now built and tested using Go 1.11.x (#178).
- Dependencies for this provider are now managed using Go Modules (#187).
FEATURES:
- New Data Source:
digitalocean_droplet_snapshot
(#161). Thanks to @thefossedog! - New Data Source:
digitalocean_kubernetes_cluster
(#169) Thanks to @nicholasjackson! - New Resource
digitalocean_droplet_snapshot
(#161). Thanks to @thefossedog! - New Resource:
digitalocean_kubernetes_cluster
(#169) Thanks to @nicholasjackson! - New Resource:
digitalocean_kubernetes_node_pool
(#169) Thanks to @nicholasjackson!
BUG FIXES:
- resource/digitalocean_certificate: Suppress diff for DNS names on custom certificate resources (#146).
- resource/digitalocean_floating_ip_assignment: Ensure resource works with the
create_before_destroy
lifecycle rule (#147).
BUG FIXES:
- resource/digitalocean_droplet: Ensure the image ID is set to state when importing a Droplet (#144)
FEATURES:
-
New Resource
digitalocean_floating_ip_assignment
(#115) Thanks to @justinbarrick! -
New Resource
digitalocean_volume_attachment
(#130) -
New Datasource:
digitalocean_domain
(#63) Thanks to @slapula! -
New Datasource:
digitalocean_record
(#64) Thanks to @slapula! -
New Datasource:
digitalocean_certificate
(#137) -
New Datasource:
digitalocean_droplet
(#137) -
New Datasource:
digitalocean_floating_ip
(#137) -
New Datasource:
digitalocean_loadbalancer
(#137) -
New Datasource:
digitalocean_ssh_key
(#137) -
New Datasource:
digitalocean_tag
(#137) -
New Datasource:
digitalocean_volume
(#137) -
New Datasource:
digitalocean_volume_snapshot
(#139)
IMPROVEMENTS:
- resource/digitalocean_record: Manage CAA domain records (#48). Thanks to @jaymecd!
- resource/digitalocean_certificate: Existing resources are now importable (#37). Thanks to @jonnydford!
- resource/digitalocean_loadbalancer: Existing resources are now importable (#37). Thanks to @jonnydford!
- resource/digitalocean_record: Existing resources are now importable (#71). Thanks to @slapula!
- resource/digitalocean_tag: Validate tag name when creating (#80). Thanks to @inkel!
- resource/digitalocean_volume: Add support for filesystem type for volume resources (#111). Thanks to @pgrzesik!
- resource/digitalocean_certificate: Added support for LetsEncrypt issued certificates. (#129)
- resource/digitalocean_volume: Added support for volume resizing. (#125)
- resource/digitalocean_volume: Added support for creating a volume from a volume snapshot. (#139)
- resource/digitalocean_droplet: Updated the state representation of the
user_data
property to a hashed one. (#128)
BUG FIXES:
- resource/digitalocean_floating_ip: Gracefully handle missing Floating IPs. (#55). Thanks to @aknuds1!
- resource/digitalocean_floating_ip: Gracefully handle unassigning Floating IPs when the Droplet has already been destroyed. (#57). Thanks to @aknuds1!
- resource/digitalocean_droplet: When IPv6 and/or private networking are not enabled, default their addresses to "". (#97)
- resource/digitalocean_droplet: Don't panic when enabling private_networking or ipv6 on an existing Droplet. (#94)
- resource/digitalocean_droplet: Set resize_disk to the default value on import. (#95)
- resource/digitalocean_record: Fixed the function for generating a records FQDN to match DO API behaviour. (#51)
- resource/digitalocean_firewall: Refactored the firewall resource for better stability of diffs and updates. (#133)
- resource/digitalocean_record_test: Enable setting a DNS' record weight to 0 (via updated godo SDK). (#132)
IMPROVEMENTS:
- provider: Report Terraform version via User-Agent (#43)
- resource/digitalocean_droplet: Add
monitoring
field (#38)
BUG FIXES:
- resource/digitalocean_droplet: Avoid crash on conditional volumes (#40)
- resource/digitalocean_droplet: Make sure we've got a proper IP address from DO (#29)
- resource/digitalocean_firewall: Correctly handle
destination_tags
(#36) - resource/digitalocean_firewall: Suppress diff for 'all' port range (#41)
BUG FIXES:
- resource/digitalocean_droplet: Detaching the disks before deleting a droplet (#22)
NOTES:
Bumping the provider version to get around provider caching issues - still same functionality
FEATURES:
- New Resource:
digitalocean_firewall
(#1)