Commit Graph

71 Commits (e7e58df96c6c8ae8a96f4bf3971fe044934375cb)

Author SHA1 Message Date
Sander van Harmelen c62370f9e9 Add a function to load JSON directly
11 years ago
Mitchell Hashimoto cca4964552 config: error in validation if module has self variable
11 years ago
Mitchell Hashimoto d0a6d78b97 config: test that resources reference good providers
11 years ago
Mitchell Hashimoto 8ee18e2e14 config: happy case test for multiple providers
11 years ago
Mitchell Hashimoto a599d5f224 config: validate that a multi provider is only configured once each
11 years ago
Paul Hinze 975a96f271 core: protect against count.index in modules
11 years ago
Paul Hinze 347690a73e core: don't crash when count.index is used in the wrong context
11 years ago
Mitchell Hashimoto 965fe45b9e config: self var validation
11 years ago
Mitchell Hashimoto a31f2a276b Merge pull request #1015 from hashicorp/b-depends-on-var
11 years ago
Mitchell Hashimoto c14e84a657 config: validate provisioner splats can only reference others
11 years ago
Mitchell Hashimoto f156d0d1bd config: test we can ref splat of other resources
11 years ago
Mitchell Hashimoto 90a6a627ed config: validate configuration doens't contain splats to ourselves
11 years ago
Mitchell Hashimoto 0e7b150c5b config: depends on cannot contain interpolations [GH-985]
11 years ago
Mitchell Hashimoto 4bcf6cf6b2 config: bare splat variables should not be allowed in provisioners
11 years ago
Mitchell Hashimoto a2e40ad731 config: multi-variable access in slice validation fixed [GH-798]
11 years ago
Mitchell Hashimoto d24082da1e config: validate that module variables can go to ints, convert [GH-624]
12 years ago
Emil Hessman 4bfe18b40d argument and verb formatting fixes reported by go vet
12 years ago
Mitchell Hashimoto 4cb1ea6ae1 config: allow exact multi-resource references outside slices
12 years ago
Mitchell Hashimoto 36f225dea0 fmt
12 years ago
Mitchell Hashimoto 7b48924532 config: validate that multi-variables are only used in slices
12 years ago
Mitchell Hashimoto 67d9188a29 config: validate module names are valid
12 years ago
Mitchell Hashimoto 50e5eacc15 config: add NameRegexp
12 years ago
Mitchell Hashimoto e922b16dba Merge pull request #377 from hashicorp/f-path-var
12 years ago
Mitchell Hashimoto c1fa4c2e4b config: validate that module source can't contain interpolations
12 years ago
Mitchell Hashimoto 679ab1d515 config: parse ${path.module}
12 years ago
Mitchell Hashimoto 2e63a69e57 config: validate good count variables
12 years ago
Mitchell Hashimoto b484ec19b6 config: validate that count vars are valid types
12 years ago
Mitchell Hashimoto bc26777963 config: count can't interpolate count variables
12 years ago
Mitchell Hashimoto dd14303022 config: validate that count is an int
12 years ago
Mitchell Hashimoto 5090678168 config: validate that only proper variables can be in the count
12 years ago
Mitchell Hashimoto 101ac636a2 config: add Config method
12 years ago
Mitchell Hashimoto f772c11103 config: validate unknown var in count
12 years ago
Mitchell Hashimoto 8e2315599f config: Count can be a string (for interpolation)
12 years ago
Mitchell Hashimoto a36b3e1ec5 command: tests pass
12 years ago
Mitchell Hashimoto b60da29d48 config: validate that variables reference valid modules
12 years ago
Mitchell Hashimoto 610e92cab2 config: validate no duplicate modules
12 years ago
Mitchell Hashimoto 038cca291e config: HCL loader
12 years ago
Mitchell Hashimoto fe2a306341 config: validate no interp in var [GH-180]
12 years ago
Mitchell Hashimoto f9f4e62411 config: validate that count is >= 1
12 years ago
Mitchell Hashimoto 20da842bcf config: validate dependsOn
12 years ago
Mitchell Hashimoto 61938c070f config: validate type of default to string or mapping for var
12 years ago
Mitchell Hashimoto fe2285898a config: DefaultsMap should return nil if nil
12 years ago
Mitchell Hashimoto c9a20c3c58 terraform: test that mapping lookups work
12 years ago
Mitchell Hashimoto c988be9ce7 config: DefaultsMap
12 years ago
Mitchell Hashimoto b772f8078d config: detect UserMapVariable
12 years ago
Mitchell Hashimoto b8a0a02217 config: TODO tests for validation
12 years ago
Mitchell Hashimoto 7bd7e4218f config: make ProviderConfigs slice
12 years ago
Mitchell Hashimoto 50095612a2 config: resource should be unique
12 years ago
Mitchell Hashimoto 5329124cf9 config: unknown keys give errors
12 years ago
Mitchell Hashimoto cfb08b6c60 config: mark even index accesses as a multi-access
12 years ago