Commit Graph

5293 Commits

Author SHA1 Message Date
Clint Shryock d81e63cc3c provider/aws: ElastiCache test updates
- rename test to have _basic suffix, so we can run it individually
- use us-east-1 for basic test, since that's probably the only region that has
  Classic
- update the indexing of nodes; cache nodes are 4 digits
2015-05-14 13:57:01 -05:00
Clint Shryock 10fc184c97 add tags helper library for ElastiCache 2015-05-14 12:32:40 -05:00
Mitchell Hashimoto 533933f1ca update CHANGELOG 2015-05-14 10:01:00 -07:00
Mitchell Hashimoto b6906f9158 Merge pull request #1959 from hashicorp/b-refresh-blank-id
helper/schema: blank ID refresh doesn't exist [GH-1905]
2015-05-14 10:00:23 -07:00
Mitchell Hashimoto 32f6eb77f3 Merge pull request #1960 from hashicorp/b-lc-ami
provider/aws: bad AMI won't block LC refresh [GH-1901]
2015-05-14 09:58:58 -07:00
Mitchell Hashimoto a352626093 Merge pull request #1958 from hashicorp/b-env-var-validate
terraform: validation should succeed if env var set [GH-1930]
2015-05-14 09:58:48 -07:00
Mitchell Hashimoto 0728e25f43 terraform: env vars are lower priority 2015-05-14 09:58:30 -07:00
Clint Shryock 2809280e98 cleanup 2015-05-14 11:51:08 -05:00
Clint Shryock d8f3783d09 provider/aws: Add tag support to ElastiCache 2015-05-14 11:44:24 -05:00
Clint Shryock aad0808cc5 make parameter group optional 2015-05-14 11:12:07 -05:00
Paul Hinze a56d58db20 Update CHANGELOG.md 2015-05-14 11:10:34 -05:00
Clint Shryock a552db0c8c provider/aws: ElastiCache enhancements
- request cache node info
- read after create, to populate nodes
2015-05-14 11:10:21 -05:00
Paul Hinze f0b85d465e Merge pull request #1966 from hashicorp/f-aws-db-instance-license-model
provider/aws: add license_model to db_instance
2015-05-14 11:09:45 -05:00
Paul Hinze 7d9ee79660 provider/aws: add license_model to db_instance 2015-05-14 09:57:51 -05:00
Paul Hinze 6f3ce6bf3c WIP export cache nodes
Needs to wait for len(cluster.CacheNodes) == cluster.NumCacheNodes, since
apparently that takes a bit of time and the initial response always has
an empty collection of nodes
2015-05-14 09:16:39 -05:00
Mitchell Hashimoto 8a3b75d361 Merge pull request #1957 from jtopjian/openstack-volume-fixes
provider/openstack: Minor volume fixes
2015-05-13 20:36:15 -07:00
Mitchell Hashimoto e7c6cb22c5 provider/aws: bad AMI won't block LC refresh [GH-1901] 2015-05-13 20:28:36 -07:00
Mitchell Hashimoto ad62be8642 website: parameter_group_name for elasticache cluster required [GH-1929] 2015-05-13 20:23:37 -07:00
Mitchell Hashimoto 0c9e95a32f website: note that interpolations can be escaped 2015-05-13 20:22:14 -07:00
Mitchell Hashimoto 77a61157fb command/push: var/var-file supported, note in help [GH-1950] 2015-05-13 20:18:40 -07:00
Mitchell Hashimoto dd24ed4b76 helper/schema: blank ID refresh doesn't exist [GH-1905] 2015-05-13 20:15:13 -07:00
Mitchell Hashimoto fe74d69852 terraform: validation should succeed if env var set [GH-1930] 2015-05-13 20:09:05 -07:00
Mitchell Hashimoto 442376c8e4 update CHANGELOG 2015-05-13 20:01:49 -07:00
Joe Topjian 4daaacd292 Minor volume fixes
This commit follows suit of #1897 by fixing volume-related
parameters which allow the volume attach acceptance test
to work. It also re-enables the volume attach test.
2015-05-14 02:59:21 +00:00
Mitchell Hashimoto 88dde91e15 Merge pull request #1956 from dtan4/fix-iam-group-policy-mistake
website: Fix argument mistake in IAM group policy document
2015-05-13 18:37:23 -07:00
Daisuke Fujita 89c97787df Fix argument mistake in IAM group policy document 2015-05-14 10:34:02 +09:00
Mitchell Hashimoto 6982ebc142 Merge pull request #1955 from ctiwald/ct/fix-vet-complaints
Fix three trivial errors 'go vet' discovered.
2015-05-13 18:24:42 -07:00
Christopher Tiwald 2252b83d9a Fix three trivial errors 'go vet' discovered. 2015-05-13 21:23:07 -04:00
Paul Hinze f0e6d0f97e docs: fix cidr_block on aws SG egress
fixes #1936
2015-05-13 18:41:41 -05:00
Paul Hinze c435e3efb6 Merge pull request #1953 from hashicorp/b-no-roots-found
core: respect roots in CBD transform
2015-05-13 17:57:31 -05:00
Paul Hinze 842d66183b core: respect roots in CBD transform
Because CBD now runs after a RootTransformer, it's now operating on a
graph that _may_ have had a graphNodeRoot added to it (a noop node whose
only purpose is to be a root).

CBD includes a step that tells the destroy node to depend on any parents
of the create node. When one of those parents was "root", this was
causing the destroy node to depend on "root", making it cease to be an
actual root node.

Because graphNodeRoot is a singleton, the follow-up RootTransformer was
not sufficient to slap another root on top - it wasn't being seen as a
fresh node, so edges were just accumulating, and we ended up in a state
with "no roots".

refs #1903 (not sure if this will fix all the "no root found" cases, or
just the one I bumped into)
2015-05-13 17:53:42 -05:00
Paul Hinze e1b4bf3ce0 Merge pull request #1949 from hashicorp/b-module-cbd-computed-count-deadlock
core: fix deadlock w/ CBD + modules
2015-05-13 13:24:00 -05:00
Paul Hinze b0eafeb212 core: fix deadlock w/ CBD + modules
fixes #1947

Root cause was a bad edge being made by the CBD transform going from the
flattened destroy node to the unflattened create node, which was no
longer in the graph. The destroy node therefore had a dependency that
could never be satisfied, which locked up the walk.
2015-05-13 13:05:43 -05:00
Paul Hinze 725f66796b Merge pull request #1944 from hashicorp/b-flatten-orphan-modules
core: flatten orphan modules
2015-05-13 11:57:58 -05:00
Paul Hinze 63241c991b core: flatten disabled providers 2015-05-13 11:50:11 -05:00
Paul Hinze a5e4e3de59 core: flatten orphan modules 2015-05-13 11:33:29 -05:00
Radek Simko c003e9690f Merge pull request #1941 from uzyexe/fix_missing_resource_name_iam_group_policy
Missing "aws_" in website docs for aws_iam_group_policy
2015-05-13 10:25:06 +01:00
uzyexe 2043698819 missing is "aws_" 2015-05-13 17:17:33 +09:00
Radek Simko 8cb2063474 update CHANGELOG 2015-05-13 07:44:31 +01:00
Radek Simko 5d6eff03be Merge pull request #1829 from josharian/formatlist
config: add formatlist
2015-05-13 07:35:56 +01:00
Clint Shryock 898fa91595 network acl cleanups 2015-05-12 22:23:55 -05:00
Josh Bleecher Snyder 02e751e356 config: add formatlist
formatlist distributes formatting over lists.
See the docs for details.

As a colleague commented:

"It happens all the time that we want a set of
outputs, but in a slightly different way than
just simple joining or concatting."

formatlist (combined with join)
makes it easy to satisfy those needs.
2015-05-12 16:11:42 -07:00
Josh Bleecher Snyder a3f79cd790 config: fix minor comment errors 2015-05-12 16:11:19 -07:00
Sander van Harmelen 75f000e0cc Merge pull request #1937 from svanharmelen/update-changelog
Adding Chef provisioner info to the CHANGELOG
2015-05-12 23:59:59 +02:00
Sander van Harmelen 57666d4233 Adding Chef provisioner info to the CHANGELOG 2015-05-12 23:56:32 +02:00
Radek Simko a4c9dd6271 Merge pull request #1935 from TimeIncOSS/iam_role_docs
Add docs for aws_iam_role + clean up examples in IAM docs
2015-05-12 22:50:32 +01:00
Radek Simko 0c07fa359b Add missing EOF to iam_role_policy example 2015-05-12 22:29:36 +01:00
Radek Simko b5f0dc867b Fix incorrect parameter name 2015-05-12 22:29:36 +01:00
Radek Simko c214130401 aws: Reorder resources in IAM examples in docs
- This is to make relevant resources more visible
2015-05-12 22:29:36 +01:00
Radek Simko f24e8c7b53 Add docs for aws_iam_role 2015-05-12 22:29:35 +01:00