Commit Graph

4733 Commits

Author SHA1 Message Date
Travis Truman 4dc7e083ef Adding doc that explains how to configure/use logging 2015-04-28 09:43:39 -04:00
Justin Campbell 6f4b7b25c6 providers/dnsimple: default ttl to 3600
Since the field is optional and DNSimple defaults it to 3600 on their end, `terraform plan` currently will report `ttl: "3600" => ""`.
2015-04-28 09:20:23 -04:00
Paul Hinze f952228696 Merge pull request #1703 from captainpete/patch-1
Update README.md
2015-04-28 06:51:27 -05:00
Peter Hollows c8c0d3ef9f Update README.md
Fix dead link
2015-04-28 21:08:43 +10:00
Paul Hinze 120cfdce59 provider/aws: fix EIPs on new upstream sdk
As we've seen elsewhere, the SDK now wants nils instead of empty arrays
for collections

fixes #1696

thanks @jstremick for pointing me in the right direction
2015-04-27 19:55:26 -05:00
Seth Vargo 68df1e6e4d Merge pull request #1700 from jlund/patch-1
Fix minor typo in DME documentation.
2015-04-27 19:54:30 -04:00
Joshua Lund 68e4fcc614 Fix minor typo in DME documentation. 2015-04-27 17:48:38 -06:00
Paul Hinze 56d7012c49 Merge pull request #1690 from lyrixx/doc-intro-modules-consul
[Doc] Fixed link
2015-04-27 16:45:06 -05:00
aznashwan d64dd99d4d Fixed/added docstrings in aws provider package. 2015-04-27 21:06:49 +03:00
Paul Hinze ce49dd6080 core: graph command gets -verbose and -draw-cycles
When you specify `-verbose` you'll get the whole graph of operations,
which gives a better idea of the operations terraform performs and in
what order.

The DOT graph is now generated with a small internal library instead of
simple string building. This allows us to ensure the graph generation is
as consistent as possible, among other benefits.

We set `newrank = true` in the graph, which I've found does just as good
a job organizing things visually as manually attempting to rank the nodes
based on depth.

This also fixes `-module-depth`, which was broken post-AST refector.
Modules are now expanded into subgraphs with labels and borders. We
have yet to regain the plan graphing functionality, so I removed that
from the docs for now.

Finally, if `-draw-cycles` is added, extra colored edges will be drawn
to indicate the path of any cycles detected in the graph.

A notable implementation change included here is that
{Reverse,}DepthFirstWalk has been made deterministic. (Before it was
dependent on `map` ordering.) This turned out to be unnecessary to gain
determinism in the final DOT-level implementation, but it seemed
a desirable enough of a property that I left it in.
2015-04-27 09:23:47 -05:00
Travis Truman eb977aa5fd Clarify that the security group resource can have many rules 2015-04-27 10:05:54 -04:00
Paul Hinze 5e67657325 core: fix targeting in destroy w/ provisioners
The `TargetTransform` was dropping provisioner nodes, which caused graph
validation to fail with messages about uninitialized provisioners when a
`terraform destroy` was attempted.

This was because `destroy` flops the dependency calculation to try and
address any nodes in the graph that "depend on" the target node. But we
still need to keep the provisioner node in the graph.

Here we switch the strategy for filtering nodes to only drop
addressable, non-targeted nodes. This should prevent us from having to
whitelist nodes to keep in the future.

closes #1541
2015-04-27 08:36:54 -05:00
Grégoire Pineau a6716cc1a4 [Doc] Fixed link 2015-04-27 15:00:38 +02:00
Dainis Tillers 2fa8403673 Fix - typo in healthcheck names 2015-04-27 11:42:50 +03:00
skfmu 2c32988743 Added availability zones for OpenStack block storage. 2015-04-27 05:52:45 +00:00
Christopher Tiwald d42441f9cd aws: Add docs for app_cookie_stickiness_policy. 2015-04-26 18:57:40 -04:00
Christopher Tiwald 99ce8cf25e aws: Add acceptance test of aws_app_cookie_stickiness_policy. 2015-04-26 18:56:56 -04:00
Christopher Tiwald 0533d60195 aws: Add support for aws_app_cookie_stickiness_policy.
This resource represents a session stickiness policy in AWS, and can be
applied to an ELB's client-facing listeners.
2015-04-26 18:56:07 -04:00
Christopher Tiwald 30f8fd738a aws: Add docs for lb_cookie_stickiness_policy. 2015-04-26 18:05:43 -04:00
Christopher Tiwald 448fb4895f aws: Add acceptance test of aws_lb_cookie_stickiness_policy. 2015-04-26 18:05:40 -04:00
Christopher Tiwald 0120899f2a aws: Add support for aws_lb_cookie_stickiness_policy.
This resource represents a session stickiness policy in AWS, and can be
applied to an ELB's client-facing listeners.
2015-04-26 18:05:37 -04:00
Mike Zupan 0177be2a66 need to update aws with the change if there is one 2015-04-25 20:00:04 -07:00
Mike Zupan 9fe6317348 don't need to create a new ASG for this change
Tested

```
aws_autoscaling_group.rabbit: Modifying...
  health_check_grace_period: "200" => "3000"
aws_autoscaling_group.rabbit: Modifications complete
```
2015-04-25 19:50:33 -07:00
Tomotaka Sakuma f3d9a287e1 support aws resource ElastiCache 2015-04-26 10:53:21 +09:00
Mitchell Hashimoto 3d367794e9 Merge pull request #1676 from justincampbell/providers-link-from-resources
website: doc home link goes back to providers from resource
2015-04-25 17:07:07 -07:00
Paul Hinze 37c693e8ce Merge pull request #1672 from PeopleNet/vpc_peering_tags
Fix for #1664. Apply AWS VPC Peering Conn. tags on create.
2015-04-25 09:37:28 -05:00
Paul Hinze 3ba3441635 Merge pull request #1677 from justincampbell/s3-canned-acl-link
website: Link to canned ACL list for s3 buckets
2015-04-25 09:01:02 -05:00
Justin Campbell 17ef529ac3 website: Link to canned ACL list for s3 buckets 2015-04-25 07:35:53 -04:00
Justin Campbell 774e7c31a2 Doc home link goes back to providers from resource
Changes the "Documentation Home" link in the sidebar to go back to the
list of providers instead of all the way back to the documentation home
page.
2015-04-25 07:28:51 -04:00
Mitchell Hashimoto 66c06b0f7a Merge pull request #1668 from tpounds/fix-comment-typos
Fix comment typos.
2015-04-25 09:40:58 +01:00
John Engelman c2fa397ec8 Fix for #1664. Apply AWS VPC Peering Conn. tags on create. 2015-04-24 16:12:20 -05:00
Trevor Pounds fe62312617 Fix comment typos. 2015-04-24 10:25:19 -07:00
Gavin James c986c65238 update security groups in-place 2015-04-23 20:57:37 +01:00
Daisuke Fujita 5813c22c3e Remove extra = signs from Network ACL document 2015-04-24 03:11:00 +09:00
Trevor Pounds 17b31925fe Prevent negative hashcodes for all set operations. 2015-04-23 09:32:07 -07:00
Paul Hinze d4b9362518 core: validate on verbose graph to detect some cycles earlier
Most CBD-related cycles include destroy nodes, and destroy nodes were
all being pruned from the graph before staring the Validate walk.

In practice this meant that we had scenarios that would error out with
graph cycles on Apply that _seemed_ fine during Plan.

This introduces a Verbose option to the GraphBuilder that tells it to
generate a "worst-case" graph. Validate sets this to true so that cycle
errors will always trigger at this step if they're going to happen.

(This Verbose option will be exposed as a CLI flag to `terraform graph`
in a second incoming PR.)

refs #1651
2015-04-23 11:07:13 -05:00
Mitchell Hashimoto 1ef9731a2f update CHANGELOG 2015-04-23 17:37:00 +02:00
Mitchell Hashimoto 10fa50ce35 Merge pull request #1654 from hashicorp/b-neg-code
helper/schema: allow set items with hyphens
2015-04-23 17:36:30 +02:00
Mitchell Hashimoto 707aa36aec helper/schema: only use ~ on first char of code 2015-04-23 17:20:54 +02:00
Henrik Hodne 769f456028 aws: add propagating_vgws to route tables 2015-04-23 15:03:45 +00:00
Mitchell Hashimoto 77314a01d2 helper/schema: disallow negative hash codes 2015-04-23 16:57:26 +02:00
Luke Amdor fe2d9ea3cc sorting the name_server entries 2015-04-23 08:48:19 -05:00
Paul Hinze 8c3fba6d24 Update CHANGELOG.md 2015-04-23 07:50:56 -05:00
Paul Hinze 51c021d5af Update CHANGELOG.md 2015-04-23 07:49:34 -05:00
Paul Hinze ca8e405273 Merge pull request #1647 from TimeIncOSS/update-docs
Update docs for Route53 + S3 bucket
2015-04-23 07:41:59 -05:00
Paul Hinze 10b73f95ae Merge pull request #1635 from hashicorp/b-net-acls-blank-id
providers/aws: network_acl, remove blank filter
2015-04-23 07:32:04 -05:00
Paul Hinze 69ef012dfc Merge pull request #1632 from hashicorp/f-generate-sg-names
unique identifier helper for resources / generate AWS security group names
2015-04-23 07:25:23 -05:00
Radek Simko 17baf0bb2f tags added to s3_bucket docs 2015-04-23 13:25:13 +01:00
Radek Simko 9b182c13dd route53_zone - docs updated (tags + name_servers) 2015-04-23 13:22:04 +01:00
Mitchell Hashimoto a4cfa2ef0c Merge pull request #1646 from pmoust/elb-default-idle-timeout
providers/aws: aws_elb incr. idle_timeout to 60s
2015-04-23 12:27:46 +02:00