Commit Graph

266 Commits (6440c839474f052d8997bb5cec19c2743e5108e6)

Author SHA1 Message Date
Martin Atkins 4061cbed38 internal/getproviders: A new shared model for provider requirements
6 years ago
James Bardin cd045f6f4e enable count and for_each in configuration
6 years ago
Kristin Laemmert 5b427ec648
addrs: Provider.IsLegacy and IsDefault functions
6 years ago
Kristin Laemmert 5f313a65ad
command: remove 0.12upgrade (#24403)
6 years ago
Kristin Laemmert ed1aebbeda
terraform: large refactor to use Provider from configs.Resource (#24396)
6 years ago
Kristin Laemmert ef19fb6203
configs: attach provider fqn to Resource (#24382)
6 years ago
Martin Atkins 946eda3f3c configs: Return diagnostics (almost) directly from ParseProviderSourceString
6 years ago
Kristin Laemmert 1c78b26012
terraform: provider source test (#24342)
6 years ago
James Bardin 8497adcb6e AbsProviderConfig to use addrs.Module
6 years ago
Kristin Laemmert c7cc0afb80
Mildwonkey/ps schema (#24312)
6 years ago
Paddy e6592dc710
Add support for provider metadata to modules. (#22583)
6 years ago
Martin Atkins 86f0b5191c addrs: Stronger validation and normalization of provider namespace/type
6 years ago
Kristin Laemmert 6e2618d9be terraform: ProviderTransform gets provider fqn from module
6 years ago
Kristin Laemmert 72ec579807
configs/decodeRequiredProviders test: before comparing slices (#24114)
6 years ago
James Bardin 37e60cd883 fix comment text
6 years ago
James Bardin 84d1f5c688 convert destroy provisioner warnings to errors
6 years ago
Kristin Laemmert 47a16b0937
addrs: embed Provider in AbsProviderConfig instead of Type
6 years ago
Kristin Laemmert 851e6dcdbb
configs: added map to configs.Module for provider local name lookup (#24039)
6 years ago
Kristin Laemmert 7eed30595a
moduledeps: replace ProviderInstance with addrs.Provider (#24017)
6 years ago
Kristin Laemmert 80ab551867
terraform: use addrs.Provider as map keys for provider schemas (#24002)
6 years ago
Martin Atkins 8b511524d6
Initial steps towards AbsProviderConfig/LocalProviderConfig separation (#23978)
6 years ago
Kristin Laemmert 6541775ce4
addrs: roll back change to Type field in ProviderConfig (#23937)
6 years ago
James Bardin 35107acc46 allow "terraform" in destroy provisioners
6 years ago
James Bardin c376905adc it's safe for destroy provisioners to access path
6 years ago
Kristin Laemmert 272cb44d3d
configs: extend module.ProviderRequirements to include the addrs.Provider instead of just version constraints. (#23843)
6 years ago
Martin Atkins ff4ea042c2 config: Allow module authors to specify validation rules for variables
6 years ago
Kristin Laemmert 18dd1bb4d6
Mildwonkey/tfconfig upgrade (#23670)
6 years ago
Martin Atkins 2b2ac1f6de configs: use local set of go-getter detectors
6 years ago
Kristin Laemmert 49fc53d1d1
provider source enhancements
6 years ago
Martin Atkins b90fb25321 experiments: a mechanism for opt-in experimental language features
6 years ago
Kristin Laemmert 67fc4dd5a1 configs: move ProviderConfigCompact[Str] from addrs to configs
6 years ago
James Bardin 2fdf984cce update destroy provisioner warning text
6 years ago
Kristin Laemmert e3416124cc
addrs: replace "Type string" with "Type Provider" in ProviderConfig
6 years ago
James Bardin 6817c844bc
Merge pull request #23559 from hashicorp/jbardin/deprecate-destroy-references
6 years ago
Kristin Laemmert 9891d0354a
providers: use addrs.Provider as map keys for provider.Factory (#23548)
6 years ago
James Bardin 8547603ff5 deprecation warning for destroy provisioner refs
6 years ago
James Bardin 6caa5d23e2 fix diagnostics handling
7 years ago
Kristin Laemmert 2c78414724
configs/configupgrade: do not panic when int value is out of range (#23394)
7 years ago
Martin Atkins 91752f02da configs: Warn for deprecated interpolation and quoted type constraints
7 years ago
Calle Pettersson 73d574913d configs: Mention leading underscores in invalid identifier message
7 years ago
Martin Atkins 79dc808614 configs: Emit warnings for deprecated quoted references/keywords
7 years ago
Pam Selle cca36025d6
Merge pull request #22946 from hashicorp/kmoe/copy_dir_dotfiles
7 years ago
Radek Simko 7860f55e4f
Version tools per Go convention under tools.go
7 years ago
Radek Simko 32f9722d9d
Replace import paths & set UA string where necessary
7 years ago
Martin Atkins e21f0fa61e backend/local: Handle interactive prompts for variables in UI layer
7 years ago
James Bardin 1ee851f256
Merge pull request #22846 from hashicorp/jbardin/evaluate-resource
7 years ago
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
7 years ago
Katy Moe 2c44a7aacb
remove dotfile exclusion in copyDir
7 years ago
James Bardin 86bf674246 change GetResourceInstance to GetResource
7 years ago
James Bardin 13e2e10577 fix Min/Max validation during decoding
7 years ago
James Bardin 731d4226d3 do not validate Min/Max Items in CoerceValue
7 years ago
James Bardin 3e03213485
Merge pull request #22478 from hashicorp/jbardin/coerce-value
7 years ago
Daniel Schroeder 628b50f900 configs/configupgrade: typo fix (#22469)
7 years ago
James Bardin 554cedab8a don't validate Min/Max block vals in CoerceValue
7 years ago
Pam Selle 9631e4c73d
Merge pull request #20571 from sergkondr/fix_misspelling
7 years ago
Alex Pilon 4bf43efcfd
move hcl2shim package to configs
7 years ago
James Bardin 5878527732
Merge pull request #22221 from hashicorp/jbardin/min-items
7 years ago
James Bardin 67dbd6d345 don't check MinItems with unknowns in blocks
7 years ago
Pam Selle 360068b3cb
Merge pull request #21922 from pselle/resource_for_each
7 years ago
Pam Selle e7d8ac5ad7 Remove panic, update comment
7 years ago
Thayne McCombs 7c678d104f Add support for for_each for data blocks.
7 years ago
Kristin Laemmert 66f4a48b8c
configs/configupgrade: fix panic on nil hilNode (#22181)
7 years ago
Pam Selle 7d905f6777 Resource for_each
7 years ago
Alex Pilon 0450f487fa
move IsEmptyDir to configs package
7 years ago
James Bardin 8111050c66 ensure we record diagnostics from nested modules
7 years ago
Radek Simko 5b9f2fafc8 Standardise directory name for test data
7 years ago
Kristin Laemmert 2a457115a3
configs: fix panic when the value is missing from version attribute in a provider block
7 years ago
Pam Selle 59c5cc4788
Merge pull request #21254 from davewongillies/gcs
7 years ago
Martin Atkins e85093ce08 configs/configload: Don't panic when version constraint is added
7 years ago
David Gillies 8b45443b21
Add GCS source support for modules
7 years ago
Martin Atkins 004c2056a7 configs/configupgrade: Use single-line syntax for empty object exprs
7 years ago
Kristin Laemmert 14d625c850
configs/configupgrade: preserve in-line comments for lists (#21299)
7 years ago
Radek Simko a2ee9fc8f9
Merge pull request #21282 from hashicorp/configupgrade-err-msg-fmt
7 years ago
Radek Simko 8a6d1d62b6
stringer: Regenerate files with latest version
7 years ago
Radek Simko 81c20ed7ae
configupgrade: Improve error message formatting
7 years ago
Radek Simko 42ba7a3e00
configupgrade: Upgrade indexing of splat syntax
7 years ago
Radek Simko 1f5cadeec0
0.12upgrade: Return error for invalid reference
7 years ago
Martin Atkins d7f23f0beb configs/configupgrade: Don't panic if analyzer fails
7 years ago
Martin Atkins 1bb47ab9a5 configs/configupgrade: Preserve comments on items in object exprs
7 years ago
Martin Atkins bb118c37a2 configs: Handle "dynamic" blocks as special during override merging
7 years ago
Martin Atkins 88e76fa9ef configs/configschema: Introduce the NestingGroup mode for blocks
7 years ago
Martin Atkins a20084dc0e configs/configschema: EmptyValue methods
7 years ago
Martin Atkins 26c1e40ad7 configs/configupgrade: Normalize number literals to decimal
7 years ago
Kristin Laemmert 3aa4ac43f9
configs/configupgrade: return if hil.Parse() produces an error. (#20920)
7 years ago
Martin Atkins 6c5819f910 configs/configupgrade: Prefer block syntax for list-of-object attributes
7 years ago
Kristin Laemmert da52170797
configupgrade: fix test (#20863)
7 years ago
Kristin Laemmert 1baa1b907e
configs/configupgrade: detect invalid resource names and print a TODO (#20856)
7 years ago
Justin Downing 1e32ae243c grammatical updates to comments and docs (#20195)
7 years ago
Martin Atkins ea1d5f8fcb vendor: go get github.com/hashicorp/hcl2@master
7 years ago
Kristin Laemmert 2c60140cad
configs: do not panic if module version is a variable (#20681)
7 years ago
Kristin Laemmert a15a4acf2f
configs/configupgrade: detect possible relative module sources (#20646)
7 years ago
Kristin Laemmert 0c5fd835ce
copyDir: detect if the module install path is a symlink to a directory (#20603)
7 years ago
Sergey Kondrashov 43e7a7b552 fix misspelling
7 years ago
Martin Atkins b217624d83 config/configupgrade: Test to show that list unwrapping works for sets
7 years ago
Martin Atkins dd43926761 configs/configupgrade: Fix up uses of the .count pseudo-attribute
7 years ago
Martin Atkins 966eb39427 configs/configupgrade: Default arguments in "connection" blocks
7 years ago
Martin Atkins ac6e0e42dc configs/configupgrade: Upgrade the bodies of "connection" blocks
7 years ago
Martin Atkins e2ef51800a configs/configupgrade: Upgrade the bodies of "provisioner" blocks
7 years ago
Martin Atkins cdca8fbfe8 configs/configupgrade: Correct ignore_changes error message
7 years ago
Martin Atkins 0095a944cd configs/configupgrade: Include provisioner schemas in analysis
7 years ago