Commit Graph

366 Commits

Author SHA1 Message Date
Tilen Faganel ebd7be673c
Renamed the snapshot resource/datasource to volume_snapshot 2018-09-07 16:49:28 +01:00
Tilen Faganel bbf4fc65d1
Removed unneeded code in the digitalocean_volume resource 2018-09-07 12:41:51 +01:00
Tilen Faganel 9e5ec3d2a8
Added the digitalocean_snapshot resource for creating volume snapshots 2018-09-07 12:39:15 +01:00
Andrew Starr-Bochicchio eefad9be9e
Fix go vet error. 2018-09-07 12:39:15 +01:00
Andrew Starr-Bochicchio dd77866697
Allow creating a volume from a snapshot. 2018-09-07 12:39:15 +01:00
Andrew Starr-Bochicchio 1b40def42a
Add DigitalOcean snapshot Data Source. 2018-09-07 12:39:15 +01:00
Andrew Starr-Bochicchio a6ce9c6afe
Merge pull request #137 from opencredo/new-datasources
Added a number of new datasources
2018-09-06 10:17:04 -04:00
Tilen Faganel d9f19baafb
Fixed a typo in the load balancer datasource documentation 2018-09-06 10:22:21 +01:00
Tilen Faganel f8368d3c0f
Merge branch 'master' into new-datasources 2018-09-06 10:21:41 +01:00
Andrew Starr-Bochicchio fd8f9099c4
Merge pull request #136 from opencredo/iss103-volume-filesystem
Refactored support for setting the volumes filesystem type and label
2018-09-05 16:15:54 -04:00
Andrew Starr-Bochicchio fb9ada8d6a
Merge pull request #138 from opencredo/iss51-fqdn-record
Fixed the function for generating a records FQDN to match DO API behaviour
2018-09-05 15:04:42 -04:00
Andrew Starr-Bochicchio c187af55e9
Merge pull request #135 from opencredo/lb-additional-tests
Added additional tests for the load balancer resource
2018-09-05 11:43:00 -04:00
Tilen Faganel 97adbc5f8a
Removed an unnecessary set function from the droplet 'ssh_keys' property 2018-09-05 16:11:54 +01:00
Tilen Faganel 8a9b96f235
Fixed the function for generating a records fqdn 2018-09-05 15:37:13 +01:00
Tilen Faganel 78a81a8df1
Added missing datasources 2018-09-05 12:47:57 +01:00
Tilen Faganel 4a1c453b05
Updated the existing datasources to match the current status of the API 2018-09-05 12:04:24 +01:00
Tilen Faganel b69c8dc326
Fixed typos in the volume resource documentation 2018-09-05 12:04:09 +01:00
Tilen Faganel ee6e21290c
Refactored support for setting and outputing the volumes filesystem type and label 2018-09-05 11:39:03 +01:00
Tilen Faganel 203ff2ea6f
Added additional tests for the load balancer resource 2018-09-05 11:33:54 +01:00
Andrew Starr-Bochicchio e3f0ebf82e
Merge pull request #130 from opencredo/iss87-volume-attachement
New `digitalocean_volume_attachment` resource for proper updates of droplet volumes
2018-09-04 18:37:54 -04:00
Andrew Starr-Bochicchio 1f8b63ba5a
Merge pull request #133 from opencredo/iss30-firewall
Refactored the firewall resource for better stability of diffs and updates
2018-09-04 15:52:16 -04:00
Andrew Starr-Bochicchio befc82e6eb
Merge pull request #131 from opencredo/droplet-old-state
Fixed an issue with force recreating droplets when using an older terraform state
2018-09-04 15:09:31 -04:00
Andrew Starr-Bochicchio e98438a4c2
Merge pull request #129 from opencredo/iss93-letsencrypt
Added support for LetsEncrypt issued certificates
2018-09-04 15:03:32 -04:00
Tilen Faganel c2e8f204f0
Fixed a debug message typo 2018-09-04 20:02:05 +01:00
Tilen Faganel 7ed8167ec6
Updated the main website template with the new volume_attachment resource 2018-09-04 12:40:41 +01:00
Tilen Faganel d55b0fe27d
Added comments abount retrying attachment/detachment of volumes from droplets 2018-08-31 17:03:24 +01:00
Tilen Faganel 31b12a007f
Refactored the firewall resource in order to better handle the various possible changes in configuration 2018-08-31 16:47:57 +01:00
Tilen Faganel b9ab084519
Updated the logic for attaching/detaching volumes to droplets and made it more robust to concurent modification 2018-08-31 16:45:48 +01:00
Tilen Faganel 9aad191831
Changed the diff suppressing functions for older droplet state files to a state migration 2018-08-31 14:34:56 +01:00
Andrew Starr-Bochicchio c92e6612a1
Merge pull request #132 from opencredo/domains-zero-weight
Enable setting a dns' record weight to 0 (updated godo SDK)
2018-08-31 08:53:29 -04:00
Tilen Faganel 5ae9788413
Updated the godo SDK to version v1.4.2 in order to enable setting a dns' record weight to 0 2018-08-31 01:45:30 +01:00
Tilen Faganel fc240e9e60
Added diff suppresing functions to some droplet properties in order to support older state files 2018-08-31 01:35:13 +01:00
Andrew Starr-Bochicchio ad2043e60f
Merge pull request #70 from andrewsomething/issues/69
Handle pagination in digitalocean_image data source.
2018-08-30 17:48:06 -04:00
Andrew Starr-Bochicchio 1e48d80faa
Merge pull request #128 from opencredo/iss65-userdata-hash
Updated the state representation of the `user_data` droplet property to a hashed one
2018-08-30 17:05:46 -04:00
Andrew Starr-Bochicchio 00fd9c44bd
Merge pull request #127 from opencredo/lb-validations
Added validations with minor optimizations to the load balancer resource
2018-08-30 16:15:21 -04:00
Tilen Faganel 87d7f7da87
Fixed the failing volume import test 2018-08-30 19:59:12 +01:00
Tilen Faganel c74dece7b0
Added the 'digitalocean_volume_attachment' resource to support proper recreation of volumes 2018-08-30 19:59:12 +01:00
Andrew Starr-Bochicchio 510cde66a8
Merge pull request #125 from opencredo/iss82-volume-resize
Added support for volume resizing
2018-08-30 10:53:25 -04:00
Tilen Faganel b0da0f9bb3
Added support for LetsEncrypt issued certificates 2018-08-30 15:43:32 +01:00
Tilen Faganel 8a67ab90bb
Added basic droplet property validations and updated the 'user_data' property to be stored as a hash in the state 2018-08-30 14:28:24 +01:00
Tilen Faganel 5c0b4c445e
Removed a dangling log message 2018-08-30 14:11:59 +01:00
Tilen Faganel eecd675b76
Added basic validation with minor optimizations/fixes to the load balancer resource 2018-08-30 14:06:01 +01:00
Tilen Faganel f99307e8fa
Fixed a type in a volumes error description string 2018-08-30 08:12:58 +01:00
Andrew Starr-Bochicchio fc729120f9
Merge pull request #120 from opencredo/iss7-tags
Migrated tags to use sets and centralised tag definitions/functionality
2018-08-29 18:28:49 -04:00
Tilen Faganel dea7691a93
Wrapped the flattenTags call to check for errors 2018-08-29 19:49:57 +01:00
Tilen Faganel b19a18ca30
Updated docs about volume resizing 2018-08-29 16:10:34 +01:00
Tilen Faganel f9b4b1c5bd
Added basic validation to volume size and name 2018-08-29 16:10:34 +01:00
Tilen Faganel 5791be3573
Added validation for trying to shrink volumes 2018-08-29 16:10:34 +01:00
Tilen Faganel cc1b043917
Added support for resizing volumes 2018-08-29 16:10:34 +01:00
Andrew Starr-Bochicchio d521d3a986
Merge pull request #121 from opencredo/iss-domains
Added missing functionality/configuration to the `digitalocean_record` resource
2018-08-28 18:19:17 -04:00