Paul Stack
177400dbbf
provider/aws: Implement IPV6 Support for ec2 / VPC ( #10538 )
...
* provider/aws: Add support for IPV6 enabled VPC
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSVpc'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/09 14:07:31 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSVpc -timeout 120m
=== RUN TestAccAWSVpc_importBasic
--- PASS: TestAccAWSVpc_importBasic (43.03s)
=== RUN TestAccAWSVpc_basic
--- PASS: TestAccAWSVpc_basic (36.32s)
=== RUN TestAccAWSVpc_enableIpv6
--- PASS: TestAccAWSVpc_enableIpv6 (29.37s)
=== RUN TestAccAWSVpc_dedicatedTenancy
--- PASS: TestAccAWSVpc_dedicatedTenancy (36.63s)
=== RUN TestAccAWSVpc_tags
--- PASS: TestAccAWSVpc_tags (67.54s)
=== RUN TestAccAWSVpc_update
--- PASS: TestAccAWSVpc_update (66.16s)
=== RUN TestAccAWSVpc_bothDnsOptionsSet
--- PASS: TestAccAWSVpc_bothDnsOptionsSet (16.82s)
=== RUN TestAccAWSVpc_DisabledDnsSupport
--- PASS: TestAccAWSVpc_DisabledDnsSupport (36.52s)
=== RUN TestAccAWSVpc_classiclinkOptionSet
--- PASS: TestAccAWSVpc_classiclinkOptionSet (38.13s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 739.543s
```
* provider/aws: New Resource: aws_egress_only_internet_gateway
```
make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSEgressOnlyInternetGateway_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/09 14:22:16 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSEgressOnlyInternetGateway_ -timeout 120m
=== RUN TestAccAWSEgressOnlyInternetGateway_basic
--- PASS: TestAccAWSEgressOnlyInternetGateway_basic (32.67s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 32.692s
```
* provider/aws: Add IPV6 support to aws_subnet
```
% make testacc TEST=./builtin/providers/aws
% TESTARGS='-run=TestAccAWSSubnet_'
% 1 ↵ ✹ ✭
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/27 19:08:34 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSubnet_
-timeout 120m
=== RUN TestAccAWSSubnet_importBasic
--- PASS: TestAccAWSSubnet_importBasic (69.88s)
=== RUN TestAccAWSSubnet_basic
--- PASS: TestAccAWSSubnet_basic (51.28s)
=== RUN TestAccAWSSubnet_ipv6
--- PASS: TestAccAWSSubnet_ipv6 (90.39s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws211.574s
```
* provider/aws: Add support for running aws_instances with ipv6 addresses
2017-03-01 16:16:59 +00:00
clint shryock
2eb132c55a
provider/aws: Patch issue with enable dns support
2016-11-22 13:44:44 -06:00
Ninir
281eba72ad
provider/aws: Fixed the aws_vpc enable_dns_support handling on creation
2016-11-16 20:05:49 +01:00
Clint
49ecfe8921
provider/aws: Add aws_default_route_table resource ( #8323 )
...
* provider/aws: Add docs for Default Route Table
* add new default_route_table_id attribute, test to VPC
* stub
* add warning to docs
* rough implementation
* first test
* update test, add swap test
* fix typo
2016-08-25 16:02:44 -05:00
clint shryock
2ac040bef2
providers/aws: Fix issue with VPC Classic Link and regions that don't support it
...
- use eu-central-1 to a config to check for #4874
- update documentation
2016-01-28 10:12:06 -06:00
Julien Fabre
ed3f54cc47
Add AWS Classiclink for AWS VPC resource
2015-11-20 16:48:48 +01:00
Clint Shryock
0c2f189d08
provider/aws: Update to aws-sdk 0.9.0 rc1
2015-08-17 13:27:16 -05:00
Clint Shryock
3688d4ba00
provider/aws: Converge on TestAccAWS for acceptance tests names
...
An attempt to converge the tests into a standard naming scheme
- TestAccAWS for aws tests
- a `_basic` test for each suite, save a few that are quick (Network ACLs, for
example)
2015-07-21 09:42:02 -05:00
Paul Hinze
b71fa3d0ae
provider/aws: handle upstream aws-sdk-go repo move
...
`awslabs/aws-sdk-go => aws/aws-sdk-go`
Congrats to upstream on the promotion. :)
2015-06-03 13:36:57 -05:00
Paul Hinze
31258e06c6
provider/aws: fix breakages from awserr refactor
...
This landed in aws-sdk-go yesterday, breaking the AWS provider in many places:
3c259c9586
Here, with much sedding, grepping, and manual massaging, we attempt to
catch Terraform up to the new `awserr.Error` interface world.
2015-05-20 06:21:23 -05:00
Clint Shryock
f7b6b6b2b5
Strip 'sdk' suffix from methods; it's a remnant
2015-05-12 14:58:10 -05:00
Clint Shryock
ba43b7c963
mass search-replace of ec2SDKconn
2015-04-16 15:05:55 -05:00
Clint Shryock
74bab7b89d
provider/aws: Convert AWS VPC to upstream aws-sdk-go
2015-04-10 16:09:12 -05:00
Mitchell Hashimoto
944ff16d4e
Merge branch 'vpc_missing' of https://github.com/bitglue/terraform into bitglue-vpc_missing
...
Conflicts:
builtin/providers/aws/resource_aws_vpc.go
2015-03-26 10:17:14 -07:00
Paul Hinze
cddb057f40
providers/aws: fix DNS options on VPC
...
One typo on a `d.Get` and reuse of the request object was making it sad.
Now it is happy!
fixes #1301
2015-03-25 15:15:32 -05:00
Phil Frost
9545f26fa0
Correct AWS VPC or route table read functions
...
If the state file contained a VPC or a route table which no longer
exists, Terraform would fail to create the correct plan, which is to
recreate them.
In the case of VPCs, this was due to incorrect error handling. The AWS
SDK returns a aws.APIError, not a *aws.APIError on error. When the VPC
no longer exists, upon attempting to refresh state Terraform would
simply exit with an error.
For route tables, the provider would recognize that the route table no
longer existed, but would not make the appropriate call to update the
state as such. Thus there'd be no crash, but also no plan to re-create
the route table.
2015-03-20 13:38:41 -04:00
Clint Shryock
28fbd971fc
Retire goamz
2015-03-13 09:42:50 -05:00
Clint Shryock
57556bba75
Replace tags files with tags_sdk, rename, and update
2015-03-12 16:43:08 -05:00
Rahul Menon
840e6f4826
Added Tagging
2015-03-04 18:37:30 +05:30
Rahul Menon
1cecb37ab9
Added vpc refactor in aws sdk go
2015-03-04 17:50:00 +05:30
Mitchell Hashimoto
523639b5cd
fmt
2015-02-20 10:22:26 -08:00
Sneha Somwanshi
89f1a38f5b
added vpc tenancy argument
2014-12-10 16:10:00 +05:30
Sander van Harmelen
eccd5ad308
Refactored about 90%
...
Still need to update 2 resources and check the acceptance tests, but
overall we’re nearly there 😃
2014-11-21 17:58:34 +01:00
Mitchell Hashimoto
00bdef3093
providers/aws: test tag removal
2014-10-08 18:21:21 -07:00
Mitchell Hashimoto
6eafac8a34
providers/aws: aws_vpc supports tags
2014-10-08 17:54:00 -07:00
Mitchell Hashimoto
699b2efa1c
providers/aws: convert aws_vpc to helper/schema
2014-10-08 16:43:13 -07:00
Mitchell Hashimoto
c5d6df692d
providers/aws: tests passing, compiles
2014-09-16 17:49:24 -07:00
Jack Pearkes
6eb6d19384
providers/aws: vpc dns settings tests
...
cc/ @deoxxa see diff for how to add tests – quite straight forward.
Normally, I would like to add a check to ensure that the attribute
was updated remotely (by seeing what it's value with AWS is) but
I don't think we have that value returned.
2014-08-20 11:29:52 -07:00
Mitchell Hashimoto
63ef4cf28a
helper/resource: stdlib to check resource attribute
2014-07-10 14:00:20 -07:00
Mitchell Hashimoto
3ff66b430f
providers/aws: check VPC cidr
2014-07-10 13:49:28 -07:00
Mitchell Hashimoto
83f73e63aa
helper/resource: add PreCheck
2014-07-10 13:12:47 -07:00
Mitchell Hashimoto
b3fd62beb0
providers/aws: basic VPC test
2014-07-10 11:31:16 -07:00