terraform/website/source/docs
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
..
commands website: clarify ".terraform" location for #7301 2016-11-01 23:01:18 -07:00
configuration Fixed typo on interpolation docs (#9880) 2016-11-04 19:48:44 +00:00
import Add google resources to importability docs 2016-10-20 14:44:07 -07:00
internals Update the docs to indicate that `TF_LOG_PLAN` is append now. 2016-10-18 13:10:15 -07:00
modules Added s3 and unarchiving docs (#9677) 2016-10-28 03:36:22 +02:00
plugins Updated Plugins section. (#8235) 2016-08-16 14:21:33 -05:00
providers provider/aws: Setting static_routes_only on import of vpn_connection (#9802) 2016-11-07 16:12:41 +00:00
provisioners website: Quick pass over some docs pages (#9705) 2016-10-31 08:52:27 +00:00
state state/remote/swift: Enhancements to support full set of Openstack configuration options, plus SSL certs. Documentation updated to support 2016-11-03 07:36:18 +00:00
index.html.markdown