James Bardin
6172d0e744
Merge pull request #19201 from hashicorp/jbardin/shims
...
missed IsNull check in config shim
2018-10-26 13:54:23 -07:00
James Bardin
a1915964a2
some basic tests for NewResourceConfigShimmed
...
This is used in the helper package for the provider shims.
2018-10-26 15:01:30 -04:00
James Bardin
6732b6713b
missed IsNull check in config shim
2018-10-26 14:02:09 -04:00
Sander van Harmelen
c7c6f6efba
Restore the older CHANGELOG entries
2018-10-26 15:05:44 +02:00
Brian Flad
0ece7b9165
Update CHANGELOG for #19190
2018-10-25 12:22:57 -07:00
Brian Flad
a8adfeb008
Merge pull request #19190 from hashicorp/v-terraform-provider-aws-v1.41.0
...
deps: terraform-providers/terraform-provider-aws@v1.41.0 and aws/aws-sdk-go@v1.15.55
2018-10-25 12:19:04 -07:00
Outsider
a2cb579d1b
svchost: test for hostname started with numeric
...
Signed-off-by: Outsider <outsideris@gmail.com>
2018-10-25 09:02:28 -07:00
Radek Simko
b54cc1d95f
Merge pull request #19170 from mikesir87/patch-1
...
Small grammar fix for lifecycle docs
2018-10-25 08:51:57 +02:00
Radek Simko
b1abb3de8e
Merge pull request #19169 from hgontijo/patch-1
...
Fix typo.
2018-10-25 08:49:27 +02:00
Brian Flad
2c59de064b
deps: terraform-providers/terraform-provider-aws@v1.41.0 and aws/aws-sdk-go@v1.15.55
...
Provides the ability for the S3 backend to read `credential_source` via AWS configuration file.
2018-10-24 21:14:30 -07:00
Alisdair McDiarmid
2e480bb17c
Add links to new screenshots ( #19135 )
...
Screenshots for:
- GitHub Pull Request with resource changes in the TFE status update
- TFE plan-only run for a Pull Request
2018-10-24 15:20:43 -07:00
Sander van Harmelen
cb5574800f
Update CHANGELOG.md
2018-10-24 20:44:41 +02:00
Sander van Harmelen
9db93523bf
Merge pull request #19178 from hashicorp/f-state-rm
...
command/state: update and fix the state rm command
2018-10-24 20:10:38 +02:00
Sander van Harmelen
19c1241a50
command/state: update and fix the state rm command
2018-10-24 10:59:33 +02:00
Radek Simko
1577704bdf
Update CHANGELOG.md
2018-10-23 20:44:32 +02:00
Radek Simko
1de7c5849d
Merge pull request #19161 from hashicorp/b-lookup-crash-fix
...
lang: Fix crash in lookup function
2018-10-23 20:19:45 +02:00
Sander van Harmelen
4a2cbb3562
Update CHANGELOG.md
2018-10-23 17:57:52 +02:00
Radek Simko
b41cda7d7a
Return cty.DynamicPseudoType instead
2018-10-23 12:42:46 +02:00
Michael Irwin
47047aa637
Small grammar fix for lifecycle docs
2018-10-22 22:34:11 -04:00
Henrique M. Gontijo
642cdd331f
Fix typo.
2018-10-22 14:26:33 -07:00
Radek Simko
4856d81300
lang: Fix crash in lookup function
2018-10-22 12:58:47 +02:00
Martin Atkins
1dc3e50c47
CHANGELOG: Clean up after v0.12.0-alpha1 release
2018-10-19 17:45:54 -07:00
Martin Atkins
a3e601d45d
CHANGELOG: Replace some specific enumerated 0.12-alpha1 known issues with a link to GitHub issues
2018-10-19 17:40:44 -07:00
James Bardin
dbaf347392
Merge pull request #19136 from hashicorp/jbardin/simple-diff
...
panic fixes
2018-10-19 17:06:37 -04:00
James Bardin
e93d69f18b
more nil/known checks before val.LengthInt
2018-10-19 16:51:15 -04:00
Brian Flad
62bf23850b
Merge pull request #19122 from hashicorp/f-helper-validation-Any
...
helper/validation: Add Any() SchemaValidateFunc
2018-10-19 15:11:33 -04:00
James Bardin
d50a152f8b
check for a nil diff in simpleDiff
2018-10-19 14:25:20 -04:00
Sander van Harmelen
c7df8bef39
Merge pull request #19132 from hashicorp/f-state-mv
...
Make `state mv` use the new `states.Filter`
2018-10-19 19:22:49 +02:00
Sander van Harmelen
536c2fe6f1
Make `state mv` use the new `states.Filter`
2018-10-19 19:19:49 +02:00
Sander van Harmelen
5e11de460a
Merge pull request #19130 from hashicorp/f-state-push-pull
...
command/state: update and fix the state push and pull
2018-10-19 19:16:00 +02:00
Sander van Harmelen
7fbd93b5cd
command/state: update and fix the state push and pull
2018-10-19 19:12:23 +02:00
Sander van Harmelen
a88ba31b63
Merge pull request #19129 from hashicorp/f-show-list
...
command/state: update and fix the state list command
2018-10-19 19:10:09 +02:00
Sander van Harmelen
83168ea25f
Merge pull request #19127 from hashicorp/b-prepare-provider
...
Make the test compile again
2018-10-19 19:05:18 +02:00
Martin Atkins
fb57933f13
Update CHANGELOG.md
2018-10-19 09:58:22 -07:00
Sander van Harmelen
ecfcb23740
Merge pull request #19128 from hashicorp/b-fix-tf-show
...
Terraform show didn’t show absolute paths
2018-10-19 18:58:10 +02:00
Sander van Harmelen
af1a471a05
command/state: update and fix the state list command
2018-10-19 16:31:12 +02:00
Sander van Harmelen
4d6626b3a8
Terraform show didn’t show absolute paths
...
Without using absolute paths any module info is lost in the output. And the attributes were randomly ordered and so changed between different executions of the command.
2018-10-19 15:38:11 +02:00
Sander van Harmelen
b846c5f653
Make the test compile again
...
Not sure if these checks still make sense, but without this change the test don’t compile for the related packages.
2018-10-19 15:29:14 +02:00
Brian Flad
46804080aa
helper/validation: Add Any() SchemaValidateFunc
...
`Any()` allows any single passing validation of multiple `SchemaValidateFunc` to pass validation to cover cases where a standard validation function does not cover the functionality or to make error messaging simpler.
Example provider usage:
```go
ValidateFunc: validation.Any(
validation.IntAtLeast(42),
validation.IntAtMost(5),
),
```
2018-10-18 20:58:53 -04:00
Martin Atkins
17b883f592
command/format: Include variable values in diagnostic messages
...
When HCL encounters an error during expression evaluation, it annotates
its diagnostics with information about the expression that was being
evaluated and the EvalContext it was evaluated in.
This gives us enough information to show helpful hints to the user about
the final values of any reference expressions that are present in the
expression, which is very useful extra context for expressions that get
evaluated multiple times, such as:
- Any expression in a block with "count" or "for_each" set
- The sub-expressions within a "for" expression
2018-10-18 17:12:01 -07:00
Martin Atkins
8d100bfde9
tfdiags: Expose expression evaluation information from diagnostics
...
HCL diagnostics relating to expression evaluation include these, so this
is really just to pass that information through our Terraform-specific
diagnostics interface.
2018-10-18 17:12:01 -07:00
James Bardin
625145563a
Merge pull request #19121 from hashicorp/jbardin/simple-diff
...
add old values when computing the new InstanceDiff
2018-10-18 20:10:56 -04:00
James Bardin
9fe391cee7
Merge pull request #19120 from hashicorp/jbardin/is-known
...
Check IsKnown where values may panic
2018-10-18 20:06:44 -04:00
James Bardin
ff4e81cc2b
add old values when computing the new InstanceDiff
...
This was previously done in the RequiresNew code, which is skipped in
new style provider.
2018-10-18 20:05:33 -04:00
Chris Doherty
072f73a381
Merge pull request #19118 from hashicorp/cd/vagrantfile-go-1.11.1
...
Update the Vagrantfile to install Go 1.11.1.
2018-10-18 18:38:17 -05:00
James Bardin
e08a388d3c
check IsKnown on values that may panic
2018-10-18 19:21:32 -04:00
James Bardin
9434591652
Merge pull request #19117 from hashicorp/jbardin/coerce-value
...
use correct block types in CoerceValue
2018-10-18 19:21:09 -04:00
James Bardin
9e3c23d890
verify that all LengthInt calls are known
...
There were some funcs with LengthInt calls on unknown values
2018-10-18 19:19:59 -04:00
Kristin Laemmert
e7907d1acd
Merge pull request #19119 from hashicorp/kristin/vendoring-fun
...
vendor: upgrade ssh-agent dependency
2018-10-18 16:05:56 -07:00
Kristin Laemmert
377077c060
vendor: upgrade ssh-agent dependency
2018-10-18 15:38:22 -07:00