Commit Graph

6363 Commits

Author SHA1 Message Date
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
Clint 56e2894ae5 Merge pull request #2898 from hashicorp/f-aws-s3-object-pr-2079
provider/aws: Add S3 Bucket Object (supercedes #2079)
2015-08-05 14:30:07 -05:00
Clint Shryock bfaea76b86 more tightly scope s3 bucket object error 2015-08-05 14:27:34 -05:00
Clint Shryock 285b4061db Merge remote-tracking branch 'upstream/master' into f-aws-s3-object-pr-2079
* upstream/master:
  Update CHANGELOG.md
  Update CHANGELOG.md
  provider/aws: allow external ENI attachments
  Update AWS provider documentation
  docs/aws: Fix example of aws_iam_role_policy
  provider/aws: S3 bucket test that should fail
  provider/aws: Return if Bucket not found
  Update CHANGELOG.md
  Update CHANGELOG.md
  helper/schema: record schema version when destroy fails
  settings file is not required
  provider/azure: Allow settings_file to accept XML string
  add note to aws_iam_policy_attachment explaining its use/limitations
  docs: clarify template_file path information
  google: Sort resources by alphabet in docs
  Support go get in go 1.5
  Update CHANGELOG.md
  aws_network_interface attachment block is not required
  provider/aws: Fix issue in Security Group Rules where the Security Group is not found
2015-08-05 13:45:06 -05:00
Clint 0c909a4343 Update CHANGELOG.md 2015-08-05 13:32:08 -05:00
Clint 941ce5560a Merge pull request #2925 from hashicorp/b-aws-s3-return-on-err
provider/aws: Return if Bucket not found
2015-08-05 13:31:21 -05:00
Clint Shryock 13e50e684c Document that create_before_destroy cannot depend on resources that are not also create_before_destroy 2015-08-05 11:59:08 -05:00
Paul Hinze 29d4a3ee0a Update CHANGELOG.md 2015-08-05 11:14:53 -05:00
Paul Hinze fd10cebb21 Merge pull request #2943 from hashicorp/b-allow-external-eni-attachments 2015-08-05 11:13:49 -05:00
Paul Hinze 3de3002b49 provider/aws: allow external ENI attachments
If Terraform creates an ENI and it's attached out of band, Terraform
should not attempt to remove the attachment on subsequent runs.

fixes #2436
fixes #2881
2015-08-05 11:07:07 -05:00
Clint 3e1300e96b Merge pull request #2913 from GrayCoder/master
add note to aws_iam_policy_attachment explaining its use/limitations
2015-08-05 10:00:39 -05:00
Clint 1f80313004 Merge pull request #2938 from PavelVanecek/patch-1
Update AWS provider documentation
2015-08-05 08:12:59 -05:00
Pavel Vaněček d649af8813 Update AWS provider documentation
Changed `AWS_SECURITY_TOKEN` to `AWS_SESSION_TOKEN`
2015-08-05 14:40:26 +02:00
Cameron Stokes ca252ccee9 Changed math example to use spaces between math operator 2015-08-04 11:12:24 -07:00
Cameron Stokes 30d57bf1ec Clarify math operations available for interpolation
As reported in #2782, the math operations, specifically subtraction,
can cause unexpected behavior when resource or variable names use hyphens.

I added clarification about using spaces with math operators as well as
which operations are available.
2015-08-04 11:09:43 -07:00
Radek Simko 41c732dd6c Merge pull request #2930 from TimeIncOSS/docs-iam-role-policy-fix
docs/aws: Fix example of aws_iam_role_policy
2015-08-04 12:13:18 +01:00
Clint Shryock 8d5fe93152 conditionally set InstanceInitiatedShutdownBehavior 2015-08-04 06:09:47 -05:00
Radek Simko 57c2c90e20 docs/aws: Fix example of aws_iam_role_policy 2015-08-04 11:57:05 +01:00