Commit Graph

142 Commits (551eedcf2616376b00d7da170b09f682bbfa3445)

Author SHA1 Message Date
Paul Hinze afe4abb637 core: add prevent_destroy lifecycle flag
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 6514bf5f25 config: clarify unknown variable error [GH-1480]
11 years ago
Mitchell Hashimoto fdded8ca14 config: allow atlas block
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 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 2abeb2d9ac config: use new API
11 years ago
Mitchell Hashimoto 740c25d4ea config: convert to config/lang
11 years ago
Mitchell Hashimoto 6b7dfb4c8f config: some extra comments
11 years ago
Mitchell Hashimoto d24082da1e config: validate that module variables can go to ints, convert [GH-624]
12 years ago
Mitchell Hashimoto 4cb1ea6ae1 config: allow exact multi-resource references outside slices
12 years ago
Mitchell Hashimoto 7b48924532 config: validate that multi-variables are only used in slices
12 years ago
Mitchell Hashimoto 9dd7618fce config: fix messaging for name symbols
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 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 8e2315599f config: Count can be a string (for interpolation)
12 years ago
Armon Dadgar 1aaddafba0 terraform: Adding lifecycle config block
12 years ago
Armon Dadgar a14ea76c84 config: Support create_before_destroy config
12 years ago
Mitchell Hashimoto a36b3e1ec5 command: tests pass
12 years ago
Mitchell Hashimoto 292f57ea0a config/module: validate outputs line up with ModuleVariables
12 years ago
Mitchell Hashimoto b60da29d48 config: validate that variables reference valid modules
12 years ago
Mitchell Hashimoto f8836290da config: not directory that config was loaded from
12 years ago
Mitchell Hashimoto 8dc8eac4bf config: change module syntax
12 years ago
Mitchell Hashimoto dd6f536fab config: Merge for modules works
12 years ago
Mitchell Hashimoto 610e92cab2 config: validate no duplicate modules
12 years ago
Mitchell Hashimoto 2a6990e2b9 config: `module` structures parse
12 years ago
Mitchell Hashimoto 3e3be5e2a3 config: only walk if non-nil
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 0699cde1d4 config: depends_on meta-parameter
12 years ago
Mitchell Hashimoto b10b678326 config: fix error message in validation
12 years ago
Mitchell Hashimoto f9e6754763 config: comments
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 b0ce89b805 config: change Default to an interface{}
12 years ago
Mitchell Hashimoto 9d2e83d56d config: Merge works properly
12 years ago
Mitchell Hashimoto 7bd7e4218f config: make ProviderConfigs slice
12 years ago
Mitchell Hashimoto 3834846418 config: Outputs is now a slice
12 years ago
Mitchell Hashimoto e4bcd3c448 config: Variables is now a slice
12 years ago
Mitchell Hashimoto 596e0f7f13 config: make dupped nil for GC reasons
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
Armon Dadgar 36b1a2b9e8 config: Parse out special 'connection' blocks
12 years ago
Mitchell Hashimoto e250a6f36c config: understand "provisioner" blocks
12 years ago
Mitchell Hashimoto cfb08b6c60 config: mark even index accesses as a multi-access
12 years ago
Mitchell Hashimoto aa6a758f6b config: if count > 1, variable references must have index
12 years ago
Mitchell Hashimoto 07f98f7ee7 config: special detect ResourceVariables for multi-access
12 years ago
Mitchell Hashimoto ed1860de61 config: validate output only has "value" field
12 years ago
Mitchell Hashimoto a4f38a3933 config: validate resource variables in output
12 years ago
Mitchell Hashimoto cc2bb950a1 config: can parse outputs
12 years ago
Mitchell Hashimoto 3337a625af config: support count meta-parameter
12 years ago
Mitchell Hashimoto 947fa4e669 terraform: Context introduction
12 years ago
Mitchell Hashimoto 78e056770c config: validate that resource references are valid
12 years ago
Mitchell Hashimoto 532cc33189 config: semantic check on variable references
12 years ago
Mitchell Hashimoto 1918f199d8 terraform: Graph, config: don't build graph
12 years ago
Mitchell Hashimoto 9acb9535ad config: ProviderConfigName shouldn't be on Resource
12 years ago
Mitchell Hashimoto 8c50aa6382 config: use the RawConfig whereever posible
12 years ago
Mitchell Hashimoto 23d96248aa No need for a root name constant, just check for Meta == nil
12 years ago
Mitchell Hashimoto 82d527f798 config: rename ResourceGraph to Graph
12 years ago
Mitchell Hashimoto d2c3db552a config: providerconfigs can replace variables
12 years ago
Mitchell Hashimoto 3ccfd4d08c config: depgraph can contain provider configuratoins
12 years ago
Mitchell Hashimoto e2fa7094bd config: ProviderConfigName on Resource
12 years ago
Mitchell Hashimoto bd1f235b9b config: allow applying variables to resources
12 years ago
Mitchell Hashimoto d731d033f1 terraform: build resource graph, validate
12 years ago
Mitchell Hashimoto 0008ff12c7 config: determine whether a variable is required properly
12 years ago
Mitchell Hashimoto ab507814b7 config: support for provider configs
12 years ago
Mitchell Hashimoto bdeb278728 config: simplify
12 years ago
Mitchell Hashimoto dac18c823a config: can generate depgraph
12 years ago
Mitchell Hashimoto 3728e1cfc0 fmt
12 years ago
Mitchell Hashimoto bb0980f5ba config: tests for instantiating interpolated var types
12 years ago
Mitchell Hashimoto 9fef261eae config: comments
12 years ago
Mitchell Hashimoto 95ef186bf8 config: can detect variables in config strings
12 years ago
Mitchell Hashimoto ec3f72703c Initial work on config
12 years ago