Mitchell Hashimoto
445194ebdf
helper/schema: test ImportState
2016-05-11 13:02:33 -07:00
Mitchell Hashimoto
33bbf09ff6
terraform: error if import with collision
2016-05-11 13:02:33 -07:00
Mitchell Hashimoto
c814d36333
terraform: handle multiple same named states
2016-05-11 13:02:33 -07:00
Mitchell Hashimoto
cfa58a25a6
terraform: test multiple return values
2016-05-11 13:02:33 -07:00
Mitchell Hashimoto
2ed23778b4
terraform: test importing into a new module with other modules
2016-05-11 13:02:33 -07:00
Mitchell Hashimoto
2738fa7df5
terraform: test importing into an existing module
2016-05-11 13:02:33 -07:00
Mitchell Hashimoto
7fe8b21969
terraform: verify import with missing type doesn't add to state
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
58fe557a9f
terraform: test that missing type results in error on import
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
0701c70eae
terraform: test import with module depth of two
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
492bda5186
terraform: more provider transform tests
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
0a7f48ab8e
terraform: import module works!
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
3b85544016
terraform: getting providers to connect the way we want for modules
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
6f607d0c59
terraform: MissingProviderTransformer now injects missing modules
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
1d3f11f0ba
terraform: working on fixes for imports in modules
2016-05-11 13:02:32 -07:00
Mitchell Hashimoto
0ab0ccf5b3
terraform: verify refresh is called on import
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
59e498dba8
terraform: basic test passing
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
8bb8637f24
terraform: some initial graphs (not tested, failing tests)
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
aca26fd784
terraform: ImportTransformer, EvalImportState
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
1685054a9a
helper/schema: cleaner way to store Ephemeral
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
45c3fd58d8
terraform: InstanceState.DeepCopy is exported
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
1040cb7cdb
terraform: add type to Ephemeral
2016-05-11 13:02:31 -07:00
Mitchell Hashimoto
531f609564
terraform: add ImportState to the provider interface
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
9142ec400e
terraform: flowerbox the ResourceProvider interface because it is huge
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
57b6e5cee9
terraform: generate
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
2a86b85646
terraform: start Import function, totally untested
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
84531a3fd5
helper/schema: sets Importable to true for resources that have importer
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
19609bde0e
helper/schema: can specify Importer on Resource, InternalValidate
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
b8121ea63e
helper/schema: Resource.Data to return a ResourceData for a Resource
2016-05-11 13:02:30 -07:00
Mitchell Hashimoto
4e9877179c
helper/schema: start the resource importer
2016-05-11 13:02:29 -07:00
Mitchell Hashimoto
5e127a62c1
Merge pull request #6597 from hashicorp/f-state-mv
...
command/state mv
2016-05-11 12:58:23 -07:00
Albert Choi
01fc4b9cdd
[clc] add missing ForceNew on several fields
2016-05-11 11:39:35 -07:00
Paul Stack
2bd35188ad
Update CHANGELOG.md
2016-05-11 18:39:07 +01:00
Paul Stack
06b5cf737c
provider/aws: `aws_codedeploy_deployment_group` Panics when setting ( #6617 )
...
`on_premises_instance_tag_filter`
When setting `on_premises_instance_tag_filter`, Terraform was not
pushing the changes on the cReate (due to a spelling mistake). A second
apply would push the tags and then cause a panic. Terraform was building
a ec2.Tagfilter struct without checking for optional values. When the
TagFilter was being dereferenced, it caused a panic
2016-05-11 18:38:03 +01:00
Mitchell Hashimoto
d94f503501
command/state meta: State func
2016-05-11 09:16:48 -07:00
clint shryock
e33847c8a8
Merge branch 'master' of github.com:hashicorp/terraform
...
* 'master' of github.com:hashicorp/terraform:
Update CHANGELOG.md
provider/vsphere: read gateway and ipv6_gateway
provider/aws: Fix cloudtrail_tags config formatting in test (#6615 )
build: "make fmt" to ignore vendor packages
2016-05-11 10:39:21 -05:00
clint shryock
8344b4fb4b
provider/aws: Format and correct IAM region for Cloudwatch test
2016-05-11 10:39:14 -05:00
James Nugent
9c0a175311
Update CHANGELOG.md
2016-05-11 11:25:35 -04:00
thetuxkeeper
5984f84c12
provider/vsphere: read gateway and ipv6_gateway
...
read gateway and ipv6_gateway information for vsphere_virtual_machine resources.
2016-05-11 11:21:54 -04:00
Clint
250ee8d089
provider/aws: Fix cloudtrail_tags config formatting in test ( #6615 )
2016-05-11 10:18:45 -05:00
James Nugent
f0b39b6ced
Merge pull request #6607 from apparentlymart/make-fmt-nonvendor
...
build: "make fmt" to ignore vendor packages
2016-05-11 10:51:51 -04:00
Mitchell Hashimoto
f34ef1f92a
command: compilation works
...
This still isn't ready. But this gets tests passing and compilation
working
2016-05-10 17:03:58 -07:00
Martin Atkins
78a9f8bfb4
build: "make fmt" to ignore vendor packages
...
Several of our vendered dependencies are not gofmt-compliant, but we don't
want to fix that since the vendored code is supposed to exactly match
upstream.
2016-05-10 15:40:02 -07:00
stack72
87d4fd7e0c
Merge branch 'db_option_group_settings' of https://github.com/Ticketmaster/terraform into Ticketmaster-db_option_group_settings
2016-05-10 22:37:14 +01:00
Paul Stack
b0c37bf99c
Update CHANGELOG.md
2016-05-10 22:34:40 +01:00
Thorsten Schifferdecker
4bbb9a674b
fix typo ( #6564 )
2016-05-10 22:32:22 +01:00
qivers
9cc21d62f2
Correcting arn output to id ( #6586 )
...
Using `arn` as an output doesn't work, `id` does.
2016-05-10 22:32:07 +01:00
Paul Stack
8fce851878
provider/azurerm: Fixing Acceptance Test for VM tags ( #6589 )
2016-05-10 22:31:56 +01:00
Paul Hinze
e14b21ab00
Update CHANGELOG.md
2016-05-10 16:27:19 -05:00
Paul Hinze
7bf140d573
Merge pull request #6599 from hashicorp/phinze/destroy-interpolation-error-redux
...
terraform: Correct fix for destroy interp errors
2016-05-10 16:26:08 -05:00
Paul Hinze
559f017ebb
terraform: Correct fix for destroy interp errors
...
The fix that landed in #6557 was unfortunately the wrong subset of the
work I had been doing locally, and users of the attached bugs are still
reporting problems with Terraform v0.6.16.
At the very last step, I attempted to scope down both the failing test
and the implementation to their bare essentials, but ended up with a
test that did not exercise the root of the problem and a subset of the
implementation that was insufficient for a full bugfix.
The key thing I removed from the test was a _referencing output_ for the
module, which is what breaks down the #6557 solution.
I've re-tested the examples in #5440 and #3268 to verify this solution
does indeed solve the problem.
2016-05-10 15:58:51 -05:00