Commit Graph

6093 Commits

Author SHA1 Message Date
Paul Hinze 3aade883b6 Update CHANGELOG.md 2015-06-29 13:37:41 -05:00
aznashwan 7429027a8c Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
Paul Hinze 6bbf61ae6e Merge pull request #2555 from hashicorp/b-target-after-flatten
core: move targets transform after flatten
2015-06-29 13:34:52 -05:00
Paul Hinze 3060050a30 Merge pull request #2527 from hashicorp/b-close-provider-target
core: fix provider/close provider race when targeting
2015-06-29 13:34:45 -05:00
Paul Hinze cf432b3ceb core: move targets transform after flatten
Allows target dependencies to be properly calculated across module
boundaries, fixing scenarios where a target depends on something inside
a module, but the contents of the module are not included in the
targeted resources.

fixes #1858
2015-06-29 13:19:37 -05:00
Paul Hinze 184edbefcd core: remove now-unused flatten impls of close nodes
/cc @mitchellh
2015-06-29 12:46:24 -05:00
Paul Hinze 557b299c4b core: move close transforms after flatten and destroy transforms
fixes destroy-related failures introduced by the close transforms
2015-06-29 12:46:18 -05:00
Mitchell Hashimoto 54d586f9b3 Update CHANGELOG.md 2015-06-29 10:37:07 -07:00
Mitchell Hashimoto 686076526b Merge pull request #2543 from hashicorp/b-elastic-ip-destroy
provider/aws: ignore association not exist on EIP destroy [GH-2295]
2015-06-29 10:35:20 -07:00
Mitchell Hashimoto 4b5b6b6942 Merge pull request #2544 from hashicorp/b-vpc-peer-failed
providers/aws: vpc peering failed == deleted [GH-2322]
2015-06-29 10:35:15 -07:00
Mitchell Hashimoto b257efa51a Merge pull request #2545 from hashicorp/b-cloudflare-not-found
providers/cloudflare: if resource no longer exists, set ID to ""
2015-06-29 10:35:08 -07:00
Mitchell Hashimoto 9100ad57f6 Merge pull request #2546 from hashicorp/b-dme-not-found
providers/dme: unable to find record, set ID to "" [GH-2440]
2015-06-29 10:34:43 -07:00
Mitchell Hashimoto d6f7261190 terraform: provider mock should close itself to find bugs 2015-06-29 10:33:37 -07:00
Paul Hinze 12e429c69c Merge pull request #2542 from jszwedko/fix-docker-image-field
The docker-image resource expects name, not image
2015-06-29 12:31:28 -05:00
Paul Hinze f675a11f7c Merge pull request #2541 from pikeas/patch-1
Add $PATH change to dev instructions
2015-06-29 12:30:16 -05:00
Mitchell Hashimoto 0be6bee5f6 Update CHANGELOG.md 2015-06-29 10:24:21 -07:00
Mitchell Hashimoto 63466121f4 Merge pull request #2532 from hashicorp/b-vpc-retry
provider/aws: vpc delete retry on dependency violation [GH-1628]
2015-06-29 10:23:34 -07:00
Mitchell Hashimoto 9c9fe38fd8 Merge pull request #2531 from hashicorp/b-aws-instance-refresh
providers/aws: set AMI on read for instance [GH-1571]
2015-06-29 10:21:30 -07:00
Paul Hinze 00a177cd99 provider/aws: add test for provider aliases
Not sure if this test has value /cc @mitchellh (who requested one be
added) to see what I might be missing here.

refs #2495
2015-06-29 11:35:02 -05:00
Paul Hinze 2d6a8c1f39 core: fix provider/close provider race when targeting
When targeting prunes out all the resource nodes between a provider and
its close node, there was no dependency to ensure the close happened
after the configure. Needed to add an explicit dependency from the close
to the provider.

This tweak highlighted the fact that CloseProviderTransformer needed to
happen after DisableProviderTransformer, since
DisableProviderTransformer inspects up-edges to decide what to disable,
and CloseProviderTransformer adds an up-edge.

fixes #2495
2015-06-29 11:22:51 -05:00
Radek Simko be8d0dea2d provider/aws: Add validation for aws_iam_instance_profile.name 2015-06-29 16:27:35 +01:00
Radek Simko fed64b4fbd provider/aws: Add validation for aws_iam_role_policy.name 2015-06-29 16:23:42 +01:00
Mitchell Hashimoto 7bb2a26b5e providers/dme: unable to find record, set ID to "" [GH-2440] 2015-06-28 23:31:44 -07:00
Mitchell Hashimoto 05bc835748 providers/cloudflare: if resource no longer exists, set ID to ""
[GH-301]
2015-06-28 23:28:12 -07:00
Mitchell Hashimoto da1cac623d providers/aws: implement basic fast-path for not being in EC2 for creds 2015-06-28 23:06:49 -07:00
Mitchell Hashimoto 366969edd8 update CHANGELOG 2015-06-28 22:47:57 -07:00
Mitchell Hashimoto 93cedc7ec1 providers/aws: style nitpick 2015-06-28 22:46:49 -07:00
Mitchell Hashimoto 2a5ed6c847 Merge pull request #1841 from josharian/aws-external-creds
providers/aws: detect credentials more robustly
2015-06-28 22:43:56 -07:00
Mitchell Hashimoto da136d1dff website: make clear that verbose policies are needed for s3_bucket 2015-06-28 22:42:13 -07:00
Mitchell Hashimoto e2e8d3746f providers/aws: vpc peering failed == deleted [GH-2322] 2015-06-28 22:35:02 -07:00
Mitchell Hashimoto cc2a5ab18f provider/aws: ignore association not exist on EIP destroy [GH-2295] 2015-06-28 22:30:43 -07:00
Patrick Gray 28506c3750 add composeErrors function to only expose errors that happened 2015-06-28 22:30:54 -04:00
Jesse Szwedko b05ca5a39c The docker-image resource expects name, not image
to be set

[ci skip]
2015-06-28 19:16:56 -07:00
Patrick Gray 0f5c9c012d check length of slices instead of using incorrect type 2015-06-28 20:00:55 -04:00
Patrick Gray c375a72f15 check for empty string instead of nil 2015-06-28 19:39:50 -04:00
Aris Pikeas 4e18b78a0c Add $PATH change to dev instructions
`make` failed because it uses `stringer`, which is in `$GOPATH/bin`. Updating $PATH enables a successful build.
2015-06-28 16:14:53 -07:00
Camilo Aguilar f6cd88bcc4 aws/docs: Removes bogus known linked issue from docs.
aws-sdk-go does what it is supposed to do. Some DHCP clients
are just too weird.
2015-06-28 09:31:23 -04:00
Daisuke Fujita 562cf596dc Make elasticache_subnet_group subnet_ids essential 2015-06-28 16:13:25 +09:00
Mitchell Hashimoto 1cc5068b8c provider/aws: nil protection against VPN connections [GH-2144] 2015-06-26 21:22:08 -07:00
Mitchell Hashimoto ad408d8862 provider/aws: vpc delete retry on dependency violation [GH-1628] 2015-06-26 17:26:06 -07:00
Mitchell Hashimoto f6b9e7c1a6 providers/aws: set AMI on read for instance [GH-1571] 2015-06-26 17:12:20 -07:00
Radek Simko e5a9cee5bb Update CHANGELOG.md 2015-06-26 21:43:06 +01:00
Radek Simko ef928d50cb Merge pull request #2528 from hashicorp/b-aws-r53-fqdn
provider/aws: Read Route 53 after create, to populate computed values
2015-06-26 21:40:05 +01:00
Clint Shryock 5938a0806f provider/aws: Read Route 53 after create, to populate computed values 2015-06-26 15:11:29 -05:00
Paul Hinze 2626c179a5 core: improve debug logging when targeting 2015-06-26 14:04:58 -05:00
Clint 209b3db0e8 Update CHANGELOG.md 2015-06-26 14:04:50 -05:00
Mitchell Hashimoto 5e39424490 Merge pull request #2526 from hashicorp/b-provider-continue
terraform: all providers for ProvidedBy() should be added
2015-06-26 12:03:55 -07:00
Clint 079e4505a8 Merge pull request #2276 from SamClinckspoor/resource-aws-elasticache-parameter-group
provider/aws elasticache parameter group
2015-06-26 14:01:19 -05:00
Mitchell Hashimoto 51a7e05f8a terraform: all providers for ProvidedBy() should be added 2015-06-26 12:00:02 -07:00
Sam Clinckspoor c92b7a980c fixed possibly incorrectly returning destroyed 2015-06-26 20:16:21 +02:00