Commit Graph

25749 Commits

Author SHA1 Message Date
James Bardin 3631c16831
Merge pull request #21979 from bpetermannS11/fix-crash-21896
Fix for crash #21896
2019-07-08 14:44:50 -04:00
cgriggs01 755ca20ea4 add signalfx links 2019-07-08 11:06:38 -07:00
James Bardin e4fbc49fb8 udpate cty 2019-07-08 12:42:28 -04:00
Joey d95bfb9bc2
Tweak the URL of oVirt provider
The previous provider project for oVirt has been moved under oVirt community, with a new URL prefix.
2019-07-08 16:58:38 +08:00
Brian Williams 5e3c3bafb8 Add support for SSE-C to S3 backend
These changes add support for encrypting terraform remote-state in S3 using customer-supplied encryption keys (SSE-C).
2019-07-06 10:10:54 -05:00
Antoine Jacoutot 37a6331ebf command/version: drop empty line on version check (#14858)
We always add an empty line when asking/checking the version. We should only do
that if there is a new version available. While this is purely cosmetic, it
reads better and is consistent with packer.
2019-07-06 15:18:13 +02:00
Stefan Schmidt f4abb96b08 website/docs: add the fmt -recursive flag. (#21963) 2019-07-05 13:32:57 -04:00
Luis Silva f22c9231ff Revert "update version"
This reverts commit 0aae6283f9.
2019-07-05 16:35:14 +01:00
Luis Silva 0aae6283f9 update version 2019-07-05 16:34:21 +01:00
Luis Silva f6c90c1d96 Add OAuth2 token support for GCS backend 2019-07-05 10:06:44 +01:00
Bodo Petermann a22891deba Fixes crash #21896
Fix for a crash during terraform plan: If there is a multi-instance
resource (count > 1) where one of the instances was deleted in the
deployment but was still present in the terraform state,
getResourceInstancesAll crashed.

Check not only for rs.Instances[key] to exist, but also to have a
valid Current pointer.
2019-07-04 17:11:19 +02:00
appilon dbcd9a5625
Merge pull request #21960 from hashicorp/appilon/migrater-at-user
[hashibot] mention issue opener in migrater
2019-07-03 17:10:31 -04:00
James Bardin 91d52536f7 update CHANGELOG.md 2019-07-03 09:42:04 -04:00
James Bardin dfc5afe061
Merge pull request #21957 from hashicorp/jbardin/update-hcl2
update hcl2
2019-07-03 09:04:55 -04:00
Alex Pilon 1c4272e402
mention issue opener in migrater 2019-07-02 19:46:00 -04:00
Paul Hinze 924e28bef1
Update CHANGELOG.md 2019-07-02 15:41:53 -05:00
James Bardin 8c43bb2b52 update hcl2 2019-07-02 15:10:20 -04:00
Kristin Laemmert b0096436a7
Update CHANGELOG.md 2019-07-02 08:31:35 -04:00
Andreas Sommer 042aead714 lang/funcs: add "abspath" function (#21409) 2019-07-02 08:30:30 -04:00
Julien Vey ef4ccc6f05
Update pingdom community provider url
Pingdom provider refers to https://bitbucket.org/devops_sysops/pingdom-provider, which no longer exists
I've updated the URL to refer to https://github.com/russellcardullo/terraform-provider-pingdom, which seems to be the most up-to-date pingdom provider
2019-07-02 10:33:57 +02:00
James Bardin 7570711a67
Merge pull request #21948 from hashicorp/jbardin/update-go-getter
update go-getter
2019-07-01 16:53:32 -04:00
Dirk Avery 02efe97a59 command/import: change import message to 'prepared' (#20018)
* Change import message to 'prepared'
* Update command/hook_ui.go

Co-Authored-By: Kristin Laemmert <mildwonkey@users.noreply.github.com>
2019-07-01 16:34:48 -04:00
Radek Simko fbbb4dd59d
Merge pull request #21931 from hashicorp/fixtures-dir-name
Standardise directory name for test data
2019-07-01 21:16:29 +01:00
James Bardin 284a232ffb update go-getter
The bitbucket 1.0 api was recently disabled. Update go-getter to
support 2.0
2019-07-01 16:12:37 -04:00
Ben Hadfield 0a1c0d6c24 website: Fix typo in Arithmetic Operators section (#21945) 2019-07-01 10:42:26 -07:00
Radek Simko 5b9f2fafc8 Standardise directory name for test data 2019-06-30 10:16:15 +02:00
appilon 805ae28876
Merge pull request #21937 from hashicorp/appilon/fix-hashibot-label-remover
[hashibot] fix typo
2019-06-28 16:27:10 -04:00
Alex Pilon a74738cd35
fix typo 2019-06-28 15:31:53 -04:00
James Bardin bcbb03dc2a
Merge pull request #21935 from hashicorp/jbardin/revert-21721
Revert "Remove removed attribute from applied state"
2019-06-28 13:13:58 -04:00
James Bardin 0d2363a058 add tests to preserve existing Set nil behavior
While it may not be intuitive, providers expect that setting a `nil`
value will appear as an empty string in state.
2019-06-28 12:09:50 -04:00
James Bardin 75602df5ef Revert "Remove removed attribute from applied state"
This reverts commit 2e2a363052.
2019-06-28 11:51:52 -04:00
appilon 445df6b132
Merge pull request #21926 from hashicorp/appilon/fix-hashibot-msg
[hashibot] fix wrong variable reference in interpolated string
2019-06-27 19:09:41 -04:00
Alex Pilon 932d9d813a
fix wrong variable reference in interpolated string 2019-06-27 19:00:36 -04:00
Marcin Cuber df18843303 website: Add partial config file example for remote backend (#21520) 2019-06-27 11:53:35 -07:00
Jon Burgess c0b1220a92 Fixes #21907
Don't show no-ops in `terraform show`, since it's not something that will change any state.
2019-06-27 17:54:12 +10:00
ajayk 659e364d65 deps: github.com/aws/aws-sdk-go@v1.20.10 2019-06-26 20:11:49 -07:00
ajayk f261fa62a9 remove references to vagrant file 2019-06-26 19:41:08 -07:00
appilon 56e6ff8e51
Merge pull request #21904 from hashicorp/appilon/fix-hashibot-config
[hashibot] fix missing cron schedule
2019-06-26 20:57:28 -04:00
Alex Pilon 0c765a21e0
missing cron schedule 2019-06-26 19:23:14 -04:00
Nick Fagerlund f76c491468
website: CLI config: Team tokens work with CLI actions (#21883)
Team tokens never worked with the `atlas` backend, but the `remote` backend
uses them as intended; they can perform plans and applies on workspaces where
the associated team has at least plan or write permissions, respectively.
2019-06-26 10:56:30 -07:00
Paul Tyng adabe03676
Update CHANGELOG.md 2019-06-26 11:29:41 -04:00
Paul Tyng 7ec7af80f5
Merge pull request #21863 from hashicorp/lookup-bool
Add missing bool case
2019-06-26 11:19:10 -04:00
James Bardin 8e8eb6d6d3
Merge pull request #21884 from hashicorp/jbardin/validate-null-diags
don't append nil elements to a diagnostic cty.Path
2019-06-26 09:33:04 -04:00
John McGehee 4bb6f0dff2
Add "leading zeros" for the sake of SEO
The search "terraform leading zero" does not find the `format()`
function, which is perfectly capable of adding leading zeros.
Thus I have added this one word to help people find `format()`.
2019-06-25 16:13:05 -07:00
James Bardin 6eb40f846b
Merge pull request #21882 from hashicorp/jbardin/obj-compat-panic
actual value may be unknown in nested list
2019-06-25 18:08:09 -04:00
James Bardin d4b0788854 don't append nil elements to a diagnostic cty.Path
If a set element is nil in validateConfigNulls, we don't want to
append that element to the diagnostic path, since it doesn't offer any
useful info to the user.
2019-06-25 18:05:51 -04:00
James Bardin bfa5e7f811 actual value may be unknown in nested list
When checking AssertObjectCompatible, we need to allow for a possible
unkown nested list block, just as we did for a set in 0b2cc62.
2019-06-25 16:43:57 -04:00
James Bardin 0d9f84414a
Merge pull request #21879 from hashicorp/jbardin/sdk-panics
prevent sdk panics in 2 specific cases
2019-06-25 15:38:15 -04:00
James Bardin 2bd86cf8bb update CHANGELOG.md 2019-06-25 15:09:31 -04:00
James Bardin cd3ac50ddb prevent sdk panics in 2 specific cases
Fix 2 specific panics in the sdk when reading nil or computed maps from
various configurations. The legacy sdk code is too dependent on undefined
behavior to attempt to find and fix the root cause at this point.

Since the code is essentially frozen for future development, these
changes are specifically targeted to only prevent panics from within
providers.  Because any code effected by these changes would have
panicked, there cannot be anything depending on the behavior, and these
should be safe to fix.
2019-06-25 14:24:32 -04:00