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
Camilo Aguilar
338ae601bc
providers/aws: Implements DHCP Options Set support.
2015-04-30 17:52:04 -04: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
b49fba6b61
Don't error when enabling DNS hostnames in a VPC
...
The AWS API call ModifyVpcAttribute will allow only one attribute to be
modified at a time. Modifying both results in the error:
Fields for multiple attribute types specified: enableDnsHostnames, enableDnsSupport
Retructure the provider to honor this restriction.
Also, enable DNS support before attempting to enable DNS hostnames,
since the former is a prerequisite of the latter.
Additionally, fix what must have been a copy&paste error, setting
enable_dns_support to the value of enable_dns_hostnames.
2015-03-20 14:49:50 -04: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
Clint Shryock
0fbd701ccb
minor style cleanups
2015-03-12 15:13:45 -05:00
Rahul Menon
a34800dff2
Tags Schema
2015-03-09 14:39:06 +05:30
Rahul Menon
bbc9331d0c
Fixed Merge conflicts
2015-03-04 18:42:10 +05:30
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
rmenn
d56c683602
Removed additional variable for print, added for debugging
2015-03-03 20:57:30 +05:30
Rahul Menon
c5efe1e5ce
Using hashicorp/aws-sdk-go
2015-03-03 10:49:21 +05:30
Rahul Menon
d77df312a3
Changed things around as suggested by @catsby
2015-03-03 10:45:15 +05:30
Rahul Menon
89d01b49ab
Refactor with Acceptance Tests
2015-03-02 14:21:13 +05:30
Rahul Menon
06b2d0bbf6
VPC Refactor
2015-02-25 17:34:27 +05:30
Rahul Menon
1472f976d7
First refactor
2015-02-25 16:17:55 +05:30
Mitchell Hashimoto
cf5697ff32
providers/aws: if a VPC doesn't exist, then remove from state
2015-02-20 10:20:20 -08:00
Yahya Poonawala
7860dc1ef6
Adding default security group id attribute reference on creation of VPC. Fixes issue #466 .
2014-12-23 11:43:33 +05:30
Yahya Poonawala
634984532d
Adding default network acl id attribute reference on creation of VPC. Fixes issue #466 .
2014-12-22 23:08:15 +05:30
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
e827180887
providers/aws: main_route_table_id attribute for VPC [GH-193]
2014-10-10 16:57:32 -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
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
deoxxa
4405a8d974
add vpc dns attribute support
2014-08-09 22:43:00 +10:00
Mitchell Hashimoto
24ecb1ae70
providers/aws/aws_vpc: fix error message referencing ELB
2014-07-17 09:46:31 -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
56e5d20b40
providers/aws: use the proper ID field for vpc
2014-07-07 14:20:36 -07:00
Mitchell Hashimoto
6deea2a93b
providers/aws: handle eventual consistency of AWS in aws_vpc
2014-07-07 12:23:27 -07:00
Mitchell Hashimoto
e51bdc92fa
providers/aws: aws_vpc
2014-07-07 12:16:58 -07:00