terraform/website/source
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
..
assets Merge remote-tracking branch 'hashicorp/master' into website-update 2016-10-31 15:26:47 -07:00
docs provider/aws: Setting static_routes_only on import of vpn_connection (#9802) 2016-11-07 16:12:41 +00:00
intro Update the PowerShell example to set the PATH (#9771) 2016-11-01 14:56:18 +00:00
layouts provider/azurerm: EventHubs (#9889) 2016-11-07 10:19:59 +00:00
upgrade-guides Fixed grammatical error. 2016-10-13 14:10:32 +11:00
.gitignore
404.html.erb Update 404 page 2015-09-19 17:42:33 +01:00
community.html.erb website: Adding gitter link to the community page 2016-10-07 01:09:50 +01:00
downloads.html.erb docs/website: Linking the downloads page to the upgrade guide for 0.7 (#7913) 2016-08-03 05:06:44 +10:00
feature-card-write.svg add and style feature-card graphics 2016-10-04 16:03:46 -07:00
index.html.erb final copy edits 2016-10-31 15:52:32 -07:00
robots.txt
security.html.erb Add security page (#9717) 2016-11-01 13:56:08 +00:00
sitemap.xml.builder