Commit Graph

4 Commits

Author SHA1 Message Date
Martin Atkins 861dfc0e00 helper/schema: emit warning when using data source resource shim
For backward compatibility we will continue to support using the data
sources that were formerly logical resources as resources for the moment,
but we want to warn the user about it since this support is likely to
be removed in future.

This is done by adding a new "deprecation message" feature to
schema.Resource, but for the moment this is done as an internal feature
(not usable directly by plugins) so that we can collect additional
use-cases and design a more general interface before creating a
compatibility constraint.
2016-05-14 08:26:36 -07:00
Martin Atkins e455f0a9bb provider/terraform: remote state resource becomes a data source
As a first example of a real-world data source, the pre-existing
terraform_remote_state resource is adapted to be a data source. The
original resource is shimmed to wrap the data source for backward
compatibility.
2016-05-14 08:26:36 -07:00
Mitchell Hashimoto 5a6766b702 providers/terraform: name it terraform_remote_state 2015-04-01 22:49:05 -07:00
Mitchell Hashimoto 693f688b49 providers/terraform: remote state resource 2015-03-11 18:17:47 -05:00