Commit Graph

27359 Commits

Author SHA1 Message Date
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
Panagiotis Moustafellos 6bb8947d16 providers/aws: aws_elb incr. idle_timeout to 60s
per docs
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html
2015-04-23 12:46:52 +03:00
Daisuke Fujita 1182238f81 Add Network ACL tags document 2015-04-23 18:05:07 +09:00
Paul Hinze 381a0101b3 Merge pull request #1638 from thrashr888/patch-1
Typo in website docs for remote-exec
2015-04-22 17:13:43 -05:00
Paul Thrasher b7683d1a39 Typo in website docs for remote-exec
Just a simple typo fix.
2015-04-22 15:00:16 -07:00
Paul Hinze 6401635b97 providers/aws: network_acl, remove blank filter
The upstream behavior here changed, and the request needs a `nil`
instead of an empty slice to indicate that we _don't_ want to filter on
Network ACL IDs.

fixes #1634
2015-04-22 14:44:31 -05:00
Luke Amdor 6b5138328f changing route53_zone.name_servers back to list 2015-04-22 13:27:20 -05:00
Paul Hinze 079856620a provider/aws: set default SG description
because requiring a SG description is annoying
2015-04-22 13:27:20 -05:00
Paul Hinze 92ebb60293 helper/resource: ok let's actually use RFC4122 2015-04-22 13:16:44 -05:00
Paul Hinze 33de319293 provider/aws: allow SG names to be generated 2015-04-22 12:56:06 -05:00
Paul Hinze 94f703692c provider/aws: switch to helper for LC names 2015-04-22 12:53:47 -05:00
Paul Hinze d1106e9e22 helper/resource: add UniqueId() helper
A generic function for provider resources to use to get a unique
identifier.
2015-04-22 12:53:05 -05:00
Mitchell Hashimoto f0c8ae7d3f update CHANGELOG 2015-04-22 16:02:57 +02:00
Mitchell Hashimoto c1464b1c6d Merge pull request #1623 from hashicorp/b-private-ip-ssh
providers/aws: if no public IP, use private IP for SSH by default
2015-04-22 16:02:04 +02:00
Mitchell Hashimoto 341b2ff864 Merge pull request #1625 from hashicorp/b-panic-network-acl
provider/aws: fix potential panic when finding network ACL
2015-04-22 16:01:57 +02:00
Mitchell Hashimoto 791f59efbf Merge pull request #1624 from hashicorp/b-network-acl-proto
provider/aws: allow int for network acl entry [GH-1435]
2015-04-22 16:01:25 +02:00
Mitchell Hashimoto b80d6d8cf3 Merge pull request #1626 from hashicorp/b-computed-field-validate
helper/schema: validate unknown fields with computed values [GH-1507]
2015-04-22 16:00:08 +02:00
Mitchell Hashimoto feec773457 Update CHANGELOG.md 2015-04-22 15:54:31 +02:00
Mitchell Hashimoto ecc8b9dfc6 Merge pull request #1622 from hashicorp/b-self-in-module
config: error in validation if module has self variable [GH-1609]
2015-04-22 15:53:20 +02:00
Mitchell Hashimoto c177b90cee Update CHANGELOG.md 2015-04-22 15:52:28 +02:00
Mitchell Hashimoto af4396aa0d Merge pull request #1621 from hashicorp/f-envs
Set variables from env vars
2015-04-22 15:50:56 +02:00
Radek Simko 3aae74f60c route53_record docs - missing newline added 2015-04-22 14:09:06 +01:00
Mitchell Hashimoto 1f46bc1926 helper/schema: validate unknown fields with computed values [GH-1507] 2015-04-22 12:52:26 +02:00
Mitchell Hashimoto f77f77f9f8 provider/aws: fix potential panic when finding network ACL 2015-04-22 12:39:01 +02:00
Mitchell Hashimoto 19b3fa1a76 provider/aws: allow int for network acl entry [GH-1435] 2015-04-22 12:35:23 +02:00
Mitchell Hashimoto ec38a65dda providers/aws: if no public IP, use private IP for SSH by default 2015-04-22 12:25:28 +02:00
Mitchell Hashimoto a27890b1a6 update CHANGELOG 2015-04-22 12:10:52 +02:00
Mitchell Hashimoto 8ca42f832e Merge pull request #1525 from Banno/route53-zone-nameservers
providers/aws: Expose Route53 zone nameservers for parent zone NS record
2015-04-22 12:10:27 +02:00
Mitchell Hashimoto cca4964552 config: error in validation if module has self variable 2015-04-22 10:39:07 +02:00
Mitchell Hashimoto 5f4e2d9b27 website: clarify script args [GH-236] 2015-04-22 09:03:38 +02:00
Mitchell Hashimoto c58e09abaa state/remote: make malformed name message clearer [GH-1332] 2015-04-22 08:59:30 +02:00
Mitchell Hashimoto ffcb78dcba update cHANGELOG 2015-04-22 08:51:22 +02:00
Mitchell Hashimoto 9037a3a4bc Merge pull request #1426 from dainis/master
provider/google: add additional options to google provider
2015-04-22 08:50:22 +02:00
Mitchell Hashimoto d02abb7a8c Merge pull request #1484 from sparkprime/deprecate-network
deprecate google instance 'network' attribute in favor of network_interface
2015-04-22 08:49:04 +02:00
Mitchell Hashimoto 11e6e89f73 provider/aws: make tests public and run them 2015-04-22 08:44:24 +02:00