terraform/builtin/providers
Paul Stack 3f032ff611 provider/aws: Setting static_routes_only on import of vpn_connection (#9802)
fixes #9110

An error was found where, static_routes_only was not set on a vpn
connection import. This commit introduces setting the static_routes_only
to false when no Options are found. This follows the AWS convention as follows:

```
- options (structure)

Indicates whether the VPN connection requires static routes. If you are creating a VPN connection for a device that does not support BGP, you must specify true .
Default: false

```

So we take it that `static_options_only` is false by default

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSVpnConnection_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/11/02 10:38:18 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSVpnConnection_ -timeout 120m
=== RUN   TestAccAWSVpnConnection_importBasic
--- PASS: TestAccAWSVpnConnection_importBasic (178.29s)
=== RUN   TestAccAWSVpnConnection_basic
--- PASS: TestAccAWSVpnConnection_basic (336.81s)
=== RUN   TestAccAWSVpnConnection_withoutStaticRoutes
--- PASS: TestAccAWSVpnConnection_withoutStaticRoutes (195.45s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	710.572s
```
2016-11-07 16:12:41 +00:00
..
archive provider/archive: Converting to datasource. (#8492) 2016-10-25 15:59:06 +01:00
atlas
aws provider/aws: Setting static_routes_only on import of vpn_connection (#9802) 2016-11-07 16:12:41 +00:00
azure
azurerm provider/azurerm: EventHubs (#9889) 2016-11-07 10:19:59 +00:00
bitbucket
chef
clc
cloudflare
cloudstack Adding private gateway and static route resource to cloudstack provider (#9637) 2016-10-27 21:06:39 +02:00
cobbler
consul Fixes for consul_service resource (#9366) 2016-10-26 13:07:00 +01:00
datadog provider/datadog: Reduce diff on thresholds 2016-10-20 10:22:24 -05:00
digitalocean provider/digitalocean: Ingore resize_disk on the import DO droplet tests 2016-10-25 11:40:56 +01:00
dme
dnsimple
docker provider/docker: Fixes for docker_container host object and documentation (#9367) 2016-10-27 10:54:05 +01:00
dyn
fastly
github provider/github: github_repository resource 2016-10-13 08:04:17 -07:00
google Search configured project image families (#9243) 2016-11-01 21:00:12 +00:00
grafana
heroku
influxdb
librato
logentries
mailgun
mysql
null
openstack provider/openstack: Add 'value_specs' option to 'openstack_fw_firewall_v1' resource 2016-11-05 10:17:33 +00:00
packet
pagerduty Remove the unnecessary use of &schema.Schema 2016-10-24 16:43:53 +02:00
postgresql provider/postgresql: Fixing up the PG Extension test 2016-11-03 12:06:51 +00:00
powerdns
rabbitmq Fix vet issues 2016-10-18 11:11:12 -04:00
random provider/random: Separate read from create 2016-11-06 17:05:11 -06:00
rundeck
scaleway provider/scaleway: fix `scaleway_image` datasource returning unknown images (#9899) 2016-11-05 11:37:02 +00:00
softlayer
statuscake
template Remove sthulb/mine/multipart 2016-11-04 11:23:21 +00:00
terraform
test
tls
triton
ultradns
vcd
vsphere