Commit Graph

24460 Commits

Author SHA1 Message Date
Alex Pilon d5997e05db
prune dead code from command/meta 2019-07-18 16:11:41 -04:00
Radek Simko 5c30bafee0
Merge pull request #22119 from hashicorp/b-chunklist-empty-list
lang/funcs: Pass through empty list in chunklist
2019-07-18 20:59:47 +01:00
appilon 7df19fb26d
Merge pull request #22128 from hashicorp/appilon/prune-ResourceProviderFullName
[SDK Cleanup] Prune ResourceProviderFullName and its callers
2019-07-18 15:40:57 -04:00
Alex Pilon c2bc88fc23
prune ResourceProviderFullName and its callers 2019-07-18 15:24:34 -04:00
appilon b143c04216
Merge pull request #22125 from hashicorp/appilon/move-VarEnvPrefix
[SDK cleanup] Move VarEnvPrefix out of terraform pkg
2019-07-18 14:44:54 -04:00
appilon 30fd65497a
Merge pull request #22124 from hashicorp/appilon/move-IsEmptyDir
[SDK cleanup] Move IsEmptyDir to configs pkg
2019-07-18 14:43:43 -04:00
Alex Pilon e3bc1e7d5c
move VarEnvPrefix out of terraform pkg 2019-07-18 14:19:39 -04:00
tf-release-bot edf3afb854 Cleanup after v0.12.5 release 2019-07-18 17:14:21 +00:00
Alex Pilon 7dd36e7afc
run go mod tidy 2019-07-18 13:07:51 -04:00
Alex Pilon 0450f487fa
move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
tf-release-bot 0facd03d3a
v0.12.5 2019-07-18 17:04:24 +00:00
Martin Atkins 60c4d28573
Update CHANGELOG.md 2019-07-18 09:52:40 -07:00
Kristin Laemmert 190ef537ec backend/remote: notify users when uploading something other than cwd
When a TFC workspace is configured without a VCS root, and with a
working directory, and a user is running `terraform init` from that same
directory, TFC uploads the entire configuration directory, not only the
user's cwd. This is not obvious to the user, so we are adding a descriptive
message explaining what is being uploaded, and why.
2019-07-18 09:50:17 -07:00
Radek Simko cc9797443b
Merge pull request #18820 from Sagar2366/patch-6
change from work to working directory
2019-07-18 15:26:05 +01:00
Radek Simko 30f3b5ee25
Merge pull request #21831 from NickMetz/update-cli-output-documentation
Update in terraform output documentation
2019-07-18 15:24:12 +01:00
Radek Simko c6b313ae9a
Update CHANGELOG.md 2019-07-18 15:14:02 +01:00
Radek Simko c1844c093d
Merge pull request #22044 from saveriomiroddi/sav-allow_null_values_in_compact_function
Allow null values in Compact function
2019-07-18 15:13:24 +01:00
Radek Simko 736fda1613
lang/funcs: Pass through empty list in chunklist 2019-07-18 15:01:00 +01:00
Radek Simko eb02f9313a
Merge pull request #21954 from julienvey/patch-1
Update pingdom community provider url
2019-07-18 10:48:18 +01:00
Radek Simko be47a1e11c
Merge pull request #22068 from a-hat/master
fix example config for terraform >= 0.12
2019-07-18 10:47:04 +01:00
appilon 72354bc122
Merge pull request #22112 from hashicorp/appilon/move-unkownvariablevalue
Begin removing config package, starting with config.UnknownVariableValue
2019-07-17 23:28:17 -04:00
Alex Pilon 7f8f198719
remove UnknownVariabeValue from config and update references to shim 2019-07-17 22:41:24 -04:00
cgriggs01 7df9f0a7da [WIP][Website] Cisco ACI links 2019-07-17 14:15:09 -07:00
Pam Selle db2fe3dbd9
Update version.go 2019-07-17 12:01:27 -04:00
James Bardin 0f20742134 update CHANGELOG.md 2019-07-17 11:43:18 -04:00
appilon e342448a4d
Merge pull request #22107 from hashicorp/appilon/restore-migrator-schedule
[hashibot] restore original migrator schedule
2019-07-17 10:13:16 -04:00
Alex Pilon d34181f670
restore original migrator schedule 2019-07-17 10:00:16 -04:00
Kristin Laemmert 24592bb811
Update CHANGELOG.md 2019-07-17 08:42:17 -04:00
Kristin Laemmert 89eeaed0a0
[WIP] backend/enhanced: start with absolute configuration path (#22096)
* backend/enhanced: start with absolute config path

We recently started normalizing the config path before all "command"
operations, which was necessary for consistency but had unexpected
consequences for remote backend operations, specifically when a vcs root
with a working directory are configured.

This PR de-normalizes the path back to an absolute path.

* Check the error and add a test

It turned out all required logic was already present, so I just needed to add a test for this specific use case.
2019-07-17 08:39:37 -04:00
Radek Simko e39fa55a6f
Merge pull request #22101 from Batuzz/patch-1
Fixing typo
2019-07-17 09:18:01 +01:00
Bartosz Studnik 2f3ad4b692
Fixing typo 2019-07-17 09:11:49 +02:00
James Bardin d770a16264
Merge pull request #22098 from hashicorp/jbardin/nested-module-diags
ensure we record diagnostics from nested modules
2019-07-16 21:47:55 -04:00
James Bardin e4640a43d7 fix show-json test to expect error from nested mod
One of the show json command tests expected no error when presented with
an invalid configuration in a nested module. Modify the test created in
PR #21569 so that it can still verify there is no panic, but now expect
an error from init.
2019-07-16 21:30:04 -04:00
James Bardin 8111050c66 ensure we record diagnostics from nested modules
When loading nested modules, the child module diagnostics were dropped
in the recursive function. This mean that the config from the submodules
wasn't fully loaded, even though no errors were reported to the user.

This caused further problems if the plan was stored in a plan file, when
means only the partial configuration was stored for the subsequent apply
operation, which would result in unexplained "Resource node has no
configuration attached" errors later on.

Also due to the child module diagnostics being lost, any newly added
nested modules would be silently ignored until `init` was run again
manually.
2019-07-16 19:06:48 -04:00
James Bardin 9ebcbe1d60 update CHANGELOG.md 2019-07-16 14:08:10 -04:00
James Bardin bb17734bb6
Merge pull request #22037 from hashicorp/jbardin/ssh-alive
monitor ssh connection live-ness
2019-07-16 14:04:13 -04:00
Pam Selle 0111498e9a
Merge pull request #22075 from schmidtd/schmidtd-doc-typo
Simple typo in example artifactory backend subpath
2019-07-16 13:57:43 -04:00
Chris Griggs 1187c59683
Merge pull request #22089 from hashicorp/cgriggs01-community-links
add/remove community providers
2019-07-16 09:59:02 -07:00
cgriggs01 0d15d262a2 add/remove community providers 2019-07-16 09:36:27 -07:00
David Schmidt 91113aee83
Typo in example artifactory backend subpath 2019-07-15 18:16:56 -04:00
Pam Selle e354708c39
Merge pull request #22070 from minamijoyo/fix-typo-in-meta-runoperation
docs: Fix typo in (*Meta) RunOperation comments
2019-07-15 10:51:43 -04:00
Pam Selle 40d792c5a1
Merge pull request #21828 from nyurik/patch-1
clarify config block in terraform_remote_state
2019-07-15 10:51:20 -04:00
Masayuki Morita ca9b643c73 docs: Fix typo in (*Meta) RunOperation comments 2019-07-15 22:32:35 +09:00
Yuri Astrakhan 0bd29ce194 clarify config block in terraform_remote_state
This seems to be a common mistake - saw it in StackOverflow
and in several issues.
2019-07-15 13:05:45 +02:00
a-hat 366fed9d4d
fix example config for terraform >= 0.12 2019-07-15 11:22:35 +02:00
James Bardin 56e33a4546 update CHANGELOG.md 2019-07-12 18:11:20 -04:00
Chris Griggs 18a5ff61c2
Merge pull request #22058 from hashicorp/cgriggs01-avi-release
[website] AVI Networks provider
2019-07-12 14:49:18 -07:00
James Bardin 366f8c1cbc
Merge pull request #22057 from hashicorp/jbardin/dynamic-set-blocks
dynamic set blocks produce inconsistent final plan
2019-07-12 17:10:39 -04:00
James Bardin efd2a6cef6 dynamic set block test 2019-07-12 16:48:49 -04:00
James Bardin 7a183a0e90 don't assert set block length with unknowns
If a planned NestingList block value looks like it may represent a
dynamic block, we don't check the length since it may be unknown. This
check was missing in the NestingSet case, but it applies for the same
reason.

<
2019-07-12 16:48:49 -04:00