Commit Graph

6735 Commits

Author SHA1 Message Date
Sargurunathan Mohan b95e7a976c fail silently when users have forbiddenaccount/allowedaccount configured while authenticating via iam profile instance 2015-08-14 03:52:38 -07:00
Paul Hinze 89e5687d1b Merge pull request #2994 from hashicorp/f-improve-elb-validation-msg
provider/aws: add value into ELB name validation message
2015-08-13 18:04:37 -05:00
Paul Hinze 55411d692d provider/aws: add value into ELB name validation message
makes debugging these validation errors much more straightforward
2015-08-13 16:31:18 -05:00
Paul Hinze c618132085 tests: fix missed test update from last merge 2015-08-13 10:11:12 -05:00
Paul Hinze 109393d931 Merge pull request #2992 from hashicorp/d-prevent-destroy-errmsg-tweak
update prevent_destroy error message
2015-08-13 10:03:08 -05:00
Paul Hinze 22ea3d693f update prevent_destroy error message
per recommendations by @nathanielks

closes #2473
2015-08-13 09:57:52 -05:00
Paul Hinze 2f2e594bd1 Update CHANGELOG.md 2015-08-12 18:24:32 -05:00
Paul Hinze 6e79494fc6 Merge pull request #2920 from TimeIncOSS/all-outputs
core: Print all outputs
2015-08-12 18:23:55 -05:00
Paul Hinze 7a3893f0d8 Update CHANGELOG.md 2015-08-12 17:08:48 -05:00
Paul Hinze cdcef1c852 Merge pull request #2704 from thegedge/add-index-function
Add a function to find the index of an element in a list.
2015-08-12 17:07:49 -05:00
Paul Hinze b0992985b9 Merge pull request #2596 from hashicorp/d-tfvars-mappings
docs: expand how to assign mappings from file
2015-08-12 17:05:47 -05:00
Paul Hinze b928777cac core: don't error on computed value during input walk
fixes #2987
2015-08-12 14:23:33 -05:00
Clint 8be06a021a Merge pull request #2914 from TimeIncOSS/google-cloud-2-tier-example
google: Add an example of a two-tier app
2015-08-12 14:22:21 -05:00
Clint c5e8da2925 Merge pull request #2601 from nathanielks/feature/docs-environment-variables
Added page documenting useful Environment Variables
2015-08-12 13:54:55 -05:00
Clint d74ea5d472 Merge pull request #2933 from hashicorp/docs-math-interpolation
More details about math in interpolation
2015-08-12 13:49:58 -05:00
Clint 5eb9b6c74e Merge pull request #2867 from berendt/gh_issue_2864
provider/openstack: not only SATA or SSD are valid volume types
2015-08-12 11:10:37 -05:00
Clint f927835abe Merge pull request #2726 from trumant/provider_doc_clarification
Clarifying the resource state persistence mechanism for custom Provid…
2015-08-12 11:09:38 -05:00
Clint 906a1b3b3b Merge pull request #2980 from hashicorp/f-aws-lc-doc-update
providers/aws: Update Launch Config. docs to detail naming and lifecy…
2015-08-12 11:02:59 -05:00
Clint Shryock d7c3221b02 providers/aws: Update Launch Config. docs to detail naming and lifecycle recommendation 2015-08-12 11:00:05 -05:00
Clint a1507c85f2 Merge pull request #2966 from stack72/launch-config-docs
Updating Launch Config Docs for Name attribute
2015-08-12 10:44:31 -05:00
Clint Shryock 58d8ae8b51 release: cleanup after v0.6.3 2015-08-11 11:42:54 -05:00
Clint Shryock 234f49a2c9 v0.6.3 2015-08-11 15:45:58 +00:00
Paul Hinze a18d76ef1e Update CHANGELOG.md 2015-08-11 09:57:57 -05:00
Paul Hinze 88dcb24c91 Merge pull request #2968 from hashicorp/b-orphan-module-deadlock
core: fix deadlock when dependable node replaced with non-dependable one
2015-08-11 09:56:21 -05:00
djworth 75c1475cc1 Convert int to int64 when building the cluster.NodeConfig struct
related to issue https://github.com/hashicorp/terraform/issues/2901
2015-08-11 08:27:32 -04:00
Radek Simko 8df1decd71 Merge pull request #2969 from alex/patch-1
Fixed indentation in a code sample
2015-08-11 09:27:12 +01:00
Paul Hinze 52c4bfbe98 core: fix deadlock when dependable node replaced with non-dependable one
In #2884, Terraform would hang on graphs with an orphaned resource
depended on an orphaned module.

This is because orphan module nodes (which are dependable) were getting
expanded (replaced) with GraphNodeBasicSubgraph nodes (which are _not_
dependable).

The old `graph.Replace()` code resulted in GraphNodeBasicSubgraph being
entered into the lookaside table, even though it is not dependable.

This resulted in an untraversable edge in the graph, so the graph would
hang and wait forever.

Now, we remove entries from the lookaside table when a dependable node
is being replaced with a non-dependable node. This means we lose an
edge, but we can move forward. It's ~probably~ never correct to be
replacing depenable nodes with non-dependable ones, but this tweak
seemed preferable to tossing a panic in there.
2015-08-10 15:50:36 -05:00
Paul Hinze 7a464b1156 tests: extract deadlock checking test helper 2015-08-10 15:50:36 -05:00
Paul Hinze 9cd88810f4 core: log every 5s while waiting for dependencies
Helps to flush out deadlocks in the dependency graph
2015-08-10 15:50:36 -05:00
Alex Gaynor a419cb3005 Fixed indentation in a code sample 2015-08-10 16:48:32 -04:00
Paul Hinze 1a44b427a7 state/remote/s3: match with upstream changes 2015-08-10 15:46:22 -05:00
Paul Hinze ca993a5a5e provider/aws: match with upstream changes 2015-08-10 15:39:47 -05:00
Radek Simko f8d4a440cb google: Add example of two-tier app 2015-08-09 15:33:03 +01:00
Paul Stack 38ef406b87 Updating Launch Config Docs for Name attribute
Hopefully this will help clear up this type of confusion https://github.com/hashicorp/terraform/issues/2958
2015-08-08 14:13:09 +01:00
Clint d4f67bfa67 Update CHANGELOG.md 2015-08-07 12:56:07 -05:00
Clint 6c7fe13d93 Merge pull request #2959 from hashicorp/b-aws-iam-validation
provider/aws: Fail silently in ValidateCredentials for IAM users
2015-08-07 12:54:37 -05:00
Paul Hinze e38615000a Update CHANGELOG.md 2015-08-07 12:49:35 -05:00
Paul Hinze 107e2465c7 Merge pull request #2963 from hashicorp/b-dag-errs-should-cascade
core: dag errors should cascade to all descendents
2015-08-07 12:45:10 -05:00
Clint Shryock eb90457223 guard on both accessdenied (no IAM policy) and validationerror (no username specified) 2015-08-07 11:55:44 -05:00
Clint Shryock 31fab62bfd provider/aws: Fail silently in ValidateCredentials for IAM users 2015-08-07 11:40:50 -05:00
Paul Hinze baa33d7326 core: dag errors should cascade to all descendents
We weren't marking skipped nodes as failing, so any
grandchild-and-deeper dependencies would still evaluate.

For example:

    A -> B -> C -> D

If B failed, C would be skipped, but D would still be evaluated.

This fixes the behavior so C, D, and any further descendents will all be
skipped when B fails.

Addresses crashing aspect of #2955 and likely a lot of other confusing
failure modes.
2015-08-07 11:38:58 -05:00
Clint f238e254f4 Merge pull request #2944 from hashicorp/b-aws-document-lifecycle-dep
Document `create_before_destroy` limitation
2015-08-06 16:48:23 -05:00
Clint Shryock fd2b943c9d release: clean up after v0.6.2 2015-08-06 14:35:18 -05:00
David Laing 79d8fde09c Pass key_name and subnetId to spot instance request 2015-08-06 20:22:10 +01:00
Clint Shryock f26d2b75c8 v0.6.2 2015-08-06 18:59:05 +00:00
Clint Shryock c1daf23a5d provider/aws: Fix issues with TestAccAWSPolicyAttachment_basic 2015-08-06 09:47:35 -05:00
Clint fce1356988 Update CHANGELOG.md 2015-08-05 14:43:56 -05:00
Clint Shryock a1a78bd482 provider/aws: Add ARN to Dynamo schema 2015-08-05 14:43:26 -05:00
Clint b779144a1e Merge pull request #2924 from calvinfo/f-aws-dynamo-arn
provider/aws: Add arn attribute for DynamoDB tables
2015-08-05 14:42:20 -05:00
Clint a388f12a05 Update CHANGELOG.md 2015-08-05 14:31:23 -05:00