Paul Stack
72a14ef2bb
provider/aws: Add IPv6 outputs to aws_subnet datasource ( #13841 )
...
Fixes : #13595
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccDataSourceAwsSubnet'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 13:52:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccDataSourceAwsSubnet -timeout 120m
=== RUN TestAccDataSourceAwsSubnetIDs
--- PASS: TestAccDataSourceAwsSubnetIDs (81.05s)
=== RUN TestAccDataSourceAwsSubnet
--- PASS: TestAccDataSourceAwsSubnet (57.48s)
=== RUN TestAccDataSourceAwsSubnetIpv6ByIpv6Filter
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6Filter (82.63s)
=== RUN TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock (82.43s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 303.625s
```
2017-04-21 16:54:55 +03:00
Radek Simko
77150880e0
provider/aws: Increase subnet deletion timeout ( #13356 )
2017-04-05 13:09:44 +01:00
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
Mitchell Hashimoto
91938cf55f
providers/aws: resource aws_subnet import
2016-05-16 10:03:57 -07:00
Ian Duffy
47ac10d66b
Change resource.StateChangeConf to use an array for target states
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
James Nugent
99e3d62cd8
provider/aws: Make VPC ID required on subnets
2015-11-23 16:53:49 +02:00
Clint Shryock
0c2f189d08
provider/aws: Update to aws-sdk 0.9.0 rc1
2015-08-17 13:27:16 -05:00
Clint Shryock
579ccbefea
provider/aws: Update source to comply with upstream breaking change
2015-07-28 15:29:46 -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
Radek Simko
754bcd8307
Increase subnet & security group deletion timeout (2 -> 5 mins)
...
- this should prevent DependencyViolation errors while waiting for larger ASGs to shut down
2015-05-09 22:18:04 +01:00
Clint Shryock
272415303d
provider/aws: Shorting retry timeout for Subnets to 2 minutes, from 5
2015-05-05 11:20:29 -05:00
Clint Shryock
ba43b7c963
mass search-replace of ec2SDKconn
2015-04-16 15:05:55 -05:00
Clint Shryock
0fbbd1195a
provider/aws: Convert AWS Subnet to mainstream aws-sdk-go
2015-04-06 15:07:40 -05:00
Clint Shryock
c7282d6a94
provider/aws: Change AWS Subnet map ip on launch to default false, from computed
2015-04-01 16:27:12 -05:00
Clint Shryock
85c0910165
Merge remote-tracking branch 'upstream/master' into b-fix-aws-subnet-map-public-change
...
* upstream/master: (295 commits)
Update CHANGELOG.md
provider/aws: Allow DB Parameter group to change in RDS
return error if failed to set tags on Route 53 zone
core: [tests] fix order dependent test
Fix hashcode for ASG test
provider/aws: Fix issue with tainted ASG groups failing to re-create
Don't error when reading s3 bucket with no tags
Avoid panics when DBName is not set
Add floating IP association in aceptance tests
Use env var OS_POOL_NAME as default for pool attribute
providers/heroku: Add heroku-postgres to example
docs: resource addressing
providers/heroku: Document environment variables
providers/heroku: Add region to example
Bugfix on floating IP assignment
Update CHANGELOG.md
update CHANGELOG
website: note on docker
core: formalize resource addressing
core: fill out context tests for targeted ops
...
2015-04-01 16:24:38 -05:00
Clint Shryock
3d8005729d
provider/aws: Fix dependency violation with subnets and security groups
...
Though not directly connected, trying to delete a subnet and security group in
parallel can cause a dependency violation from the subnet, claiming there are
dependencies.
This commit fixes that by allowing subnet deletion to tolerate failure with a
retry / refresh function.
Fixes #934
2015-03-19 15:10:49 -05:00
Clint Shryock
54edf1cd2c
provider/aws: Fix issue when changing map-public-ip in Subnets
2015-03-18 10:50:36 -05: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
Paul Hinze
170341d38e
providers/aws: go vet fixes in aws_subnet
2015-03-05 14:53:07 -06:00
Clint Shryock
10a32b9819
providers/aws: Convert AWS Subnet to aws-sdk-go
2015-03-02 16:32:48 -06:00
Mitchell Hashimoto
aad83447d2
Merge pull request #889 from bitglue/deleted_subnet
...
provider/aws: Fix error when refreshing on a deleted AWS subnet
2015-02-17 09:30:48 -08:00
Phil Frost
863fd0c7d2
Avoid unnecessary updating of aws_subnet
...
If map_public_ip_on_launch was not specified, AWS picks a default of
"0", which is different than the "" in the state file, triggerinng an
update each time. Mark that parameter as Computed, avoiding the update.
2015-01-30 13:17:16 -05:00
Phil Frost
04e86697fb
Fix error when refreshing on a deleted AWS subnet
...
If a subnet exists in the state file and a refresh is performed, the
read function for subnets would return an error. Now it updates the
state to indicate that the subnet no longer exists, so Terraform can
plan to recreate it.
2015-01-29 11:06:40 -05:00
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
Simon Turvey
31132f1ded
Add tag support to AWS subnets
2014-11-02 12:30:33 -08:00
Panagiotis Moustafellos
c459421892
providers/aws: retry destroying subnet for some time [GH-449]
2014-10-18 18:24:57 +03:00
Mitchell Hashimoto
36f225dea0
fmt
2014-10-10 14:50:35 -07:00
Mitchell Hashimoto
ca99811357
providers/aws: subnet retry destroy [GH-357]
2014-10-07 21:52:08 -07:00
Mitchell Hashimoto
166847d5dc
Merge branch 'f-state'
...
Conflicts:
builtin/providers/aws/resource_aws_subnet.go
2014-09-22 08:55:44 -07:00
Mitchell Hashimoto
9b2b3a963f
ResourceDiff => InstanceDiff
2014-09-17 16:33:24 -07:00
Mitchell Hashimoto
c5d6df692d
providers/aws: tests passing, compiles
2014-09-16 17:49:24 -07:00
Jack Pearkes
9fc775e41c
providers/aws: fix tests for subnet map_public_ip, add docs
...
This working depends on merging mitchellh/goamz#109
Related: #285
cc/ @hden
2014-09-16 10:37:22 -04:00
Hao-kang Den
d9665bad4e
add MapPublicIpOnLaunch
2014-09-10 13:13:16 +08:00
Mitchell Hashimoto
56cf1e6faa
Fix go vet complaints
2014-08-24 21:50:35 -07:00
Mitchell Hashimoto
e0bc61d414
providers/aws: route table association tests
2014-07-11 13:10:09 -07:00
Mitchell Hashimoto
e33739209b
providers/aws: its okay to delete something that is already gone
2014-07-07 17:09:05 -07:00
Mitchell Hashimoto
2ef36e191b
providers/aws: wait for resource to be gon
2014-07-07 15:44:08 -07:00
Mitchell Hashimoto
65d959003f
providers/aws: setup subnet dependenyc on VPC
2014-07-07 15:38:24 -07:00
Mitchell Hashimoto
10e3cad5ce
providers/aws: fix error message for aws_subnet
2014-07-07 15:03:18 -07:00
Mitchell Hashimoto
a31c4e8788
providers/aws: aws_subnet
2014-07-07 14:46:18 -07:00