Commit Graph

13777 Commits

Author SHA1 Message Date
Joe Topjian 68c4956ff2 provider/openstack: gophercloud migration: networking network 2016-10-23 02:38:20 +00:00
Joe Topjian cc86b91d37 provider/openstack: gophercloud migration: networking floatingip 2016-10-23 02:38:20 +00:00
Joe Topjian d04cfb1ab5 provider/openstack: gophercloud migration: lbaas v2 2016-10-23 02:38:19 +00:00
Joe Topjian e2526002ff provider/openstack: gophercloud migration: lbaas v1 2016-10-23 02:38:19 +00:00
Joe Topjian a1d76c8d07 provider/openstack: gophercloud migration: fwaas 2016-10-23 02:38:19 +00:00
Joe Topjian 8b6c3a1bbc provider/openstack: gophercloud migration: compute servergroup 2016-10-23 02:38:19 +00:00
Joe Topjian b9f7d119b8 provider/openstack: gophercloud migration: compute secgroup 2016-10-23 02:38:18 +00:00
Joe Topjian 50855b3992 provider/openstack: gophercloud migration: compute keypair 2016-10-23 02:38:18 +00:00
Joe Topjian a33256706c provider/openstack: gophercloud migration: compute instance 2016-10-23 02:38:18 +00:00
Joe Topjian c8aee9118f provider/openstack: gophercloud migration: compute floatingip 2016-10-23 02:38:17 +00:00
Joe Topjian bb8c5cea2d provider/openstack: gophercloud migration: blockstorage 2016-10-23 02:38:17 +00:00
Joe Topjian e677eaac6b provider/openstack: gophercloud migration: util 2016-10-23 02:38:17 +00:00
Joe Topjian 74f990ff5c provider/openstack: gophercloud migration: Removing APIKey Attribute
gophercloud/gophercloud no longer supports the APIKey authentication
attribute. Removal of this attribute may impact users who were using
the Terraform OpenStack provider in with vendor-modified clouds.
2016-10-23 02:38:17 +00:00
Jamie Starke 3ba46b2a9b Added a Parameter example 2016-10-22 17:23:38 -07:00
Mitchell Hashimoto 1a418c1452
command/apply: -Xnew-destroy 2016-10-22 12:36:47 -07:00
Paul Stack 18308dd66c Merge pull request #9524 from walterdolce/patch-1
Fix link pointing to GCE docs
2016-10-22 23:18:06 +04:00
Mitchell Hashimoto 5a8ec482a2
terraform: unify destroy/apply graph builders
They're so similar we unify them, they only change in a select few
places. This is very similar to the old graph but is still much simpler.
2016-10-22 12:12:30 -07:00
Mitchell Hashimoto 1523504645
terraform: enable shadow graph and destroy resource mode with addr
This enables the shadow graph since all tests pass!

We also change the destroy node to check the resource type using the
addr since that is always available and reliable. The configuration can
be nil for orphans.
2016-10-22 12:12:30 -07:00
Mitchell Hashimoto a4aea3e085
terraform: destroy apply graph builder should disable providers 2016-10-22 12:12:30 -07:00
Mitchell Hashimoto db6d87b16c
terraform: destroy node should understand data sources
This makes the new destroy nodes undestand data sourcs and call the
correct apply function.
2016-10-22 12:12:30 -07:00
Mitchell Hashimoto ac9a049d19
terraform: Diff.Equal ignores ModuleDiff.Destroy
This is necessary to get the shadow working properly with the destroy
graph since the destroy graph doesn't set this field but the end state
is still the same.
2016-10-22 12:12:30 -07:00
Mitchell Hashimoto ceb613d449
terraform: don't set destroy module on diff
This is something that should be determined and done during an apply. It
doesn't make a lot of sense that the plan is doing it (in its current
form at least).
2016-10-22 12:12:30 -07:00
Mitchell Hashimoto ab4ebcc5c7
terraform: TargetsTransformer on destroy plan
This enables targeting to work properly on planning destroys
2016-10-22 12:12:30 -07:00
Mitchell Hashimoto 2d4f65cc94
terraform: disable shadowing destroy graph for now
It doesn't fully work so we want to wait until we think its ready before
we start the shadowing.
2016-10-22 12:12:29 -07:00
Mitchell Hashimoto 480a414c40
terraform: destroy module nodes show up in plan destroy 2016-10-22 12:12:29 -07:00
Mitchell Hashimoto e68327e765
terraform: add config transformer to enable preventDestroy 2016-10-22 12:12:29 -07:00
Mitchell Hashimoto 0ed896a313
terraform: implement destroy planning basics from state 2016-10-22 12:12:29 -07:00
Mitchell Hashimoto db807f4b0f
terraform: destroy graph builder, -Xnew-destroy flag 2016-10-22 12:12:29 -07:00
Mitchell Hashimoto bff4e31070
Update go.sh to run destroy tests 2016-10-22 12:12:29 -07:00
Mitchell Hashimoto 7418f6c48f Merge pull request #9526 from hashicorp/b-resource-config-equal
terraform: ResourceConfig.Equal should sort ComputedKeys
2016-10-22 12:06:20 -07:00
Mitchell Hashimoto 3dd64d9f2e
terraform: ResourceConfig.Equal should sort ComputedKeys
This was causing otherwise equal ResourceConfigs to report non-equal
which was incorrect, thus causing incorrect shadow graph errors.
2016-10-22 12:00:05 -07:00
Mitchell Hashimoto ab36666653 Merge pull request #9525 from hashicorp/b-shadow-block
helper/shadow: keyedValue.WaitForChange must unlock
2016-10-22 11:56:14 -07:00
Walter Dolce 6033c49498 Fix link pointing to GCE docs
This partially fixes #9522. Not sure about the first link reported.
2016-10-22 18:34:59 +01:00
Kerim Satirli baf2920acf adds missing `language` argument
Best I can tell from https://github.com/hashicorp/terraform/blob/HEAD/builtin/providers/bitbucket/resource_repository.go#L23, the `language` argument is missing.

Adding it in a `bitbucket_repository` resource is supported:

```
resource "bitbucket_repository" "test-repository" {
  owner = "${var.bitbucket_username}"
  name = "test-repository"
  scm = "${var.bitbucket_settings["scm"]}"
  language = "markdown"
}
```
2016-10-22 18:35:37 +02:00
Radek Simko f5c4d79a0e Update CHANGELOG.md 2016-10-22 14:17:44 +01:00
Radek Simko eda1298e21 provider/aws: Increase ECS service drain timeout (#9521) 2016-10-22 14:16:59 +01:00
Paul Stack faa9c4ba59 docs/aws: Document the default of aws_alb enable_deletion_protection (#9503)
Fixes #9486
2016-10-22 13:36:37 +01:00
Mitchell Hashimoto de827887bf
helper/shadow: keyedValue.WaitForChange must unlock 2016-10-21 17:57:00 -07:00
Mitchell Hashimoto f8e35ecb2f
terraform: log starting graph walk outside of the goroutine
This is so ordering makes a bit more sense reliably.
2016-10-21 16:20:38 -07:00
Mitchell Hashimoto a0382ccbdd Merge pull request #9517 from hashicorp/f-disable-shadow
command/meta: add -shadow flag to disable shadow graph
2016-10-21 14:31:23 -07:00
Mitchell Hashimoto ae4f79e3b6
command/meta: add -shadow flag to disable shadow graph
Since it is still very much possible for this to cause problems, this
can be used to disable the shadow graph. We'll purposely not document
this since the goal is to remove this flag as we become more confident
with it.
2016-10-21 14:25:05 -07:00
Cameron Stokes f6b149932c ~website: Remove duplicate Bitbucket link in sidebar. 2016-10-21 14:24:46 -07:00
Clint afa2bbc0b3 Update CHANGELOG.md 2016-10-21 16:18:35 -05:00
Clint dcbcde4b82 Merge pull request #8893 from dennis-bsi/fix-asg-policy-to-0
provider/aws: aws_autoscaling_policy fails when setting scaling_adjustment to 0 for SimpleScaling
2016-10-21 16:17:16 -05:00
Clint 6f7e9ac4dd Merge pull request #9511 from dennis-bsi/aws-redshift-sng-name-validation
provider/aws: limiting aws_redshift_subnet_group name to alphanumeric and hyphens
2016-10-21 14:35:53 -05:00
Clint 2838a035bd Update CHANGELOG.md 2016-10-21 14:33:32 -05:00
Clint 88925eb939 Merge pull request #9515 from dennis-bsi/aws-redshift-sng-description-update
provider/aws: aws_redshift_subnet_group allows description to be modified
2016-10-21 14:32:34 -05:00
Dennis Webb dac69b7919 fixing issue where changing only the description only didn't actually update on AWS 2016-10-21 12:14:41 -05:00
Clint 3015855a40 Update CHANGELOG.md 2016-10-21 11:44:49 -05:00
Clint 34b21083ee Merge pull request #8983 from 987poiuytrewq/b-aws-beanstalk-option-updates
provider/aws: fix option updates to beanstalk
2016-10-21 11:43:43 -05:00