Commit Graph

18037 Commits

Author SHA1 Message Date
James Bardin 14bea66f4e add test for proper cancelation 2017-04-19 18:07:00 -04:00
James Bardin eb4b45941c fix tests affected by refreshGracePeriod
A couple tests require lowering the grace period to keep the test from
taking the full 30s timeout.

The Retry_hang test also needed to be removed from the Parallel group,
becuase it modifies the global refreshGracePeriod variable.
2017-04-19 18:07:00 -04:00
James Bardin af1628eaa4 add refreshGracePeriod
Refresh calls may have side effects that need to be recorded if it
succeeds, especially common when when WaitForState is called from
resource.Retry.

If the WaitForState timeout is reached and there is a Refresh call
in-flight, wait up to refreshGracePeriod (set to 30s) for it to
complete.
2017-04-19 18:07:00 -04:00
James Bardin 6601b9b8dd adjust the inconsistent_negative test to match
This test unfortunately relies on the timing of the loops in
WaitForState, and the text of the error message. Adjust the timing so
the timeout isn't an even multiple of the poll interval, and make sure
we reach a minimum number of retries.
2017-04-19 10:53:06 -04:00
James Bardin af5e22cf94 don't leave WaitForState goroutine running
Make sure that we can cancel the WaitForState refresh loop when reaching
a timeout, otherwise it may run indefinitely. There's no need to try and
store and read the Result concurrently, just pass the value over a
channel.
2017-04-19 10:41:51 -04:00
Clint 4a782583b6 Update CHANGELOG.md 2017-04-18 13:31:45 -05:00
Joseph Herlant 507917df43 provider/fastly: upgrade go-fastly to fix #12910 (#13648)
* Adding acceptance tests to reproduce issue #12910

* Upgrade go-fastly and its dependencies and move the Version to int as changed upstream
2017-04-18 13:30:54 -05:00
Seth Vargo bcacf3a036
Update ldlogo 2017-04-18 14:10:27 -04:00
Tom Harvey 3e8dca19a9 Updating the changelog to include #13637 2017-04-18 17:37:10 +01:00
Tom Harvey 502a744a65 Merge pull request #13637 from hashicorp/azurerm-lock-bugfix
provider/azurerm: Locking around Network Security Group / Subnets
2017-04-18 17:34:04 +01:00
tombuildsstuff 079043d5f8 Checking the type of the subnet before using it 2017-04-18 16:38:36 +01:00
tombuildsstuff fd03d0310e Formatting 2017-04-18 16:12:22 +01:00
tombuildsstuff 3ecb0f4fc4 Locking on the NSG ID 2017-04-18 16:12:22 +01:00
tombuildsstuff b93e6e3af7 Locking on the delete too 2017-04-18 16:12:22 +01:00
tombuildsstuff b6866f2187 Locking the NSG to only operate on one resource at a time in the create 2017-04-18 16:12:22 +01:00
Radek Simko 1b841e77de provider/aws: Run all AWSConfig acc tests sequentially (#13658) 2017-04-18 17:59:44 +03:00
Jake Champlin 5b0ea5abff Merge pull request #13715 from hashicorp/b-update-spot-datafeed-test
provider/aws: Run AWS Spot Datafeed Subscription tests in serial
2017-04-18 10:46:26 -04:00
Paul Stack fd1b430e5f Update CHANGELOG.md 2017-04-18 15:29:46 +03:00
KOJIMA Kazunori 47d255f943 provider/aws: Add aws_kms_alias datasource (#13669) 2017-04-18 15:29:14 +03:00
Paul Stack ec85f833c7 Update CHANGELOG.md 2017-04-18 15:22:03 +03:00
demonwy 69ec7e12ac provider/alicloud: Add new resource ESS, including scalinggroup scalingconfiguration scalingrule and schedule (#13731)
* add docs

* add new resource ess

* add examples

* update aliyun go

* merge master

* fix ci
2017-04-18 15:18:57 +03:00
Paul Stack 16c0594c47 Update CHANGELOG.md 2017-04-18 14:53:12 +03:00
Julien Pivotto c2d1a37334 DigitalOcean: Export droplet prices (#13720)
Note: In DO, Droplets are about the only thing you pay. DNS/Float IP are
free.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-18 14:52:40 +03:00
Radek Simko 74129323bd Mention LOC of incoming PRs in contributors guide (#13737) 2017-04-18 10:35:25 +01:00
clint shryock 8939ac2256 provider/aws: randomize some more test 2017-04-17 16:02:01 -05:00
clint shryock a6565555cb provider/aws: Update Lambda tests for randomness 2017-04-17 15:18:19 -05:00
Martin Atkins 55d99c05e1 Update CHANGELOG.md 2017-04-17 11:23:16 -07:00
Martin Atkins b21bb7746a Merge #11776: Optionally allow vault_generic_secret resource to detect drift 2017-04-17 11:14:02 -07:00
Martin Atkins 9810d974b0 Update CHANGELOG.md 2017-04-17 10:49:16 -07:00
Martin Atkins d515c2efc4 Merge #12757: local_file resource 2017-04-17 10:48:15 -07:00
Martin Atkins 4d79e0b99c website: documentation tweaks for the local_file resource and its provider 2017-04-17 10:45:10 -07:00
Jake Champlin 43e9fd7070 Merge pull request #13714 from adambyrtek/fish-completion
Shell completions for fish
2017-04-17 11:57:33 -04:00
Matthew Frahry 6c2a37a5d2 Merge pull request #13713 from hashicorp/p-aws-autoscaling-lifecycle-hook-test
TestAccAWSAutoscalingLifecycleHook_omitDefaultResult
2017-04-17 09:54:12 -06:00
Adam Byrtek 282e56cba8 Shell completions for fish 2017-04-17 15:40:55 +00:00
Jake Champlin 20b0d9f060
provider/aws: Run AWS Spot Datafeed Subscription tests in serial 2017-04-17 11:35:56 -04:00
= 6f9570b114 Fixes TestAccAWSAutoscalingLifecycleHook_omitDefaultResult 2017-04-17 09:12:42 -06:00
Jake Champlin ebc89e9426 Merge pull request #13701 from kavu/kavu-docs_hcl_addition
Massively add HCL source tag in docs Markdown files
2017-04-17 09:48:25 -04:00
gotyoooo 3da620944d Add auto_minor_version_upgrade document (#13706) 2017-04-17 16:35:27 +03:00
Paul Stack bb69e3730b provider/aws: Documentation fixed for elasticsearch_domain (#13704)
Fixes: #13434
2017-04-17 16:26:08 +03:00
Paul Stack b3cc7ea4cf provider/aws: Add support for aws_dms_replication_task available states (#13697) 2017-04-17 16:00:41 +03:00
Max Riveiro 137fcfb5de
Massively add HCL source tag in docs Markdown files
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2017-04-17 13:17:54 +03:00
Paul Hinze e8023941ef Update CHANGELOG.md 2017-04-16 23:31:29 -07:00
Paul Hinze 788dbcb055 Merge pull request #13699 from hashicorp/b-govcloud-kms-arns
provider/aws: Validate GovCloud KMS ARNs
2017-04-16 23:30:38 -07:00
Paul Hinze 193c0d80ad
provider/aws: Validate GovCloud KMS ARNs
Fixes validation errors in GovCloud when passing a KMS ARN for
`kms_key_id` in `s3_bucket_object` and `db_instance`.

The region is `us-gov-west-1` which breaks the regexp. Just added the
optional `gov-` in the right place.
2017-04-16 22:35:09 -07:00
Paul Stack 82235877d6 Update CHANGELOG.md 2017-04-17 01:59:50 +03:00
Paul Tyng b8b896e11b Update go-newrelic vendor and use new field (#13158)
Fixes #12972
2017-04-17 01:59:11 +03:00
Paul Stack 1f75a5f372 Update CHANGELOG.md 2017-04-17 01:53:09 +03:00
Kent Wang 8927ad5dce provider/alicloud: Fix allocate public ip error (#13267) (#13268)
Wait for instance to be in STOPPED or RUNNING state before invoking
AllocatePublicIP API.

* provider/alicloud: Wait for instance state before allocate public ip

* provider/alicloud: Fix test `TestAccAlicloudInstance_associatePublicIP`

* provider/alicloud: Update alicloud_instance document

Fixes: #13267
2017-04-17 01:52:39 +03:00
Paul Stack 7480454e31 Update CHANGELOG.md 2017-04-17 01:51:38 +03:00
Joshua Spence 8d5fdeae57 Add `name_prefix` support to `aws_cloudwatch_log_group` (#13273) 2017-04-17 01:50:52 +03:00