Commit Graph

4090 Commits

Author SHA1 Message Date
Paul Hinze ef70c8cae5 helper/schema: allow Schema attrs to be Removed
Removed fields show a customizable error message to the user when they
are used in a Terraform config. This is a tool that provider authors can
use for user feedback as they evolve their Schemas.

refs #957
2015-03-05 15:33:56 -06:00
Mitchell Hashimoto 1bbb42b13f Merge pull request #1133 from hashicorp/f-remote-file
state/remote: add undocumented file backend for remote state
2015-03-05 13:16:52 -08:00
Paul Hinze 888f16d2d3 helper/schema: allow Schema attrs to be Deprecated
Deprecated fields show a customizable warning message to the user when
they are used in a Terraform config. This is a tool that provider
authors can use for user feedback as they evolve their Schemas.

fixes #957
2015-03-05 15:16:50 -06:00
Paul Hinze 7dca526493 Merge pull request #1132 from hashicorp/f-travis-vet
run `go vet` on Travis
2015-03-05 15:16:09 -06:00
Mitchell Hashimoto aee27314eb state/remote: add undocumented file backend for remote state 2015-03-05 13:15:14 -08:00
Paul Hinze 028a8ac8c5 travis: run `go vet` on every build 2015-03-05 14:59:51 -06:00
Paul Hinze 9270af6dfa Merge pull request #1131 from hashicorp/b-aws-subnet-vet
providers/aws: go vet fixes in aws_subnet
2015-03-05 14:57:18 -06:00
Paul Hinze 170341d38e providers/aws: go vet fixes in aws_subnet 2015-03-05 14:53:07 -06:00
Paul Hinze 089b5dc19e Merge pull request #1130 from hashicorp/f-deprecation
command: warnings should not exit
2015-03-05 14:37:28 -06:00
Paul Hinze 4fc5ebf47e command: warnings should not exit
also properly colorize error/warnings

depends on https://github.com/mitchellh/cli/pull/15
2015-03-05 14:22:34 -06:00
Paul Hinze 31529be403 Merge pull request #1127 from hashicorp/f-deprecation
helper/schema: [tests] add names to Validate tests
2015-03-05 13:36:14 -06:00
Mitchell Hashimoto e92a378df7 Merge pull request #1125 from TimeIncOSS/rds_instance_fix
aws/rds: Let aws_db_instance.*.address to be actually address
2015-03-05 11:22:17 -08:00
Paul Hinze 000238835c helper/schema: [tests] add names to Validate tests
a process also known as 'paulification' :)
2015-03-05 12:28:53 -06:00
Radek Simko c616c83a21 Let aws_db_instance.*.address to be actually address 2015-03-05 18:15:30 +00:00
Paul Hinze b7462a8f6a Merge pull request #1078 from hashicorp/b-tainted-double-destroy
core: [refactor] pull Deposed out of Tainted list
2015-03-05 10:16:31 -06:00
Paul Hinze f1c9e32fa0 core: tweaks from code review 2015-03-05 10:11:14 -06:00
Clint cebe8b9cbe Merge pull request #1117 from hashicorp/aws-go-key-pair
provider/aws: Convert AWS Key Pair to aws-sdk-go
2015-03-05 09:17:22 -06:00
Clint 23ece16d15 Merge pull request #1113 from hashicorp/aws-go-internet-gateway
providers/aws: Convert AWS Internet Gateway to aws-sdk-go
2015-03-05 09:17:06 -06:00
Mitchell Hashimoto 156109376f update CHANGELOG 2015-03-04 20:12:46 -08:00
Mitchell Hashimoto f0f799241a Merge pull request #1119 from hashicorp/f-push
command: nest `push/pull` under `remote`, change `remote` to `remote config`
2015-03-04 20:11:49 -08:00
Mitchell Hashimoto 4306405af8 website: docs for new remote commands 2015-03-04 16:35:42 -08:00
Mitchell Hashimoto 89e7438f0f command/remote 2015-03-04 16:25:11 -08:00
Paul Hinze 6e13aacefa core: [refactor] DRY up EvalWriteState nodes
Also some final comment cleanup
2015-03-04 18:22:18 -06:00
Mitchell Hashimoto 01cd761023 command: move remote configuration stuff 2015-03-04 16:17:30 -08:00
Mitchell Hashimoto a4bc5ba3ff update CHANGELOG 2015-03-04 16:06:48 -08:00
Mitchell Hashimoto 1c817c7864 Merge pull request #1095 from hashicorp/b-google-set
providers/google: set only top-level configs for lists [GH-929]
2015-03-04 16:05:37 -08:00
Mitchell Hashimoto 23609a7af5 Merge pull request #1096 from hashicorp/f-sprintf
config: add "format' function [GH-758]
2015-03-04 16:05:25 -08:00
Clint Shryock 641c7c613a provider/aws: Convert AWS Key Pair to aws-sdk-go 2015-03-04 15:17:23 -06:00
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
Sander van Harmelen b6f89d3e32 Adding a few new resources
Tests and docs will be added tomorrow so we can merge the new resources…
2015-03-04 18:51:07 +01:00
Clint Shryock 7643406735 provider/aws: Convert AWS Internet Gateway (test) to aws-sdk-go 2015-03-04 10:55:17 -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
Rahul Menon bbc9331d0c Fixed Merge conflicts 2015-03-04 18:42:10 +05:30
Rahul Menon 840e6f4826 Added Tagging 2015-03-04 18:37:30 +05:30
Rahul Menon 1cecb37ab9 Added vpc refactor in aws sdk go 2015-03-04 17:50:00 +05:30
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 89d6cdb0a6 providers/aws: Convert AWS Internet Gateway to aws-sdk-go 2015-03-03 16:08:52 -06: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