Commit Graph

2861 Commits

Author SHA1 Message Date
Don Johnson e02c62347d Usage info for graph command was actually that of output 2014-12-14 17:21:43 +09:00
Greg Osuri 3883e47902 Fix for #664, crashed due to ig.Attachements being 0 2014-12-13 22:14:23 -08:00
Sander van Harmelen 83c760fcb3 core: refactoring the way sets work internally v2
This is a refactored solution for PR #616. Functionally this is still
the same change, but it’s implemented a lot cleaner with less code and
less changes to existing parts of TF.
2014-12-12 23:21:20 +01:00
Sander van Harmelen 69b2c245dd Merge pull request #662 from svanharmelen/master
core: fixing new test
2014-12-12 15:44:49 +01:00
Sander van Harmelen 4c23019ab7 core: fixing new test
Removed the ‘hashcode’ function so we didn’t need to import it here,
but also removed the needed type assertion.
2014-12-12 15:42:01 +01:00
Sander van Harmelen db640cb1dc Merge pull request #661 from svanharmelen/f-fix-difflist-logic-error
core: fixing a small logic bug in diffList
2014-12-12 15:31:22 +01:00
Sander van Harmelen 54db46ef1b Fixing a small logic bug in diffList
It’s not enough to only check if no new value is set. It can also be
that a new value is set, but contains a variable that cannot be
interpolated until a depending resource is created during the apply
fase.

I actually found this one as one of the acceptance tests for the AWS
ELB resource was failing. It failed with the following error:

```
--- FAIL: TestAccAWSELB_InstanceAttaching (177.83 seconds)
  testing.go:121: Step 1 error: Error applying: aws_elb.bar: diffs
didn't match during apply. This is a bug with the resource provider,
please report a bug.
FAIL
exit status 1
FAIL  github.com/hashicorp/terraform/builtin/providers/aws  177.882s
```

After a quick look I noticed it was actually a bug in core TF so added
the test and made sure all unit tests and AWS acceptance tests are now
running successfully.
2014-12-12 15:24:29 +01:00
Sander van Harmelen afe2cf8580 Merge pull request #660 from svanharmelen/f-fix-aws-network-acl
Fixing up the tests so they actually pass
2014-12-12 13:32:30 +01:00
Sander van Harmelen cc4710c952 Fixing up the tests so they actually pass
Running the tests without these changes results in this error first:

```
--- FAIL: TestAccAWSNetworkAclsOnlyIngressRulesChange (24.92 seconds)
  testing.go:121: Step 0 error: Check failed: Invalid number of ingress
entries found; count = %!s(int=3)
FAIL
exit status 1
FAIL  github.com/hashicorp/terraform/builtin/providers/aws  24.974s
```

And after fixing that one you also get a few unexpected values due to
an expected order mismatch between the items in the set versus the
items in the config.

Those are also fixed, so the test is passing now.
2014-12-12 13:25:44 +01:00
Armon Dadgar 7a3b4fa7ce Merge pull request #648 from yahyapo/master
Adding tag support to AWS EC2 route table resource.
2014-12-10 19:24:38 -08:00
Mitchell Hashimoto 9e6ce4b961 Merge pull request #643 from pmoust/patch-3
bump to 0.3.5
2014-12-10 13:36:04 -08:00
Sander van Harmelen 17bc60fb68 Merge pull request #645 from svanharmelen/f-cloudstack-provider
First release of a provider for CloudStack
2014-12-10 22:33:09 +01:00
Mitchell Hashimoto 8cb3e5715b remote: respect ATLAS_TOKEN 2014-12-10 13:27:12 -08:00
Mitchell Hashimoto f0de69b3c5 provider/atlas: bin 2014-12-10 13:27:12 -08:00
Mitchell Hashimoto aeecabbb33 v0.3.5 2014-12-10 13:27:12 -08:00
Mitchell Hashimoto d4722f4fdf Update CHANGELOG 2014-12-10 13:27:12 -08:00
Mitchell Hashimoto 14318059b8 Update CHANGELOG 2014-12-10 13:27:12 -08:00
Armon Dadgar 1e8b930b83 website: Adding newline 2014-12-10 13:27:11 -08:00
Mitchell Hashimoto edc4a277d6 provider/atlas: fix required token 2014-12-10 13:27:11 -08:00
Armon Dadgar 0ff62016ee provider/aws: Fixing ASG handling of not found 2014-12-10 13:27:11 -08:00
Mitchell Hashimoto 124d9fc0bd providers/atlas: make errors more readable 2014-12-10 13:27:11 -08:00
Armon Dadgar 4e503d1d64 website: Adding documentation for new commands 2014-12-10 13:27:11 -08:00
Armon Dadgar 8ceabbd8e6 website: Document missing flag 2014-12-10 13:27:11 -08:00
Armon Dadgar cce881aadd command/show: enable printing of remote state 2014-12-10 13:27:11 -08:00
Armon Dadgar 5f35c7852f website: Update CLI flags for existing commands 2014-12-10 13:27:11 -08:00
Armon Dadgar 493eaa3f21 website: add links to new commands 2014-12-10 13:27:11 -08:00
Armon Dadgar 21c29dd229 remote: Re-assert the MD5's match 2014-12-10 13:27:11 -08:00
Armon Dadgar 07e5f3ff41 command/remote: Improve UI output for remote 2014-12-10 13:27:11 -08:00
Armon Dadgar cdc89f3589 remote: Fixing atlas tests 2014-12-10 13:27:10 -08:00
Armon Dadgar bcd348aebd command: updating tests 2014-12-10 13:27:10 -08:00
Armon Dadgar 6a84be0686 command: updating for pluggable backends 2014-12-10 13:27:10 -08:00
Armon Dadgar dbaf4d3f2a remote: Standardize config names 2014-12-10 13:27:10 -08:00
Armon Dadgar de8ff3b981 remote: Expose delete state 2014-12-10 13:27:10 -08:00
Armon Dadgar 6a182c2684 remote: Cleanup the tests from refactor 2014-12-10 13:27:10 -08:00
Armon Dadgar f7b1299a9f remote: working on atlas remote backend 2014-12-10 13:27:10 -08:00
Armon Dadgar 88f94e35db remote: Added missing url test case 2014-12-10 13:27:10 -08:00
Armon Dadgar 0d2d112c19 remote: Consul remote tests 2014-12-10 13:27:10 -08:00
Armon Dadgar 0c4e4297e1 remote: Simplify RemoteClient setup 2014-12-10 13:27:10 -08:00
Armon Dadgar c1ecdd1e3d remote: Test HTTP validation 2014-12-10 13:27:10 -08:00
Armon Dadgar 02d8df93e4 remote: Testing http backend 2014-12-10 13:27:10 -08:00
Armon Dadgar c659a8305e remote: Moving to flexible factory + interface model 2014-12-10 13:27:09 -08:00
Armon Dadgar d821f7aaa6 terraform: Make RemoteState more flexible 2014-12-10 13:27:09 -08:00
Armon Dadgar 85bb01acd7 terraform: Fixing unit test 2014-12-10 13:27:09 -08:00
Armon Dadgar ba01e27026 command: Refresh remote state when loading 2014-12-10 13:27:09 -08:00
Armon Dadgar dab47b0d48 command/plan: remote enable 2014-12-10 13:27:09 -08:00
Armon Dadgar b6265cf1a2 command/refresh: Remote enable 2014-12-10 13:27:09 -08:00
Armon Dadgar 0fb87e499d command: Meta provides the state output path 2014-12-10 13:27:09 -08:00
Armon Dadgar 0c9436f37b command/output: Remote enable 2014-12-10 13:27:09 -08:00
Armon Dadgar 53704db4ee command: Enable reading remote-enabled state 2014-12-10 13:27:09 -08:00
Armon Dadgar bf10111745 command/apply: Move state persistence to Meta 2014-12-10 13:27:09 -08:00