Commit Graph

18884 Commits

Author SHA1 Message Date
Martin Atkins e4a5d36127 core: EvalVariableBlock to decode maps and slices more carefully
Previously this function was depending on the mapstructure behavior of
failing with an error when trying to decode a map into a list or
vice-versa, but mapstructure's WeakDecode behavior changed so that it
will go to greater lengths to coerce the given value to fit into the
target type, causing us to mis-handle certain ambigous cases.

Here we exert a bit more control over what's going on by using 'reflect'
to first check whether we have a slice or map value and only then try
to decode into one with mapstructure. This allows us to still rely on
mapstructure's ability to decode nested structures but ensure that lists
and maps never get implicitly converted to each other.
2017-04-07 17:05:14 -07:00
Martin Atkins 46994483e1 Upgrade mapstructure vendoring to latest version
Apparently we've let this get several years out of date.
2017-04-07 17:05:14 -07:00
Martin Atkins 1d500f57a6 provider/dns: update hard-coded DNS result in acctests
The acctests depend on getting a particular result back from resolving
www.hashicorp.com, which seems to have changed. In the long run we should
probably *not* be depending on the DNS configuration of the main Hashicorp
website, but this is just a quick fix to get the build back to green so
we can continue work on other things.
2017-04-07 17:04:55 -07:00
Martin Atkins 22110ee73f website: Syntax highlighting for "mysql" provider docs 2017-04-07 16:58:01 -07:00
Martin Atkins 2933123a62 website: additional syntax highlighting for "terraform" provider docs 2017-04-07 16:56:35 -07:00
Martin Atkins 6b8c98d393 website: syntax highlighting for "external" provider docs 2017-04-07 16:55:42 -07:00
Martin Atkins 853b411840 website: syntax highlighting and hclfmt layout for TLS provider 2017-04-07 16:54:00 -07:00
Martin Atkins af05871e65 website: Activate HCL syntax highlighting for Random provider docs 2017-04-07 16:48:08 -07:00
Martin Atkins 5fc7414076 website: Activate HCL syntax highlighting for Template provider docs 2017-04-07 16:46:56 -07:00
Martin Atkins 4a24b58fd8 website: Activate HCL syntax highlighting for Rundeck provider docs 2017-04-07 16:44:52 -07:00
Martin Atkins ca96c856fe website: Activate HCL syntax highlighting for Vault provider docs 2017-04-07 16:43:24 -07:00
Radek Simko affdc76d4c
aws: Allow import of OID connect provider + allow disappearance 2017-04-07 22:15:37 +01:00
Radek Simko ab4b06a95d
aws: Fix OID connect provider updates + simplify + add tests 2017-04-07 22:15:36 +01:00
Radek Simko caa82d70ca
provider/aws: Align field names with conventions (lowercase+underscore) 2017-04-07 22:15:35 +01:00
Radek Simko 668a09aa00
provider/aws: Add diff suppression & validation for OpenID URL 2017-04-07 22:15:35 +01:00
Ryan Roberts 3640bdd6e1
AWS IAM OpenID Connect provider
http://docs.aws.amazon.com/cli/latest/reference/iam/create-open-id-connect-provider.html

Tests currently use a personal google account identity
2017-04-07 22:15:34 +01:00
clint shryock f521b15311 provider/aws: Fix DB Option group test by skipping backup 2017-04-07 16:03:26 -05:00
clint shryock d83ecf9e72 remove some manual names to allow the automatic random names, avoid some possible conflicts 2017-04-07 15:15:18 -05:00
Jake Champlin 4db7d69a48
Merge remote-tracking branch 'origin/master' into f-oracle-compute 2017-04-07 15:21:39 -04:00
Martin Atkins 56ccff604e Update CHANGELOG.md 2017-04-07 11:14:54 -07:00
Martin Atkins d1b35b412c Merge #13419: "chomp" function for stripping trailing newlines from strings 2017-04-07 11:12:49 -07:00
Seth Vargo f62b5db23b Merge pull request #13446 from hashicorp/sethvargo/pr-13017
Move TFE docs into core
2017-04-07 12:09:44 -04:00
Jake Champlin 2f88ac2e2b
Cleanup vet errors 2017-04-07 12:06:45 -04:00
Seth Vargo 4fb72b7816
Fix bug during build 2017-04-07 11:57:59 -04:00
Seth Vargo b6b2d2d505
Remove more references to Atlas 2017-04-07 11:56:19 -04:00
Seth Vargo 966e3bc894
Remove atlas reference 2017-04-07 11:56:19 -04:00
Seth Vargo 4be8a790df
Remove unused layout 2017-04-07 11:56:18 -04:00
Seth Vargo 00a60f4d77
Typo 2017-04-07 11:56:18 -04:00
Seth Vargo 426065a8f2
Fix broken links 2017-04-07 11:56:17 -04:00
Seth Vargo cb5dd8f77f
Remove unused pages 2017-04-07 11:56:17 -04:00
Seth Vargo 46f4ffbc32
Fix terminal size 2017-04-07 11:56:16 -04:00
Seth Vargo 2454ea9d14
Update home 2017-04-07 11:56:16 -04:00
Seth Vargo 51665dd18a
Update support 2017-04-07 11:56:15 -04:00
Seth Vargo fa4d6ec5f8
Update VCS 2017-04-07 11:56:15 -04:00
Seth Vargo e5f60930c0
Update accounts 2017-04-07 11:56:14 -04:00
Seth Vargo d31e1d9efa
Update state 2017-04-07 11:56:14 -04:00
Seth Vargo 7924c6f2d3
Update runs 2017-04-07 11:56:13 -04:00
Seth Vargo 1e35245a49
Update packer sections 2017-04-07 11:56:13 -04:00
Seth Vargo 1bd0e49f2b
Update organizations 2017-04-07 11:56:12 -04:00
Seth Vargo 85900595bc
Update FAQ and Glossary 2017-04-07 11:56:12 -04:00
Seth Vargo bbb8d1fe6d
Update artifact docs 2017-04-07 11:56:11 -04:00
Seth Vargo 7c7c626a37
Update API docs 2017-04-07 11:56:11 -04:00
Seth Vargo 0a595cb1e9
Cleanup layouts 2017-04-07 11:56:10 -04:00
Chris Riley 28106b8f08
Expanded all sub-menus in "FTE" 2017-04-07 11:56:10 -04:00
Chris Riley a71c5ebfee
Removed FTE "billing" doc and added FTE level of hierarchy 2017-04-07 11:56:09 -04:00
Chris Riley dd76ccb579
removed Atlas from TF OSS Docs 2017-04-07 11:56:09 -04:00
Chris Riley 04aa0d8ff8
Fixed typos and broken links in TFE docs 2017-04-07 11:56:08 -04:00
Chris Riley 7571ca6c6f
TFE Docs text edits, added support, docs css for tables 2017-04-07 11:56:08 -04:00
Chris Riley 41619e0a57
Added Packer docs to TFE 2017-04-07 11:56:07 -04:00
Chris Riley 8a1d2cca14
Added API docs to FTE 2017-04-07 11:56:07 -04:00