Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Latest commit

 

History

History
377 lines (239 loc) · 28.5 KB

CHANGELOG.md

File metadata and controls

377 lines (239 loc) · 28.5 KB

1.21.0 (Unreleased)

1.20.0 (June 15, 2020)

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).

1.19.0 (June 03, 2020)

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).

1.18.0 (May 05, 2020)

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).

1.17.0 (April 28, 2020)

FEATURES:

  • New Data Sources: digitalocean_spaces_bucket and digitalocean_spaces_buckets (#416) Thanks to @tdyas!
  • New Data Sources: digitalocean_spaces_bucket_object and digitalocean_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).

1.16.0 (April 14, 2020)

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 or SPACES_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).

1.15.1 (March 19, 2020)

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).

1.15.0 (March 18, 2020)

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).

1.14.0 (February 05, 2020)

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).

1.13.0 (January 27, 2020)

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).

1.12.0 (December 19, 2019)

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).

1.11.0 (November 13, 2019)

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!

1.10.0 (October 31, 2019)

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).

1.9.1 (October 09, 2019)

BUG FIXES:

  • resource/digitalocean_kubernetes_cluster: Ensure raw_config is a valid kubeconfig file (#315).

1.9.0 (October 08, 2019)

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!

1.8.0 (September 30, 2019)

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).

1.7.0 (August 27, 2019)

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).

1.6.0 (August 05, 2019)

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).

1.5.0 (July 03, 2019)

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).

1.4.0 (May 29, 2019)

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).

1.3.0 (May 09, 2019)

IMPROVEMENTS:

  • Terraform SDK upgrade with compatibility for Terraform v0.12.

1.2.0 (April 23, 2019)

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).

1.1.0 (December 12, 2018)

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!

1.0.2 (October 05, 2018)

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).

1.0.1 (October 02, 2018)

BUG FIXES:

  • resource/digitalocean_droplet: Ensure the image ID is set to state when importing a Droplet (#144)

1.0.0 (September 27, 2018)

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)

0.1.3 (December 18, 2017)

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)

0.1.2 (July 31, 2017)

BUG FIXES:

  • resource/digitalocean_droplet: Detaching the disks before deleting a droplet (#22)

0.1.1 (June 21, 2017)

NOTES:

Bumping the provider version to get around provider caching issues - still same functionality

0.1.0 (June 19, 2017)

FEATURES:

  • New Resource: digitalocean_firewall (#1)