Mitchell Hashimoto
9ee36269f5
Merge pull request #785 from hashicorp/f-formalize-interps
...
Formalize interpolation language into a real typed interpreted language
2015-01-14 12:19:45 -08:00
Mitchell Hashimoto
7062b2b952
Merge pull request #793 from ceh/cloudstack-err-checks
...
providers/cloudstack: fix err checks in tests
2015-01-14 11:15:23 -08:00
Emil Hessman
335d8fa1e6
builtin/providers/cloudstack: fix err checks in tests
...
Wrong return value is used to determine if an error occured.
Make sure to check the actual Error value that the functions return.
2015-01-14 19:54:29 +01:00
Mitchell Hashimoto
dd456871e9
config/lang: remove unused code
2015-01-14 10:11:29 -08:00
Mitchell Hashimoto
fcaa3d9194
Merge pull request #790 from ceh/docs-list
...
website: use lists throughout the docs instead of array
2015-01-14 09:49:51 -08:00
Emil Hessman
0cfbf4d8d9
website: use lists throughout the docs instead of array
2015-01-14 18:38:08 +01:00
Mitchell Hashimoto
241fc5bb39
helper/schema: diff floats properly
...
/cc @phinze - This is pretty straightforward, almost magically so. The
reason this works is because in `diffString` we use mapstructure[1] with
"weak decode mode" to just be responisble for turning anything into a
string.
[1]: https://github.com/mitchellh/mapstructure
2015-01-14 09:32:03 -08:00
Mitchell Hashimoto
6fadebc5d8
Merge pull request #769 from phinze/type-float-failing-diff-test
...
failing schema diff test for TypeFloat
2015-01-14 09:30:08 -08:00
Mitchell Hashimoto
5e8b300ca1
update CHANGELOG
2015-01-14 09:29:37 -08:00
Mitchell Hashimoto
577e2420b0
Revert "docs: consistent use of array configuration syntax"
...
This reverts commit 4893eb8b55
.
2015-01-14 09:28:25 -08:00
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
Mitchell Hashimoto
92af4801a1
config: reintroduce concat
2015-01-13 12:47:54 -08:00
Mitchell Hashimoto
8d51b6b1d4
config/lang: variadic functions
2015-01-13 12:40:47 -08:00
Mitchell Hashimoto
4af4c9e16c
config: add lookup function back
2015-01-13 12:06:04 -08:00
Mitchell Hashimoto
49fe0d5c7f
config: remove a lot of unused stuff
2015-01-13 11:54:30 -08:00
Mitchell Hashimoto
1ccad4d729
config: convert fucntions, put functions into Scope
2015-01-13 11:50:44 -08:00
Mitchell Hashimoto
4ba7de17a9
config/lang: call the proper functions on Scope
2015-01-13 11:27:10 -08:00
Mitchell Hashimoto
2b679572b4
config/lang: TypeCheck
2015-01-13 11:25:46 -08:00
Mitchell Hashimoto
8ce7ef6188
config/lang: implement identifier semantic check
2015-01-13 11:24:42 -08:00
Mitchell Hashimoto
5abbde3ac9
config: remove unused files
2015-01-13 10:32:03 -08:00
Mitchell Hashimoto
740c25d4ea
config: convert to config/lang
2015-01-13 10:27:57 -08:00
Mitchell Hashimoto
e68fbceebc
config/lang: fix bug parsing empty strings
2015-01-13 10:27:31 -08:00
Mitchell Hashimoto
c424a8a815
config/lang: FixedValueTransform
2015-01-13 10:10:33 -08:00
Mitchell Hashimoto
d1a0ea9d9b
config/lang: make formal Stack object
2015-01-13 09:46:13 -08:00
Mitchell Hashimoto
6d9db3139c
config/lang: AST String() methods
2015-01-13 08:50:28 -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
Mitchell Hashimoto
abca82a84e
config: another test
2015-01-12 12:13:30 -08:00
Mitchell Hashimoto
aa2c7b2764
config: DetectVariables to detect interpolated variables in an AST
2015-01-12 12:09:43 -08:00
Mitchell Hashimoto
c05d7a6acd
config/lang: escaping interpolations with double dollar signs
2015-01-12 11:00:56 -08:00
Mitchell Hashimoto
c15c17dfe9
config/lang: remove unused file
2015-01-12 10:48:20 -08:00
Mitchell Hashimoto
f836397d8d
config/lang: enable type checking in execution
2015-01-12 10:21:18 -08:00
Mitchell Hashimoto
ec3b5f3886
config/lang: implement type lookup
2015-01-12 09:57:16 -08:00
Mitchell Hashimoto
25a2fbc902
config/lang: integer and float types
2015-01-12 08:53:27 -08: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
a0926de4a9
config/lang: completed type checking
2015-01-12 00:35:43 -08:00
Mitchell Hashimoto
662760da11
config/lang: have position in AST
2015-01-12 00:28:47 -08:00
Mitchell Hashimoto
d3b1010444
config/lang: start implementing type checking
2015-01-11 23:38:21 -08:00
Mitchell Hashimoto
8f925b93e0
config/lang: function calls work
2015-01-11 15:33:24 -08:00
Mitchell Hashimoto
4ae8cae9e7
config/lang: execution
2015-01-11 15:26:54 -08:00
Mitchell Hashimoto
fa7891d182
config/lang/ast: use stringer to generate enums
2015-01-11 14:35:14 -08:00
Mitchell Hashimoto
1ff5a838a4
config/lang: can parse nested interpolations
2015-01-11 13:59:24 -08:00