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
bfa7d56449
rancher_registration_token: add image parameter ( #11551 )
2017-01-31 15:56:49 +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