Commit Graph

4698 Commits

Author SHA1 Message Date
Paul Hinze 88744d569f helper/resource/testing: unit tests to cover #1770
Also clarified that final return value of testStep is now only for the
happy path.
2015-05-01 11:22:06 -05:00
Paul Hinze 5d07394971 Merge pull request #1770 from hashicorp/b-fix-acctest
helper/resource: fix accidentaly swallowing of acctest step errors
2015-05-01 11:15:37 -05:00
Paul Hinze dbf6d1bd00 helper/resource: fix accidentaly swallowing of acctest step errors
With #1757 I unwittingly reused an err variable, causing all test check
errors to be swallowed. -_-
2015-05-01 11:11:16 -05:00
Radek Simko bafabf17be provider/aws: Expose zone_id from elb 2015-05-01 08:07:33 +01:00
Mitchell Hashimoto 12c30feb0f terraform: start FlattenGraph impl. 2015-04-30 20:46:54 -07:00
Mitchell Hashimoto 5e767f63b9 terraform: move module to its own file 2015-04-30 19:23:52 -07:00
Dave Cunningham 85cc4ec0c1 Use a set for service account scopes. Fix #1759 2015-04-30 21:21:21 -04:00
Mitchell Hashimoto 15ca84a682 terraform: module dependencies in graph use full name (FOR THE FUTURE) 2015-04-30 17:19:01 -07:00
Mitchell Hashimoto 90cfade626 terraform: naive flatten 2015-04-30 17:02:39 -07:00
Mitchell Hashimoto 1152ff562b terraform: add variables as graph nodes (no eval yet) 2015-04-30 16:27:20 -07:00
Paul Hinze e3616d391a Update CHANGELOG.md 2015-04-30 17:43:41 -05:00
Paul Hinze d230cfb907 Merge pull request #1721 from managedbyq/aws_dhcp_options
providers/aws: Implements DHCP Options Set support.
2015-04-30 17:13:15 -05:00
Camilo Aguilar 338ae601bc providers/aws: Implements DHCP Options Set support. 2015-04-30 17:52:04 -04:00
Mitchell Hashimoto a8165fea11 update CHANGELOG 2015-04-30 14:36:57 -07:00
Mitchell Hashimoto 12a088f6c5 Merge pull request #1744 from hashicorp/b-module-output-validate
config: add module raw configs to InterpolatedConfigs [GH-1448]
2015-04-30 14:36:33 -07:00
Paul Hinze 430e00c55c Merge pull request #1763 from hashicorp/b-fix-1699
core: fix targeting with non-word chars
2015-04-30 16:34:19 -05:00
Mitchell Hashimoto bd7d73791e update CHANGELOG 2015-04-30 14:27:51 -07:00
Mitchell Hashimoto aaf94e7cec Merge pull request #1745 from hashicorp/b-openstack-bool
provider/openstack: enable_dhcp should be bool [GH-1741]
2015-04-30 14:27:14 -07:00
Paul Hinze 29d34cd5a4 command: allow module depth to be set via env var
Another convienence env var here with TF_MODULE_DEPTH.

Works like you'd expect it to!
2015-04-30 16:19:43 -05:00
Paul Hinze 15b9bde1fe providers/aws: add _cluster to aws_elasticache
This AWS calls the actual resources "Cache Clusters" so it seems like
this name makes more sense.

Verified all Elasticache acc tests pass.
2015-04-30 16:12:08 -05:00
Paul Hinze f843370f13 Update CHANGELOG.md 2015-04-30 16:10:50 -05:00
Paul Hinze a9de720a4e Merge pull request #1708 from hashicorp/f-elb-source-security-group
providers/aws: add source_security_group to elb
2015-04-30 16:10:02 -05:00
Paul Hinze 754eb8c77d Update CHANGELOG.md 2015-04-30 16:09:50 -05:00
Paul Hinze d30d88e327 Merge pull request #1655 from hashicorp/f-build-graph-during-plan
core: validate on verbose graph to detect some cycles earlier
2015-04-30 16:08:33 -05:00
Paul Hinze 01450b420f Update CHANGELOG.md 2015-04-30 16:05:31 -05:00
Paul Hinze 443c7e053f Merge pull request #1544 from hashicorp/b-destroy-target-provisioner
core: fix resource targeting w/ provisioners
2015-04-30 16:03:17 -05:00
Paul Hinze 9295e1eca6 core: fix targeting with non-word chars
Flips the regex strategy to capture everything that's _not_ the next
separator instead of whitelisting `\w`

fixes #1699
2015-04-30 15:49:37 -05:00
Mitchell Hashimoto 1061bbfbfe update CHANGELOG 2015-04-30 13:27:28 -07:00
Mitchell Hashimoto c1ea4adae5 Merge pull request #1734 from hashicorp/b-output-orphan
Track orphaned outputs in the graph [GH-1714]
2015-04-30 13:26:59 -07:00
Mitchell Hashimoto 152298bcf0 update CHANGELOG 2015-04-30 13:26:42 -07:00
Mitchell Hashimoto af5ac59188 Merge pull request #1723 from apparentlymart/s3remotestate
S3 Remote State Backend
2015-04-30 13:25:33 -07:00
Paul Hinze 70491a7874 Merge pull request #1661 from hashicorp/f-graph-cycles
core: graph command gets -verbose and -draw-cycles
2015-04-30 15:24:05 -05:00
Paul Hinze cb3cbffb19 helper/schema: add test for statefunc with nested sets
refs #1759
2015-04-30 15:20:33 -05:00
Mitchell Hashimoto 5d2f735604 Merge pull request #1761 from hashicorp/d-provider-code-block-style
docs: Fix styling in provider code block
2015-04-30 13:18:41 -07:00
Paul Hinze 043387fc8f docs: Fix styling in provider code block
Font was different from rest of the page and very weird lookin'
2015-04-30 14:50:21 -05:00
Paul Hinze 99ce760569 Merge pull request #1756 from hashicorp/f-input-env-var
command: add env var equivalent to -input arg
2015-04-30 14:36:59 -05:00
Paul Hinze 0d0e40fd7b Merge pull request #1757 from hashicorp/f-acctest-refresh-and-plan-after-each-step
helper/resource: verify refresh+plan after each step
2015-04-30 14:33:44 -05:00
Clint 76e897fedb Merge pull request #1753 from hashicorp/f-aws-db-subnet-name
provider/aws: Fix refresh/plan issue with DB Param. Group name
2015-04-30 13:42:06 -05:00
Paul Hinze 149e52ad1f helper/resource: verify refresh+plan after each step
I forgot to add `Computed: true` when I made the "key_name" field
optional in #1751.

This made the behavior:

 * Name generated in Create and set as ID
 * Follow up plan (without refresh) was nice and empty
 * During refresh, name gets cleared out on Read, causing a bad diff on
   subsequent plans

We can automatically catch bugs like this if we add yet another
verification step to our resource acceptance tests -> a post
Refresh+Plan that we verify is empty.

I left the non-refresh Plan verification in, because it's important that
_both_ of these are empty after an Apply.
2015-04-30 12:52:25 -05:00
Paul Hinze a21f320b8e Update CHANGELOG.md 2015-04-30 12:16:40 -05:00
Paul Hinze 7ff18ececf Merge pull request #1751 from hashicorp/f-aws-key-name-gen-name
provider/aws: allow key_pair name to be generated
2015-04-30 12:15:39 -05:00
Clint 07e65ff803 Merge pull request #1755 from hashicorp/changlog-update-0.5.0-cts
Update CHANGELOG
2015-04-30 11:41:33 -05:00
Martin Atkins 53e93d6f63 S3 remote stage storage backend, against the new remote state API.
Stores state in a particular key in a given S3 bucket.
2015-04-30 09:21:49 -07:00
Paul Hinze b99611fa44 provider/aws: allow key_pair name to be generated
As a module author, I'd like to be able to create a module that includes
a key_pair.  I don't care about the name, I only know I don't want it to
collide with anything else in the account.

This allows my module to be used multiple times in the same account
without having to do anything funky like adding a user-specified unique
name parameter.
2015-04-30 10:33:14 -05:00
Clint Shryock 206323b630 adjust wording 2015-04-30 10:01:46 -05:00
Clint 89b50f7790 Merge pull request #1754 from ctiwald/ct/vpn-gateway-doc-fix
docs: vpn_gateway vpc_ids are optional, not required.
2015-04-30 09:59:56 -05:00
Paul Hinze 5f1ea7fccc command: add env var equivalent to -input arg
Setting TF_INPUT has the equivalent effect of setting the flag.
I got sick of specifying this when iterating on TF config locally.
2015-04-30 09:59:14 -05:00
Clint Shryock 4093b103b8 update CHANGELOG 2015-04-30 09:50:52 -05:00
Christopher Tiwald 46296db9dc docs: vpn_gateway vpc_ids are optional, not required.
This is simply a mistake in the documentation. The code already leaves
this as optional.
2015-04-30 10:39:56 -04:00
Clint Shryock c006af9efe provider/aws: Fix refresh/plan issue with DB Param. Group name
Check against AWS with lowercase, but store in state unmodified.
2015-04-30 09:25:50 -05:00