Commit Graph

17949 Commits

Author SHA1 Message Date
Thomas Poindessous 89799a0938 Add a link to "Multiple Provider Instances"
Hi

I just added a link to "Multiple Provider Instances" on ressources's page.

Thanks.
2017-04-10 09:42:02 +02:00
James Bardin 3f49227b72 add state an context tests
Make sure duplicate depends_on entries are pruned from existing states
on read.

Make sure new state built from configs with multiple references to the
same resource only add it once to the Dependencies.
2017-04-08 15:37:15 -04:00
James Bardin bd983f6cba don't forget to test the simple things 2017-04-08 15:37:15 -04:00
James Bardin b45b6a5c20 remove duplicates in Dependencies
duplicate entries could end up in "depends_on" in the state, which could
possible lead to erroneous state comparisons. Remove them when walking
the graph, and remove existing duplicates when pruning the state.
2017-04-08 15:37:15 -04:00
Paul Stack 07ff095755 Update CHANGELOG.md 2017-04-08 20:51:29 +03:00
Paul Hinze b77d797e85 provider/aws: Fix aws_ami_launch_permission refresh when AMI disappears (#13469)
Launch permissions are implicitly nuked if an AMI is removed for any
reason - Terraform should not error on refresh in this case, but rather
just see the launch permissions as gone and react appropriately.
2017-04-08 20:51:00 +03:00
Radek Simko 6ac0d4c08c Update CHANGELOG.md 2017-04-08 11:06:10 +01:00
Pasha Palangpour 8e87b107a9 provider/ns1: No splitting answer on spf records. (#13260)
* provider/ns1: No splitting answer on spf records.

* provider/ns1: Adds acctest for SPF records.
2017-04-08 11:04:57 +01:00
Radek Simko e885ab81a8 Update CHANGELOG.md 2017-04-08 09:57:05 +01:00
Radek Simko 6e2c758666 Merge pull request #13456 from hashicorp/iam_openid
provider/aws: Add support for iam_openid_connect_provider
2017-04-08 09:56:02 +01:00
Martin Atkins c1f0e7780b Merge pull request #13478 from hashicorp/upgrade-mapstructure
Upgrade mapstructure and fix resulting regressions
2017-04-07 17:27:51 -07:00
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
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
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