Commit Graph

90 Commits (15abbe21c00b341c4034da035b4fa1a885083bfc)

Author SHA1 Message Date
James Bardin 8bcb9e19ca restructure JSON terraform config block AST
9 years ago
Mitchell Hashimoto f7da5d323c
config: test that JSON loading terraform backend info works
9 years ago
Mitchell Hashimoto 7b342100d0
config: add "backend" loading to the Terraform section
9 years ago
Mitchell Hashimoto 928fce71f7
config: parse "when" and "on_failure" on provisioners
9 years ago
Mitchell Hashimoto 8a102799c2 Merge pull request #10658 from hashicorp/b-var-keys
9 years ago
Mitchell Hashimoto 3ba9720b3e
config: validate invalid variable keys
9 years ago
Mitchell Hashimoto 5d684b399c
config: error when loading multiple lifecycle blocks
9 years ago
Mitchell Hashimoto b5f1738e17
config: allow IDs to start with numbers
9 years ago
Mitchell Hashimoto 6b458160b9
config: disallow names starting with ints
9 years ago
Mitchell Hashimoto 9cc52d83de
config: test that null characters show up as errors in parse
10 years ago
Mitchell Hashimoto 25d19ef3d0 Merge pull request #10080 from hashicorp/f-tf-version
10 years ago
Mitchell Hashimoto e3a01ccfd8 Merge pull request #10072 from hashicorp/f-output-depends-on
10 years ago
Mitchell Hashimoto 15979435d6
config: update error string for new HIL merge
10 years ago
Mitchell Hashimoto 85d3439fa0
config: parse and validate terraform.required_version
10 years ago
Mitchell Hashimoto 10426ba619
config: parse depends_on for outputs
10 years ago
Mitchell Hashimoto 5107c33119
command/import: load configurations and allow empty config dirs
10 years ago
Mitchell Hashimoto 29287937e3 Merge pull request #9818 from hashicorp/b-var-parse
10 years ago
Mitchell Hashimoto ef3148bbfa
config: validate that outputs have a name
10 years ago
Mitchell Hashimoto f054c5ca2c
config: manually parse variable blocks for better validation
10 years ago
James Bardin e2b6ccad8a Failing test for GH-8820
10 years ago
Mitchell Hashimoto 706b2e2aea Merge pull request #8482 from hashicorp/b-output-dup
10 years ago
Mitchell Hashimoto 0fceeaaeb0
config: test for var uniqueness in overrides
10 years ago
Mitchell Hashimoto 8a3559560d
config: JSON resource keys with only one item load properly GH-5140
10 years ago
James Nugent 9d6c629689 config: Update test to reflect new behaviour
10 years ago
Martin Atkins 860140074f config: Data source loading
10 years ago
Martin Atkins fc4fa10981 config: "ResourceMode" concept for resources
10 years ago
James Nugent cb6cb8b96a core: Support explicit variable type declaration
10 years ago
Mitchell Hashimoto 99fbb91ba2 config: validate lifecycle keys [GH-4413]
10 years ago
Paul Hinze b6626eed57 config: friendlier error message on resource arity mismatch
11 years ago
James Nugent 5ea25363a1 Add regression test for #4069
11 years ago
Paul Hinze d90eb2d88e config: test replicating #4079
11 years ago
James Nugent 7f5f8d300d Add failing test replicating #4065
11 years ago
Paul Hinze afb5136ac2 Merge pull request #3986 from hashicorp/phinze/hcl-escaped-quotes
11 years ago
Paul Hinze 15e7927009 config: test covering escaped quotes syntax error
11 years ago
James Nugent 6ae3218f8a Add failing tests for JSON configuration parsing
11 years ago
James Nugent f4164b5322 Add resource with heredoc to config load tests
11 years ago
Rob Zienert a1939e70f7 Adding ignore_changes lifecycle meta property
11 years ago
Mitchell Hashimoto 461f6557c7 config: fix test error
11 years ago
Mitchell Hashimoto fafc32b183 Merge branch 'b-prevent-destroy-type'
11 years ago
Sander van Harmelen c62370f9e9 Add a function to load JSON directly
11 years ago
Mitchell Hashimoto aa1e66c16c config: parse lifecycle block with mapstructure for weak decode
11 years ago
Mitchell Hashimoto fdded8ca14 config: allow atlas block
11 years ago
Mitchell Hashimoto 91a3405e88 config: understand provisioner blocks in JSON [GH-807]
11 years ago
Kushal Pisavadia b40b7ce01a Do not read temporary editor files, fixes #548
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 6cbadf14df config: IsEmptyDir is true if dir doesn't exist
12 years ago
Mitchell Hashimoto 57c1a8dada config: add IsEmptyDir
12 years ago
Mitchell Hashimoto c0a30d3337 config: TestString
12 years ago
Mitchell Hashimoto b60da29d48 config: validate that variables reference valid modules
12 years ago