Commit Graph

3441 Commits

Author SHA1 Message Date
Paul Hinze 6c93fbb85d core: [refactor] store Deposed resource instances as a list
Deposed instances need to be stored as a list for certain pathological
cases where destroys fail for some reason (e.g. upstream API failure,
Terraform interrupted mid-run). Terraform needs to be able to remember
all Deposed nodes so that it can clean them up properly in subsequent
runs.

Deposed instances will now never touch the Tainted list - they're fully
managed from within their own list.

Added a "multiDepose" test case that walks through a scenario to
exercise this.
2015-03-04 12:25:59 -06:00
Paul Hinze 426f253085 core: [refactor] split WriteState EvalNodes
This is the non-DRY pass.
2015-03-04 12:25:47 -06:00
Paul Hinze d81ec2d37e core: [refactor] pull out common ReadState behavior 2015-03-04 12:25:47 -06:00
Paul Hinze 596e891b80 core: [refactor] pull Deposed out of Tainted list 2015-03-04 12:25:47 -06:00
Paul Hinze 72d4ac73d3 Merge pull request #1103 from suguru/aws-block-device-iops
providers/aws: add iops to block devices
2015-03-04 12:02:10 -06:00
Clint fa2f8fc19c Merge pull request #1110 from hashicorp/aws-go-eip
provider/aws: Convert AWS EIP to use aws-sdk-go
2015-03-04 10:20:31 -06:00
Mitchell Hashimoto 16cafe9d46 website; clarify where the args go for AWS [GH-853] 2015-03-03 17:35:54 -08:00
Mitchell Hashimoto 9efd20cd7c website: document MFA token for AWS [GH-390] 2015-03-03 17:31:45 -08:00
Mitchell Hashimoto 7f298d5951 website: note that terraform get is required [GH-706] 2015-03-03 17:28:41 -08:00
Mitchell Hashimoto 4ecc6188f6 website: note TF plugin name is important [GH-847] 2015-03-03 17:26:11 -08:00
Clint Shryock a99f9aefc9 Merge branch 'master' into aws-go-eip
* master:
2015-03-03 14:00:03 -06:00
Clint b2dece259c Merge pull request #1099 from hashicorp/aws-go-subnet
providers/aws: Convert AWS Subnet to aws-sdk-go
2015-03-03 13:59:21 -06:00
Clint Shryock 612a570a6d provider/aws: Convert AWS EIP to use aws-sdk-go 2015-03-03 11:45:27 -06:00
Clint Shryock 8d53a4c50f Merge branch 'aws-go-subnet' into aws-go-eip
* aws-go-subnet:
  providers/aws: Convert AWS Subnet to aws-sdk-go
2015-03-03 11:10:29 -06:00
Mitchell Hashimoto 1e82ccf814 Merge pull request #1104 from hashicorp/f-nil-resource-data
helper/schema: allow pointer values to ResourceData.Set
2015-03-03 08:59:52 -08:00
Mitchell Hashimoto b4435e2c0d Merge pull request #1101 from yikaus/patch-1
website/docs: protocol value for all traffic should be -1
2015-03-03 08:45:30 -08:00
Sander van Harmelen c220e67706 Merge pull request #1107 from svanharmelen/b-cloudstack-diverse
provider/cloudstack: updating the docs so they represent the added `managed` feature
2015-03-03 14:21:19 +01:00
Sander van Harmelen 426fb2e457 Updating the docs so the represent the added feature
Adding info about the `managed` option for port forwards…
2015-03-03 13:51:22 +01:00
Sander van Harmelen efba8622b6 Merge pull request #1106 from svanharmelen/b-cloudstack-diverse
provider/cloudstack: bugfixing and extending capabilities
2015-03-03 13:47:11 +01:00
Sander van Harmelen 033cee31f3 Fixing a small bug in the ACL rule hash function
Since the default value is not available in the initial config (when
`action` or `traffic_type` is omitted), the result would be `nil`
instead of a string when trying to access one of these the values.
2015-03-03 13:40:28 +01:00
Sander van Harmelen 221b48bd5a Adding a managed parameter
And fixing a few small logic errors
2015-03-03 12:26:13 +01:00
Mitchell Hashimoto 58a8776c41 helper/schema: test real nil pointer to ResourceData.Set 2015-03-02 23:37:43 -08:00
Mitchell Hashimoto 9e50bf76c7 config/lang: test case for multiline lang 2015-03-02 23:31:49 -08:00
Suguru Namura 68efa3fc21 providers/aws: add iops to block devices 2015-03-03 15:57:08 +09:00
Mitchell Hashimoto c030148259 helper/schema: allow pointer values to ResourceData.Set 2015-03-02 21:06:14 -08:00
Kevin Yi 0e3f1a865e protocol value for all traffic should be -1
If it is all traffic instead of all tcp traffic , protocol should be equal -1 , otherwise indicate all tcp not all traffic
2015-03-03 10:33:54 +11:00
Clint Shryock 10a32b9819 providers/aws: Convert AWS Subnet to aws-sdk-go 2015-03-02 16:32:48 -06:00
Clint 23d90c0c02 Merge pull request #1092 from hashicorp/aws-go-s3-fix-region-bug
provider/aws: Special case us-east-1 for S3 bucket creation
2015-03-02 14:38:48 -06:00
Clint 475a748ff8 Merge pull request #1090 from hashicorp/aws-go-elb
provider/aws: Convert AWS ELB to aws-sdk-go
2015-03-02 14:38:07 -06:00
Mitchell Hashimoto 54b5349d26 update CHANGELOG 2015-03-02 09:48:43 -08:00
Mitchell Hashimoto 76e3cfcf31 Merge pull request #1094 from hashicorp/f-gsub
config: add "replace" function [GH-1029]
2015-03-02 09:47:44 -08:00
Clint Shryock 6eea5dcec8 rename structure tests to be more idiomatic 2015-03-02 11:47:06 -06:00
Mitchell Hashimoto 63ee4c83ab config: only regexp if at least two characters in replace search 2015-03-02 09:46:46 -08:00
Mitchell Hashimoto 754b69219b update CHANGELOG 2015-03-02 09:45:38 -08:00
Mitchell Hashimoto 5895494897 config: test bad regexp for replace 2015-03-02 09:44:45 -08:00
Mitchell Hashimoto 50da2bd0a5 Merge pull request #1093 from hashicorp/f-autoload-tfvars-json
command: autoload terraform.tfvars.json as well [GH-1030]
2015-03-02 09:42:43 -08:00
Mitchell Hashimoto 68e4d346be website: doc replace 2015-03-02 09:40:24 -08:00
Mitchell Hashimoto 2f33a24385 config: add replace function 2015-03-02 09:37:40 -08:00
Paul Hinze 2450b03bc6 Merge pull request #1041 from aianchici/master
adding storage_encrypted as an optional parameter
2015-03-02 11:33:52 -06:00
Mitchell Hashimoto 71315076c3 command: autoload terraform.tfvars.json as well [GH-1030] 2015-03-02 09:22:28 -08:00
Clint Shryock af57b3db69 provider/aws: Special case us-east-1 for S3 bucket creation. 2015-03-02 11:13:19 -06:00
Mitchell Hashimoto 8e76a02a56 command: disable backup with "-" [GH-1072]
/cc @phinze
2015-03-02 09:11:49 -08:00
Mitchell Hashimoto 80c129a961 terraform: style, multiline a long line 2015-03-02 08:41:09 -08:00
Mitchell Hashimoto 9e05badb09 update CHANGELOG 2015-03-02 08:34:45 -08:00
Mitchell Hashimoto 4894080d87 Merge pull request #1086 from hashicorp/b-pph
terraform: catch scenario where both "foo" and "foo.0" are in state
2015-03-02 08:34:05 -08:00
Mitchell Hashimoto 58cc129caa Merge pull request #1081 from hashicorp/f-trans-reduct
Perform Transitive Reduction on Graph
2015-03-02 08:33:03 -08:00
Clint Shryock 2b3bcd5c27 add simple test for expandInstanceString 2015-03-02 10:00:45 -06:00
Clint Shryock da55f9bf85 provider/aws: Convert AWS ELB to aws-sdk-go 2015-03-02 09:44:06 -06:00
Paul Hinze cd47f00b91 Merge pull request #1089 from TimeInc/fix-broken-token
Bugfix: Save token that came from goamz + use it in go-sdk-aws
2015-03-02 09:29:13 -06:00
Radek Simko 503ffbd3be Save token that came from goamz + use it in go-sdk-aws 2015-03-02 11:16:06 +00:00