Bill Maxwell
305ae18d2c
Rancher V2 provider updates ( #13908 )
...
* Move to v2 client in vendor directory
* Move to v2 api and project IDs for environments
* add host label support to registration command
* Update go-rancher/catalog
* Allow go-rancher to handle URL versioning
2017-06-08 12:24:53 +03:00
Radek Simko
cb2f224180
provider/rancher: Remove DiffSuppressFunc from Computed-only fields
2017-04-23 12:41:18 +02:00
Raphaël Pinson
4faeabf32e
Better comparison of compose files ( #12561 )
...
* Better comparison of compose files
* Add github.com/docker/libcompose/config and deps to vendor
2017-03-14 19:08:23 +02:00
John Engelman
8d35e3dc22
Closes #11054 . Apply the set value for finish_upgrade. ( #12545 )
2017-03-09 01:32:28 +02:00
John Engelman
1efd5ff814
[Rancher] - allow for importing resources using environment ID to target ( #11688 )
2017-02-05 11:35:48 +01:00
Raphaël Pinson
acd7320e1f
rancher: set environment_id on import ( #11594 )
2017-02-03 12:34:26 +00:00
John Engelman
f0dd9b23a3
Closes #11567 . Handled Rancher deleted resources. ( #11607 )
...
* Fix some spec names.
* Closes #11567 .Handle deleted/purged resources from Rancher.
2017-02-01 19:49:17 +00:00
Raphaël Pinson
a3bfc5e8b3
rancher_stack: Only read compose when catalog_id is empty ( #11593 )
2017-02-01 12:33:23 +00:00
Raphaël Pinson
20c0668c6b
rancher_stack: Retrieve docker_compose and rancher_compose in Read ( #11550 )
...
Without this, when importing an existing stack into Terraform,
the first Terraform run is non convergent as it needs to retrieve
the existing values.
2017-01-31 15:57:35 +00:00
Raphaël Pinson
f56fb80c75
Rancher: reset Id for unknown resources ( #11543 )
...
When switching from one Rancher server to another, we want Terraform
to recreate Rancher resources. This currently leads to ugly `EOF` errors.
This patch resets resource Ids when they can't be found in the Rancher API.
2017-01-31 13:04:59 +00:00
Raphaël Pinson
001ee8c1af
Rancher: proper error when catalog template is unknown ( #11544 )
2017-01-31 13:04:24 +00:00
Raphaël Pinson
2914a38202
Recreate Rancher stack if it was removed ( #11539 )
2017-01-31 09:58:16 +00:00
John Engelman
0152a79b90
Closes #11053 . Use environment specific client for accessing resources. ( #11503 )
...
When using access control, the Rancher global API may return 404 for
resources that exist and are accessible via the environment API.
2017-01-30 17:08:21 +00:00
Raphaël Pinson
59aff50223
Add 'finishing-upgrade' state to rancher stack ( #11019 )
2017-01-04 09:16:04 +00:00
John Engelman
243ecf3b4f
[Provider] Rancher ( #9173 )
...
* Vendor Rancher Go library.
* Implement Rancher Provider.
Starting implementation taken from
https://github.com/platanus/terraform-provider-rancher
Commits from jidonoso@gmail.com and raphael.pinson@camptocamp.com
2016-12-05 15:29:41 +00:00