Commit Graph

2633 Commits

Author SHA1 Message Date
Mitchell Hashimoto 152e72ffa6 Merge pull request #773 from ceh/issue-691
helper/schema: fix panic when validating composite schema type
2015-01-14 09:28:11 -08:00
Mitchell Hashimoto 5b08cd6fc5 Merge pull request #779 from svanharmelen/f-fix-cloudstack-docs
website: Adding some needed references and updated a couple of passes
2015-01-14 09:24:47 -08:00
Sander van Harmelen 68a6e7197f Adding some needed references and updated a couple of passes 2015-01-13 11:28:05 +01:00
Sander van Harmelen a78c69a8c8 Merge pull request #778 from svanharmelen/f-fix-conversion-error
Fix conversion error
2015-01-13 09:00:10 +01:00
Sander van Harmelen fa1b3c88d8 Fix conversion error
This causes a crash of the provider
2015-01-13 08:55:47 +01:00
Emil Hessman 4893eb8b55 docs: consistent use of array configuration syntax
The Terraform configuration syntax defines what arrays are.
Use the word array consistently throughout the documentation
instead of list.

The corresponding JSON datatype is called array as well, and
since the Terraform configuration syntax is interoperable with
JSON it makes sense to use the term array to describe them.
2015-01-13 06:59:12 +01:00
Emil Hessman 071d872dc2 terraform: acceptance test for validation error
Add an acceptance test where terraform plan should error due
to validation errors.
2015-01-13 06:59:12 +01:00
Emil Hessman 2bc612e6f8 helper/schema: fix panic when validating composite type
Don't check if the root key is being computed for composite types.
Instead, continue recursing the composite type in order to check if
the sub-key, key.N, for each individual element is being computed.

Fixes a panic which occurs when validating a composite type where
the value is an unknown kind for the schema.
2015-01-13 06:59:05 +01:00
Sander van Harmelen 9c02a6e4f7 Merge pull request #775 from svanharmelen/f-cloudstack-configurable-timeout
provider/cloudstack: make timeout configurable
2015-01-12 16:06:07 +01:00
Sander van Harmelen 7b16c44cc2 provider/cloudstack: make timeout configurable
Seems some platforms need more time, so make it configurable with a
sane default…
2015-01-12 15:57:24 +01:00
Sander van Harmelen e9b3e5733b Merge pull request #772 from svanharmelen/f-fix-cloudstack_disk
provider/cloudstack: fixing the cloudstack_disk provider
2015-01-12 15:10:31 +01:00
Sander van Harmelen 9cf0c44247 provider/cloudstack: fixing the cloudstack_disk provider
This value is read back from the environment to the state, without
setting this to `Computed: true` it will see the read back value as a
diff.
2015-01-12 15:04:58 +01:00
Mitchell Hashimoto a909ce88ab Update CHANGELOG 2015-01-10 16:08:27 -08:00
Mitchell Hashimoto 096c9fef1e Merge pull request #768 from hashicorp/f-schema-float
helper/schema: Add TypeFloat
2015-01-10 16:06:49 -08:00
Mitchell Hashimoto 1fcd24cf67 helper/schema: add float type 2015-01-10 16:04:01 -08:00
Mitchell Hashimoto cf94a79955 helper/schema: add TypeFloat and Zero value 2015-01-10 15:57:06 -08:00
Mitchell Hashimoto e61077af1f Merge pull request #767 from hashicorp/f-generate-enum
helper/schema: generate strings for ValueType
2015-01-10 15:55:10 -08:00
Mitchell Hashimoto afc67ba426 Just test GO 1.4 2015-01-10 15:54:49 -08:00
Mitchell Hashimoto 34617b337f helper/schema: remove commit not for this branch 2015-01-10 15:53:29 -08:00
Mitchell Hashimoto 689cbc8b5b helper/schema: generate strings for ValueType 2015-01-10 15:52:11 -08:00
Mitchell Hashimoto c9e7c63600 Update CHANGELOG 2015-01-10 15:29:07 -08:00
Mitchell Hashimoto 2c3b7c492d Merge branch 'robzienert-add-ig-tags' 2015-01-10 15:28:27 -08:00
Mitchell Hashimoto 08813e6571 Merge branch 'add-ig-tags' of https://github.com/robzienert/terraform into robzienert-add-ig-tags
Conflicts:
	builtin/providers/aws/resource_aws_internet_gateway_test.go
2015-01-10 15:28:14 -08:00
Mitchell Hashimoto d1cae92a62 Update Makefile 2015-01-10 15:24:38 -08:00
Mitchell Hashimoto 6fde788dec Merge pull request #702 from svanharmelen/f-fix-makefile-for-go1.4
Update Makefile for use with Go 1.4
2015-01-10 15:23:40 -08:00
Mitchell Hashimoto 0046fcf756 Merge pull request #765 from phinze/fix-aws-db-instance-tests
provider/aws: fix aws_db_instance acceptance tests
2015-01-10 15:22:14 -08:00
Mitchell Hashimoto 12d20a8d52 Merge pull request #764 from hashicorp/f-schema-typed-readers
Refactor of helper/schema to prepare for better state formats
2015-01-10 15:21:33 -08:00
Paul Hinze f800441fe1 provider/aws: fix aws_db_instance acceptance tests
- 5.6.17 is no longer a valid mysql engine version, bumping to 5.6.21
- updating security_group_names assertion to match new set structure
  introduce in #663
2015-01-10 15:55:08 -06:00
Mitchell Hashimoto 3cbcafe989 helper/schema: remove unused field 2015-01-10 12:50:53 -08:00
Mitchell Hashimoto 361d00347a helper/schema: refactor tests for fieldreader to be common 2015-01-10 12:42:15 -08:00
Mitchell Hashimoto 9ab128899a helper/schema: make the getSource enum easier 2015-01-10 12:25:34 -08:00
Mitchell Hashimoto d89446391a helper/schema: make the get API cleaner 2015-01-10 12:22:05 -08:00
Mitchell Hashimoto 3c1b55a75f helper/schema: use the field reader/writer for state 2015-01-10 12:18:32 -08:00
Mitchell Hashimoto f64b09a045 helper/schema: more tests 2015-01-10 11:49:37 -08:00
Mitchell Hashimoto e77b2b17c4 helper/schema: remove unused method 2015-01-10 11:46:09 -08:00
Mitchell Hashimoto 03c6453a72 helper/schema: FieldWriter, replace Set 2015-01-10 11:44:26 -08:00
Mitchell Hashimoto e9a4aaaca7 helper/schema: full object test for addrToSchema 2015-01-09 17:43:44 -08:00
Mitchell Hashimoto e57f3f69b1 helper/schema: empty maps, support reading objects directly 2015-01-09 15:07:02 -08:00
Mitchell Hashimoto f0af1c36f5 helper/schema: nested resource fields should be zero-valued on get 2015-01-09 11:51:29 -08:00
Mitchell Hashimoto 942a988ac2 helper/schema: zero value of a set should be a set 2015-01-08 18:48:03 -08:00
Mitchell Hashimoto b4bf813151 helper/schema: too big to fail 2015-01-08 18:02:19 -08:00
Mitchell Hashimoto aa82c10e39 Merge pull request #762 from atlassian/fix_count_example
example: fix invalid mixing of hcl and json
2015-01-08 16:45:04 -08:00
Otto Jongerius fbfbccb895 fix invalid mixing of hcl and json 2015-01-09 11:43:29 +11:00
Mitchell Hashimoto 17201130ff Merge pull request #761 from justinclayton/patch-2
Clarify re: Openstack support
2015-01-08 16:14:34 -08:00
Justin Clayton 3e722d13ee Clarify re: Openstack support
This is a reword of #760 at @mitchellh 's request.
2015-01-08 15:58:56 -08:00
Mitchell Hashimoto 864a8f24ec helper/schema: GoString for Set 2015-01-08 11:33:15 -08:00
Armon Dadgar 47f02f80bc CHANGELOG updates 2015-01-07 13:57:03 -08:00
Armon Dadgar b69239e7f8 command/meta: Adding additional nil guards 2015-01-07 13:28:15 -08:00
Armon Dadgar 58a4a0b253 Merge pull request #755 from hashicorp/f-plan-remote-state
command/apply: Handle remote state in a plan file
2015-01-07 13:13:21 -08:00
Armon Dadgar 408ae62306 command/apply: Handle remote state in a plan file 2015-01-07 13:08:32 -08:00