Clint Shryock
cd90648d4e
provider/aws: Fix acceptance issue with Network Acls
2015-05-06 11:44:09 -05:00
TANABE Ken-ichi
5be4ecdcdb
provider/aws: Update ARN in instanceProfileReadResult
2015-05-07 00:26:57 +09:00
Paul Hinze
010a39a58e
provider/aws: remove placement_group from acctest
...
Depends on there being an existing placement group in the account called
"terraform-placement-group" - we'll need to circle back around to cover
this with AccTests after TF gets an `aws_placement_group` resource.
2015-05-06 10:13:24 -05:00
Clint Shryock
34609c6c22
provider/aws: Change Route 53 record test name, so it can be ran individually
2015-05-06 09:48:15 -05:00
Paul Hinze
66fa633b80
provider/aws: move EBS test into us-west-2
2015-05-06 09:22:34 -05:00
Paul Hinze
bcb4067cb3
provider/aws: update test name
2015-05-06 09:20:40 -05:00
Paul Hinze
7303568469
providers/aws: update test name
2015-05-06 09:18:41 -05:00
Paul Hinze
b91796368f
provider/aws: update test name
2015-05-06 09:18:00 -05:00
Justin Campbell
2745adba56
providers/aws: Test S3 website endpoint attr
2015-05-06 09:41:02 -04:00
Justin Campbell
87e6d3d17f
providers/aws: Fix S3 website error doc
2015-05-06 09:41:02 -04:00
Justin Campbell
0b78a71ed5
providers/aws: Test S3 website removal
2015-05-06 09:41:02 -04:00
Justin Campbell
eeb65b8d4c
providers/aws: Read S3 website config
2015-05-06 09:41:02 -04:00
Paul Hinze
6c6eafa232
provider/aws: removing stray "Ecache" in tests
2015-05-06 08:33:05 -05:00
Justin Campbell
20e531ae0d
providers/aws: Check that S3 website sets docs
2015-05-06 08:15:56 -04:00
Justin Campbell
be84cf8a8c
providers/aws: Add note for us-east-1 empty location
2015-05-06 08:15:56 -04:00
Justin Campbell
348942d3fb
providers/aws: Use GetOk instead of Get + cast
2015-05-06 08:15:56 -04:00
Justin Campbell
562bd6541b
providers/aws: Use explicit returns in websiteEndpoint
2015-05-06 08:15:56 -04:00
Justin Campbell
30f737c781
providers/aws: Change S3 website to block
2015-05-06 08:15:56 -04:00
Justin Campbell
38e04b3765
providers/aws: Add website_endpoint to S3 output
2015-05-06 08:15:55 -04:00
Justin Campbell
b7a9ef5ef6
providers/aws: Add S3 error_document
...
Also fix when index/error document is empty
2015-05-06 08:15:55 -04:00
Justin Campbell
e6d9dcfb1a
providers/aws: Initial S3 bucket website support
2015-05-06 08:15:55 -04:00
Mitchell Hashimoto
1a2bac7645
provider/aws: main route table refresh handles VPC being gone [GH-1806]
2015-05-05 18:07:22 -07:00
Clint Shryock
885efa0837
provider/aws: Add Security Group Rule as a top level resource
...
- document conflict with sg rules and sg in-line rules
- for this to work, ingress rules need to be computed
2015-05-05 16:56:39 -05:00
Clint
a4000941c2
Merge pull request #1765 from hashicorp/f-aws-security-group-remove-default-egress
...
provider/aws: Remove default egress rule from Security Group on creation
2015-05-05 16:47:23 -05:00
Mitchell Hashimoto
fb4ac42c65
Merge pull request #1516 from henrikhodne/aws-propagating-vgws
...
provider/aws: add propagating_vgws to route tables
2015-05-05 14:42:45 -07:00
Clint Shryock
eb7c1bb218
fix go formatting
2015-05-05 16:42:08 -05:00
Clint Shryock
e9b08cf31f
revert the required part
2015-05-05 16:23:26 -05:00
Clint Shryock
1ed81da9a9
update ENI test for SG egress constraint
2015-05-05 16:23:26 -05:00
Clint Shryock
85b1756c27
revise tests and check for vpc_id
2015-05-05 16:23:26 -05:00
Clint Shryock
8ded3c2d1b
Move block for deleing default rule into the create method; only invoke once
2015-05-05 16:23:26 -05:00
Clint Shryock
ee65684abe
Add spec for removing default egress rule
2015-05-05 16:23:26 -05:00
Clint Shryock
b145ce88b7
Document Egress+VPC change, update link
2015-05-05 16:23:26 -05:00
Clint Shryock
1558fd1c3e
provider/aws: Remove default egress rule from Security Group on creation
2015-05-05 16:23:25 -05:00
Mitchell Hashimoto
412a2dca0b
Merge pull request #1575 from freshbooks/aws-eni-route
...
provider/aws: Add Elastic Network Interfaces as route destination
2015-05-05 13:28:48 -07:00
Mitchell Hashimoto
1c2d5fbd0a
Merge branch 'f-aws-associate-eip-to-eni' of https://github.com/jstremick/terraform into jstremick-f-aws-associate-eip-to-eni
2015-05-05 13:24:50 -07:00
Clint
18b43b78cb
Merge pull request #939 from bitglue/iam
...
Implement a subset of IAM resources
2015-05-05 15:05:05 -05:00
Clint Shryock
7b082d007e
Merge commit '33183c0'
...
* commit '33183c0':
Implement a hash function for string sets
2015-05-05 15:01:02 -05:00
Mitchell Hashimoto
7a5499d4f7
providers/aws: chain credentials
2015-05-05 10:44:19 -07:00
John Engelman
6ee17a8e9e
Add acceptance tests
2015-05-05 12:47:20 -04:00
Phil Frost
b082117e92
Implement AWS IAM resources
...
- Users
- Groups
- Roles
- Inline policies for the above three
- Instance profiles
- Managed policies
- Access keys
This is most of the data types provided by IAM. There are a few things
missing, but the functionality here is probably sufficient for 95% of
the cases. Makes a dent in #28 .
2015-05-05 12:47:20 -04:00
Phil Frost
33183c078b
Implement a hash function for string sets
...
Sets of strings are pretty common. Let's not duplicate the function
necessary to create a set of strings in so many places.
2015-05-05 12:47:18 -04: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
3ce3b7c516
provider/aws: Shorting retry timeout for Security Groups to 2 minutes, from 5
2015-05-05 11:07:16 -05:00
Clint Shryock
4b160dd28e
minor cleanups
2015-05-05 10:45:30 -05:00
jba
c50bcf2930
renaming function according to the aws struct
2015-05-05 10:39:25 -05:00
jba
e9215c0676
move accept block to the update func
2015-05-05 10:38:20 -05:00
jba
5658fd6122
clean code
2015-05-05 10:37:13 -05:00
jba
11ba9b1042
add the auto_accecpt option
2015-05-05 10:37:13 -05:00
Sander van Harmelen
7274de3c1d
Small fix needed to be inline with the updated AWS SDK again...
...
Executed a couple of AWS ACC test as well to make sure everything works
properly again after this fix…
2015-05-05 12:26:26 +02:00
Christopher Tiwald
69e981c0b0
aws: Fixup structure_test to handle new expandIPPerms behavior.
2015-05-04 23:56:54 -04:00
Christopher Tiwald
362a6124e3
aws: Add security group acceptance tests for protocol -1 fixes.
...
These only test ingress rules as egress rules are broken by the
default "0.0.0.0/0" rule Amazon includes with every egressed security
group.
2015-05-04 23:55:32 -04:00
Christopher Tiwald
89bacc0b15
aws: error on expndIPPerms(...) if our ports and protocol conflict.
...
Ingress and egress rules given a "-1" protocol don't have ports when
Read out of AWS. This results in hashing problems, as a local
config file might contain port declarations AWS can't ever return.
Rather than making ports optional fields, which carries with it a huge
headache trying to distinguish between zero-value attributes (e.g.
'to_port = 0') and attributes that are simply omitted, simply force the
user to opt-in when using the "-1" protocol. If they choose to use it,
they must now specify "0" for both to_port and from_port. Any other
configuration will error.
2015-05-04 23:43:31 -04:00
Clint Shryock
81422123e8
provider/aws: Add a regression check for Route 53 records
2015-05-04 17:05:49 -05:00
Mitchell Hashimoto
9ed909c8fe
Merge pull request #1749 from nabeken/aws-proxy-protocol-policy
...
provider/aws: Add proxy protocol support in ELB
2015-05-04 14:04:53 -07:00
Mitchell Hashimoto
8633c88723
Merge pull request #1775 from TimeIncOSS/r53-alias-record
...
aws: Add support for Alias records into AWS Route 53
2015-05-04 14:03:29 -07:00
Mitchell Hashimoto
c8c0b02790
Merge pull request #1787 from koendc/f-aws-max-retries
...
aws: make MaxRetries for API calls configurable
2015-05-04 14:00:37 -07:00
Mitchell Hashimoto
2c90d3a637
Merge pull request #1793 from ctiwald/ct/add-vpn-connection-route
...
provider/aws: add support for VPN connection routes
2015-05-04 13:58:17 -07:00
Mitchell Hashimoto
9617761eb4
Merge pull request #1776 from TimeIncOSS/eip-without-igw
...
[bugfix] aws/eip: Don't save instance ID if association fails
2015-05-04 11:19:32 -07:00
Mitchell Hashimoto
cf6fa89f46
Merge pull request #1785 from koendc/f-aws-security-token
...
aws: re-introduce support for AWS_SECURITY_TOKEN
2015-05-04 11:18:28 -07:00
Christopher Tiwald
2c21f248ad
aws: Add acceptance tests for VPN connection routes.
2015-05-04 12:55:55 -04:00
Christopher Tiwald
e7f8883929
aws: Add support for VPN connection routes.
2015-05-04 12:20:42 -04:00
Christopher Tiwald
4727260987
aws: fix VPN connection acceptance test.
...
This corrects syntactical errors and uses distinct IP addresses for
each configuration.
2015-05-04 11:34:35 -04:00
Christopher Tiwald
47305c9c5d
aws: Fix customer gateway acceptance test.
...
This test contained a few syntactical errors.
2015-05-04 11:34:35 -04:00
Christopher Tiwald
f31466a60e
aws: Fix app cookie stickiness policy acceptance test.
...
This used the wrong AZ and contained a few syntactical errors in
configuration.
2015-05-04 11:34:35 -04:00
Christopher Tiwald
14ea3a33a4
aws: Fix LB cookie stickiness policy acceptance test.
...
This needs to run in us-west-2 and contained a few syntactical errors
that prevented it from working.
2015-05-04 11:34:34 -04:00
Koen De Causmaecker
398c22adcd
aws: make MaxRetries for API calls configurable
...
- Make it configurable in the AWS provider by add an option
'max_retries'.
- Set the default from 3 to 11 retries.
2015-05-03 15:35:51 +02:00
Koen De Causmaecker
c8f32a2711
aws: re-introduce support for AWS_SECURITY_TOKEN
2015-05-03 10:26:58 +02:00
Paul Hinze
fb37b3515d
Merge pull request #1712 from hashicorp/f-rename-elasticache-cluster
...
providers/aws: add _cluster to aws_elasticache
2015-05-01 20:07:19 -05:00
Radek Simko
795d53e706
[bugfix] Don't save instance ID if association fails
...
- typically happens when no internet GW is available in VPC
2015-05-01 23:55:08 +01:00
Radek Simko
3d665ddfcf
provider/aws: Add support for alias record to Route53
2015-05-01 22:43:04 +01:00
Christopher Tiwald
f255fd8c42
aws: Add acceptance tests for aws_vpn_connection resources.
2015-05-01 12:23:16 -04:00
Christopher Tiwald
814403f45c
aws: Add support for AWS VPN connections
2015-05-01 12:23:08 -04:00
Radek Simko
bafabf17be
provider/aws: Expose zone_id from elb
2015-05-01 08:07:33 +01:00
Camilo Aguilar
338ae601bc
providers/aws: Implements DHCP Options Set support.
2015-04-30 17:52:04 -04:00
Paul Hinze
15b9bde1fe
providers/aws: add _cluster to aws_elasticache
...
This AWS calls the actual resources "Cache Clusters" so it seems like
this name makes more sense.
Verified all Elasticache acc tests pass.
2015-04-30 16:12:08 -05:00
Paul Hinze
a9de720a4e
Merge pull request #1708 from hashicorp/f-elb-source-security-group
...
providers/aws: add source_security_group to elb
2015-04-30 16:10:02 -05:00
Clint
76e897fedb
Merge pull request #1753 from hashicorp/f-aws-db-subnet-name
...
provider/aws: Fix refresh/plan issue with DB Param. Group name
2015-04-30 13:42:06 -05:00
Paul Hinze
b99611fa44
provider/aws: allow key_pair name to be generated
...
As a module author, I'd like to be able to create a module that includes
a key_pair. I don't care about the name, I only know I don't want it to
collide with anything else in the account.
This allows my module to be used multiple times in the same account
without having to do anything funky like adding a user-specified unique
name parameter.
2015-04-30 10:33:14 -05:00
Clint Shryock
c006af9efe
provider/aws: Fix refresh/plan issue with DB Param. Group name
...
Check against AWS with lowercase, but store in state unmodified.
2015-04-30 09:25:50 -05:00
TANABE Ken-ichi
53a7da379c
provider/aws: Add acceptance tests for aws_proxy_protocol_policy
2015-04-30 17:56:46 +09:00
TANABE Ken-ichi
9df2bf68cb
providers/aws: use isLoadBalancerNotFound
2015-04-30 17:56:46 +09:00
TANABE Ken-ichi
5c1dabdb69
provider/aws: Add ProxyProtocol support via aws_proxy_protocol_policy
2015-04-30 17:56:46 +09:00
Christopher Tiwald
eb03f08454
aws: Add acceptance test for aws_customer_gateway.
2015-04-29 21:32:59 -04:00
Christopher Tiwald
2794a1c5ab
aws: Add support for aws_customer_gateway
2015-04-29 21:32:51 -04:00
Clint
daeaba5cd4
Merge pull request #1618 from hashicorp/b-aws-fix-vpc-security-id-update
...
provider/aws: Fix issue with updating VPC Security Group IDs for an Instance
2015-04-29 10:39:14 -05:00
Paul Hinze
950bd92837
Merge pull request #1633 from Banno/route53-zone-back-to-list
...
changing route53_zone.name_servers back to list
2015-04-29 10:38:59 -05:00
Clint Shryock
036d199dd6
provider/aws: Fix issue with updating VPC Security Group IDs for an Instance
...
Currently, we weren't correctly setting the ids, and are setting both
`security_groups` and `vpc_security_group_ids`. As a result, we really only use
the former.
We also don't actually update the latter in the `update` method.
This PR fixes both issues, correctly reading `security_groups` vs.
`vpc_security_group_ids` and allows users to update the latter without
destroying the Instance when in a VPC.
2015-04-29 10:03:57 -05:00
James Stremick
e586d05a7d
Remove some unecessary debug output I added
2015-04-29 10:21:28 -04:00
James Stremick
244639cf3d
Remove some domain checking duplication
2015-04-29 10:21:28 -04:00
James Stremick
b29e9d3b6f
Allow assocation of EIP to ENI
2015-04-29 10:21:08 -04:00
Mitchell Hashimoto
d66012969a
Merge pull request #1658 from bitglue/ebs
...
provider/aws: Implement aws_ebs_volume
2015-04-28 20:37:26 -07:00
Mitchell Hashimoto
77f6945ae7
Merge pull request #1662 from jgjay/elb-sgs-update
...
provider/aws: update elb security groups in-place
2015-04-28 20:30:00 -07:00
Mitchell Hashimoto
b45cd2830f
Merge pull request #1682 from mzupan/master
...
provider/aws: Don't re-do a ASG on a grace healthcheck grace period change
2015-04-28 20:26:00 -07:00
Mitchell Hashimoto
d354cae524
Merge pull request #1685 from ctiwald/master
...
provider/aws: Implement support for various AWS ELB cookie stickiness policies
2015-04-28 20:24:11 -07:00
Mitchell Hashimoto
57af67b314
Merge pull request #1718 from ravenac95/encrypted-ebs-volume-fix
...
provider/aws: Fix connecting encrypted ebs volumes to aws_instances
2015-04-28 20:21:12 -07:00
Reuven V. Gonzales
e8e42decc9
Added docs about m3.medium to tests
2015-04-28 15:19:31 -07:00
Reuven V. Gonzales
25ab54b4e3
Added tests to check for encrypted flag
2015-04-28 15:07:23 -07:00
Reuven V. Gonzales
4ef6d468e9
Actually sends ebs encrypted flag
2015-04-28 10:54:30 -07:00
Phil Frost
dcebff7108
Implement aws_ebs_volume
...
This resource allows the management of EBS volumes not associated with
any EC2 instance.
2015-04-28 12:54:02 -04:00
Paul Hinze
fc26f7a119
Merge pull request #1331 from tmtk75/dev/aws_ecache
...
provider/aws: resource ElastiCache
2015-04-28 10:00:25 -05:00
Paul Hinze
e4e6ac5d91
providers/aws: add source_security_group to elb
2015-04-28 09:40:19 -05:00
Paul Hinze
c748ce9c9e
Merge pull request #1695 from aznashwan/commfix
...
Fixed/added docstrings in aws provider package.
2015-04-28 08:51:20 -05:00
Paul Hinze
120cfdce59
provider/aws: fix EIPs on new upstream sdk
...
As we've seen elsewhere, the SDK now wants nils instead of empty arrays
for collections
fixes #1696
thanks @jstremick for pointing me in the right direction
2015-04-27 19:55:26 -05:00
aznashwan
d64dd99d4d
Fixed/added docstrings in aws provider package.
2015-04-27 21:06:49 +03:00
Christopher Tiwald
99ce8cf25e
aws: Add acceptance test of aws_app_cookie_stickiness_policy.
2015-04-26 18:56:56 -04:00
Christopher Tiwald
0533d60195
aws: Add support for aws_app_cookie_stickiness_policy.
...
This resource represents a session stickiness policy in AWS, and can be
applied to an ELB's client-facing listeners.
2015-04-26 18:56:07 -04:00
Christopher Tiwald
448fb4895f
aws: Add acceptance test of aws_lb_cookie_stickiness_policy.
2015-04-26 18:05:40 -04:00
Christopher Tiwald
0120899f2a
aws: Add support for aws_lb_cookie_stickiness_policy.
...
This resource represents a session stickiness policy in AWS, and can be
applied to an ELB's client-facing listeners.
2015-04-26 18:05:37 -04:00
Mike Zupan
0177be2a66
need to update aws with the change if there is one
2015-04-25 20:00:04 -07:00
Mike Zupan
9fe6317348
don't need to create a new ASG for this change
...
Tested
```
aws_autoscaling_group.rabbit: Modifying...
health_check_grace_period: "200" => "3000"
aws_autoscaling_group.rabbit: Modifications complete
```
2015-04-25 19:50:33 -07:00
Tomotaka Sakuma
f3d9a287e1
support aws resource ElastiCache
2015-04-26 10:53:21 +09:00
Paul Hinze
37c693e8ce
Merge pull request #1672 from PeopleNet/vpc_peering_tags
...
Fix for #1664 . Apply AWS VPC Peering Conn. tags on create.
2015-04-25 09:37:28 -05:00
John Engelman
c2fa397ec8
Fix for #1664 . Apply AWS VPC Peering Conn. tags on create.
2015-04-24 16:12:20 -05:00
Trevor Pounds
fe62312617
Fix comment typos.
2015-04-24 10:25:19 -07:00
Gavin James
c986c65238
update security groups in-place
2015-04-23 20:57:37 +01:00
Henrik Hodne
769f456028
aws: add propagating_vgws to route tables
2015-04-23 15:03:45 +00:00
Luke Amdor
fe2d9ea3cc
sorting the name_server entries
2015-04-23 08:48:19 -05:00
Paul Hinze
10b73f95ae
Merge pull request #1635 from hashicorp/b-net-acls-blank-id
...
providers/aws: network_acl, remove blank filter
2015-04-23 07:32:04 -05:00
Paul Hinze
69ef012dfc
Merge pull request #1632 from hashicorp/f-generate-sg-names
...
unique identifier helper for resources / generate AWS security group names
2015-04-23 07:25:23 -05:00
Panagiotis Moustafellos
6bb8947d16
providers/aws: aws_elb incr. idle_timeout to 60s
...
per docs
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html
2015-04-23 12:46:52 +03:00
Paul Hinze
6401635b97
providers/aws: network_acl, remove blank filter
...
The upstream behavior here changed, and the request needs a `nil`
instead of an empty slice to indicate that we _don't_ want to filter on
Network ACL IDs.
fixes #1634
2015-04-22 14:44:31 -05:00
Luke Amdor
6b5138328f
changing route53_zone.name_servers back to list
2015-04-22 13:27:20 -05:00
Paul Hinze
079856620a
provider/aws: set default SG description
...
because requiring a SG description is annoying
2015-04-22 13:27:20 -05:00
Paul Hinze
33de319293
provider/aws: allow SG names to be generated
2015-04-22 12:56:06 -05:00
Paul Hinze
94f703692c
provider/aws: switch to helper for LC names
2015-04-22 12:53:47 -05:00
Mitchell Hashimoto
c1464b1c6d
Merge pull request #1623 from hashicorp/b-private-ip-ssh
...
providers/aws: if no public IP, use private IP for SSH by default
2015-04-22 16:02:04 +02:00
Mitchell Hashimoto
341b2ff864
Merge pull request #1625 from hashicorp/b-panic-network-acl
...
provider/aws: fix potential panic when finding network ACL
2015-04-22 16:01:57 +02:00
Mitchell Hashimoto
f77f77f9f8
provider/aws: fix potential panic when finding network ACL
2015-04-22 12:39:01 +02:00
Mitchell Hashimoto
19b3fa1a76
provider/aws: allow int for network acl entry [GH-1435]
2015-04-22 12:35:23 +02:00
Mitchell Hashimoto
ec38a65dda
providers/aws: if no public IP, use private IP for SSH by default
2015-04-22 12:25:28 +02:00
Mitchell Hashimoto
8ca42f832e
Merge pull request #1525 from Banno/route53-zone-nameservers
...
providers/aws: Expose Route53 zone nameservers for parent zone NS record
2015-04-22 12:10:27 +02:00
Mitchell Hashimoto
11e6e89f73
provider/aws: make tests public and run them
2015-04-22 08:44:24 +02:00
Mitchell Hashimoto
78f9fb164b
provider/aws: fix compilation errors
2015-04-22 08:42:44 +02:00
Mitchell Hashimoto
887f1b3d12
Merge branch 'elb-connection-settings' of https://github.com/jwaldrip/terraform into jwaldrip-elb-connection-settings
2015-04-22 08:38:19 +02:00
Mitchell Hashimoto
70a0579a12
Merge pull request #1578 from TimeIncOSS/route53-weighted-records
...
provider/aws: Add support for weighted Route53 records
2015-04-22 08:33:28 +02:00
Mitchell Hashimoto
2cecd586c2
Merge pull request #1619 from jgjay/elb-listener-update
...
provider/aws: handle changes to elb listeners after creation
2015-04-22 08:24:36 +02:00
Mitchell Hashimoto
b755459ee3
Merge pull request #1358 from rzh/placement_group
...
provider/aws: support for AWS Placement Group
2015-04-22 08:20:43 +02:00
Mitchell Hashimoto
2996a25ce0
Merge pull request #1597 from aocsolutions/fix_sg_refresh
...
provider/aws: more careful with pointers
2015-04-22 08:12:43 +02:00
Mitchell Hashimoto
3176e5b44a
Merge pull request #1595 from TimeIncOSS/aws-account-protection
...
aws: Allow defining blacklist/whitelist of account IDs
2015-04-22 08:08:01 +02:00
Gavin James
81079bb6ac
handle addition/update/removal of listeners after creation
2015-04-21 23:17:17 +01:00
Clint Shryock
0c5011bea4
provider/aws: Fix issue with empty IPRanges
2015-04-21 10:57:50 -05:00
Mitchell Hashimoto
c8a8f05935
Merge pull request #1601 from bitglue/sts_token
...
provider/aws: support session token in AWS credentials
2015-04-20 15:01:29 -07:00
Matt Good
21b0a03d70
Support for multiple providers of the same type
...
Adds an "alias" field to the provider which allows creating multiple instances
of a provider under different names. This provides support for configurations
such as multiple AWS providers for different regions. In each resource, the
provider can be set with the "provider" field.
(thanks to Cisco Cloud for their support)
2015-04-20 14:14:34 -07:00
Phil Frost
d4c8c528e0
Support session token in AWS credentials
...
Session tokens are necessary to utilize temporary credentials.
http://docs.aws.amazon.com/STS/latest/UsingSTS/Welcome.html
2015-04-20 15:09:04 -04:00
Nevins Bartolomeo
6da242de03
fixing sg refresh
2015-04-20 11:27:58 -04:00
Radek Simko
150fd00932
AWS account ID protection added
2015-04-20 12:07:39 +01:00
Mitchell Hashimoto
1c0f2f136c
provider/aws: fix vet error, missing fmt param
2015-04-19 18:13:04 -07:00
Mitchell Hashimoto
dda4ae6d12
Merge pull request #1555 from fatih/fix-eip-panic
...
providers/aws: check allocationId only if it's vpc, fixes #1345
2015-04-19 18:10:31 -07:00
Mitchell Hashimoto
283a3af693
Merge pull request #1576 from bitglue/s3_refresh
...
provider/aws: refresh state for deleted s3 bucket correctly
2015-04-18 16:40:12 -07:00
Radek Simko
009514f0d3
Allow using deprecated security_groups in NI spec
2015-04-17 21:26:17 +01:00
Clint Shryock
eda987dcfb
provider/aws: Fix issue when creating ELB with no tags
2015-04-17 14:00:27 -05:00
Radek Simko
555f9dfab3
aws: Support for weighted Route53 records added
...
- closes #1155
2015-04-17 18:53:36 +01:00
Phil Frost
47e1ec85f1
Refresh state for deleted s3 bucket correctly
...
If reading an S3 bucket's state, and that bucket has been deleted, don't
fail with a 404 error. Instead, update the state to reflect that the
bucket does not exist. Fixes #1574 .
2015-04-17 13:30:31 -04:00
duncan
e1ac4b9f90
Add Elastic Network Interfaces as route destination
...
Fixes #938
2015-04-17 13:22:31 -04:00
Luke Amdor
c3f9c12426
Merge remote-tracking branch 'refs/remotes/origin/master' into route53-zone-nameservers
2015-04-17 10:11:53 -05:00
Clint Shryock
d27a41746c
clean up tags sdk lib
2015-04-16 15:31:40 -05:00
Clint Shryock
3e6822ce08
more cleans ups of SDK reference
2015-04-16 15:28:18 -05:00
Clint Shryock
79fc8223bb
consolidate structure.go
2015-04-16 15:18:01 -05:00
Clint Shryock
ba43b7c963
mass search-replace of ec2SDKconn
2015-04-16 15:05:55 -05:00
Clint Shryock
331f6705b8
providers/aws: cleanup of connections, upgrades network acl test
2015-04-16 15:02:04 -05:00
Clint Shryock
c59bfd0ca5
Merge branch 'f-aws-upstream-s3'
...
* f-aws-upstream-s3:
provider/aws: Conver AWS S3 to upstream sdk
2015-04-16 13:51:12 -05:00
Clint Shryock
1da9bc8f4c
fix go formatting after rebase
2015-04-16 13:42:16 -05:00
Clint Shryock
1545dbb803
provider/aws: Convert Route 53 Zone, Record to upstream
2015-04-16 13:41:38 -05:00
Clint Shryock
a5b2437dcf
provider/aws: Convert Instance to use upstream library
2015-04-16 12:01:10 -05:00
Fatih Arslan
86810789c2
providers/aws: check allocationId only if it's vpc, fixes #1345
...
EIP with VPC only returns an allocationID. However, for standard we need
to lookup for PublicIP. When we use an example for standard EC2 instance
(here `t1.micro`):
```
resource "aws_instance" "example" {
ami = "ami-25773a24"
instance_type = "t1.micro"
}
resource "aws_eip" "ip" {
instance = "${aws_instance.example.id}"
}
```
then in this case, allocationID will be nil, but publicIP will be non
nil (which is used later for association the IP). So check for
allocationId only if it's of domain `VPC`.
2015-04-16 16:08:52 +03:00
Clint Shryock
7a99dd48b2
provider/aws: Convert Launch Configuration over to upstream
...
- removes extra ASG connection
2015-04-16 07:10:17 -05:00
Luke Amdor
f8b05fa05e
using a set for route53 name_servers
2015-04-15 16:10:02 -05:00
Luke Amdor
46d3ab5ccd
rename delegation_set_name_servers to name_servers
2015-04-15 16:07:50 -05:00
Clint Shryock
210b380d01
go vet updates
2015-04-15 15:32:20 -05:00
Clint Shryock
723be13f96
go fmt asg things
2015-04-15 15:30:35 -05:00
Clint Shryock
1f7d0944f1
provider/aws: Convert AWS ASG to upstream aws-sdk-go
2015-04-15 15:29:59 -05:00
Clint
e97fd27b14
Merge pull request #1539 from hashicorp/f-aws-instance-vpc-sec-ids
...
provider/aws: Add support for separate VPC Security Group IDs attribute
2015-04-15 15:25:03 -05:00
Clint Shryock
1ed2219493
don't capitalize IAM
2015-04-15 15:05:44 -05:00
Clint Shryock
df45b2cda8
go fmt db things
2015-04-15 15:02:52 -05:00
Clint Shryock
470379e7ed
connection naming cleanups
2015-04-15 14:36:08 -05:00
Clint Shryock
9187cab6ac
provider/aws: Convert remaining RDS resources to use upstream library
2015-04-15 14:31:53 -05:00
Clint Shryock
d579b4b75c
provider/aws: Convert AWS RDS to use upstream aws-sdk-go
2015-04-15 14:28:02 -05:00
Clint
220f62eb72
Merge pull request #1532 from hashicorp/f-aws-upstream-elb
...
providers/aws: Conver AWS ELB to upstream
2015-04-15 14:16:24 -05:00
Clint
5a815efdbb
Merge pull request #1531 from hashicorp/f-aws-upstream-vpn-gateway
...
provider/aws: Convert VPN Gateway to upstream
2015-04-15 14:15:03 -05:00
Clint Shryock
3337503eda
update test and documentation for vpc ids in instances
2015-04-15 12:17:21 -05:00
Clint Shryock
97b98b1da6
Merge branch 'master' into f-aws-instance-vpc-sec-ids
...
* master: (511 commits)
Update CHANGELOG.md
core: avoid diff mismatch on NewRemoved fields during -/+
Update CHANGELOG.md
update CHANGELOG
Fix minor error in index/count docs
terraform: remove debug
terraform: when pruning destroy, only match exact nodes, or exact counts
up version for dev
update CHANGELOG
terraform: prune tainted destroys if no tainted in state [GH-1475]
update CHANGELOG
config/lang: support math on variables through implicits
update CHANGELOG
update cHANGELOG
update cHANGELOG
providers/aws: set id outside if/esle
providers/aws: set ID after creation
core: remove dead code from pre-deposed refactor
website: update LC docs to note name is optional
security_groups field expects a list of Security Group Group Names, not IDs
...
2015-04-15 12:12:17 -05:00
Clint Shryock
dc54d6a852
refactor out a refresh fun that wasn't really used
2015-04-15 10:26:39 -05:00
Clint Shryock
a3ffb6ea6e
fix test failure
2015-04-15 09:43:43 -05:00
Luke Amdor
b763294926
fixing string format
2015-04-14 16:51:58 -05:00
Clint Shryock
4186ec18c6
providers/aws: Conver AWS ELB to upstream
2015-04-14 16:41:36 -05:00
Clint Shryock
900dd4e151
provider/aws: Convert VPN Gateway to upstream
2015-04-14 15:45:48 -05:00
Luke Amdor
eb43822f68
err-check the resource set
2015-04-14 14:54:38 -05:00
Luke Amdor
8f1acaf026
expose Route53 zone name servers
2015-04-14 14:17:01 -05:00
Clint Shryock
95026b6266
provider/aws: Convert AWS VPC Peering to upstream
2015-04-14 11:23:26 -05:00
Clint Shryock
d4e7c2dedc
provider/aws: Conver AWS S3 to upstream sdk
2015-04-14 11:07:05 -05:00
Mitchell Hashimoto
0eb69bcd37
Merge pull request #1518 from hashicorp/b-lc-id
...
providers/aws: set LC ID after creation
2015-04-14 08:23:31 -07:00
Mitchell Hashimoto
783d912b7c
providers/aws: set id outside if/esle
2015-04-14 08:23:16 -07:00
Clint
0eecf070d9
Merge pull request #1489 from hashicorp/f-aws-upstream-route-table
...
provider/aws: Convert Route table and Route table association to upstream aws-sdk-go
2015-04-14 10:15:24 -05:00
Clint
85c4a134ad
Merge pull request #1486 from hashicorp/f-aws-upstream-vpc
...
provider/aws: Convert AWS VPC to upstream aws-sdk-go
2015-04-14 10:14:56 -05:00
Mitchell Hashimoto
f7a2f2a2e7
providers/aws: set ID after creation
2015-04-13 17:03:13 -07:00
Jason Waldrip
74bfbece69
Implement Additional ELB Connection Attributes
2015-04-13 14:14:26 -06:00
Clint Shryock
5394d91657
provider/aws: Convert Network ACL and helper library to upstream aws-sdk-go
2015-04-13 11:14:21 -05:00
Clint Shryock
53478c96de
provider/aws: Convert AWS Main Route Table Association to upstream
2015-04-13 10:01:56 -05:00
Clint Shryock
c89470a754
provider/aws: Convert Route table and Route table association to upstream aws-sdk-go
2015-04-10 17:09:36 -05:00
Clint Shryock
74bab7b89d
provider/aws: Convert AWS VPC to upstream aws-sdk-go
2015-04-10 16:09:12 -05:00
Clint
9f56addf0c
Merge pull request #1446 from hashicorp/f-aws-upstream-security-group
...
providers/aws: Convert AWS Security Group to upstream aws-sdk-go
2015-04-10 11:06:55 -05:00
Clint Shryock
c160058baf
provider/aws: Detect creds in AWS config
2015-04-09 17:06:22 -05:00
Clint Shryock
6ff9b0c776
provider/aws: Fix type mismatch issue with AWS RDS
2015-04-09 14:27:52 -05:00
Mitchell Hashimoto
6f82137875
provider/aws: fix potential panic on nil db name [GH-1460]
2015-04-09 11:19:33 -07:00
Mitchell Hashimoto
4e92b8c77f
provider/aws: fix network ACL test, at some point we added a second rule
2015-04-09 10:45:22 -07:00
Paul Hinze
1118a86798
providers/aws: make acc test name match pattern
2015-04-09 12:33:20 -05:00
Mitchell Hashimoto
d189457376
provider/aws: clean up VPC peering connection test
2015-04-09 10:18:50 -07:00
Clint
02c81c479d
Merge pull request #1430 from hashicorp/b-aws-route53-record-update
...
provider/aws: Fix issue in updating Route 53 records on refresh/read.
2015-04-09 11:54:27 -05:00
Paul Hinze
4363ac4970
Merge pull request #1444 from hashicorp/b-launch-config-bugs
...
providers/aws: fix a few more bugs in launch configs
2015-04-09 10:24:18 -05:00
Paul Hinze
bfb3134148
Merge pull request #1445 from hashicorp/b-ebs-perpetual-recreate-without-both-volume-fields
...
providers/aws: reduce scope of block_device set hashcodes
2015-04-09 10:24:07 -05:00
Clint Shryock
ffdd20133a
providers/aws: Convert AWS Security Group to upstream aws-sdk-go
...
Moves structure test lib too, to that `make test` actually runs it
2015-04-09 09:10:04 -05:00
Clint Shryock
ef0a763c29
fix pointer references
2015-04-09 09:03:45 -05:00
Paul Hinze
34c7bbcf4d
providers/aws: reduce scope of block_device set hashcodes
...
Fixes #1409
Resource set hash calculation is a bit of a devil's bargain when it
comes to optional, computed attributes.
If you omit the optional, computed attribute from the hash function,
changing it in an existing config is not properly detected.
If you include the optional, computed attribute in the hash and do not
specify a value for it in the config, then you'll end up with a
perpetual, unresolvable diff.
We'll need to think about how to get the best of both worlds, here, but
for now I'm switching us to the latter and documenting the fact that
changing these attributes requires manual `terraform taint` to apply.
2015-04-09 08:53:09 -05:00
Paul Hinze
8fccd9cec4
providers/aws: fix a few more bugs in launch configs
...
These bugs were found by additional check added in #1443
* Reversed nil err check meant that block devices were broken :(
* Fixing the err check revealed a few missed pointer derefs
* Unlike instances, ephemeral block devices do come back in
`BlockDeviceMappings` from `DescribeLaunchConfigurations` calls, so
we need to recognize them and filter them properly. Even though
they're not set as computed, I'm doing a `d.Set` since it doesn't
hurt and it gives us the benefit of basic drift detection.
2015-04-09 08:36:18 -05:00
Radek Simko
947761f34f
ec2/config: Use provided region instead of hardcoding us-west-2
2015-04-09 12:36:37 +01:00
Clint
5c3ec3ddcc
Merge pull request #1411 from hashicorp/f-aws-upstream-network-interface
...
provider/aws: Convert AWS Network Interface to aws-sdk-go
2015-04-08 15:51:36 -05:00
Clint
8e25dcd4f6
Merge pull request #1408 from hashicorp/f-aws-upstream-eip
...
provider/aws: Convert EIP to use upstream aws-sdk-go
2015-04-08 15:51:18 -05:00
Clint
0f6ba3eae9
Merge pull request #1407 from hashicorp/f-aws-upstream-internet-gateway
...
Convert AWS Internet Gateway to use upstream aws-sdk-go
2015-04-08 15:51:10 -05:00
Clint
281825db76
Merge pull request #1398 from hashicorp/f-aws-upstream-subnet
...
provider/aws: Convert AWS Subnet to mainstream aws-sdk-go
2015-04-08 15:38:05 -05:00
Clint Shryock
3a5a3d8515
update test to pass on Travis
2015-04-08 15:27:48 -05:00
Clint
abdfa450b2
Merge pull request #1397 from hashicorp/aws-upstream-keypair
...
provider/aws: Convert Key Pair to upstream aws-sdk-go
2015-04-08 15:21:58 -05:00
Clint
28f8dab87f
Merge pull request #1396 from hashicorp/f-aws-route53record-add-update
...
provider/aws: Change Route 53 record to allow resource updates
2015-04-08 15:14:46 -05:00
Clint Shryock
22e487c5d0
surface error with setting records on Route 53 record
2015-04-08 14:01:00 -05:00
Clint Shryock
29a5d9fc1a
Update how we expand/flatten TXT records for Route 53
2015-04-08 13:58:23 -05:00
Clint
9a3bc12cff
Merge pull request #1415 from hashicorp/b-fix-route53-recorcd-zone
...
provider/aws: Fix issue with Route 53 and pre-existing, external Hosted zones
2015-04-08 09:38:59 -05:00
Clint Shryock
f2b68c4ca8
provider/aws: Fix issue in updating Route 53 records on refresh/read.
...
Route 53 records were silently erroring out when saving the records returned
from AWS, because they weren't being presented as an array of strings like we
expected.
2015-04-08 09:06:15 -05:00
Clint Shryock
547080002c
provider/aws: Fix issue with Route 53 and pre-existing, external Hosted Zones
2015-04-07 15:20:56 -05:00
Paul Hinze
ee7ccb7908
providers/aws: fix LCs being invalid in classic
...
Turns out AssociatePublicIPAddress was always being set, but the AWS
APIs don't like that when you're launching into EC2 Classic and return a
validation error at ASG launch time.
Fixes #1410
2015-04-07 13:08:09 -05:00
Clint Shryock
6376ac2dab
provider/aws: Convert AWS Network Interface to aws-sdk-go
...
Also adds sdk versions of structure, structure test
2015-04-07 12:07:12 -05:00
Clint Shryock
a15547b955
provider/aws: Convert EIP to use upstream aws-sdk-go
2015-04-07 10:37:17 -05:00
Clint Shryock
2c1c448031
providers/aws: Convert AWS Internet gateway to upstream aws-sdk-go
2015-04-07 09:44:00 -05:00
Clint Shryock
6feba0bf36
migrate aws keypair test suite
2015-04-06 15:13:29 -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
eb82f2bf2a
provider/aws: Convert Key Pair to upstream aws-sdk-go
2015-04-06 12:22:57 -05:00
Clint
23c0fb7695
Merge pull request #1384 from hashicorp/b-aws-fix-route53-hosted-refresh
...
provider/aws: Fix refresh issue in Route 53 hosted zone
2015-04-06 11:11:07 -05:00
Clint
fa2d41ef55
Merge pull request #1234 from hashicorp/b-fix-aws-subnet-map-public-change
...
provider/aws: Fix issue when changing map-public-ip in Subnets
2015-04-06 11:03:45 -05:00
Clint
008012b7a6
Merge pull request #1382 from hashicorp/f-aws-rds-updates
...
provider/aws: Support additional changes to RDS without forcing new
2015-04-06 10:59:57 -05:00
Paul Hinze
6726309947
Fix string typo
2015-04-06 10:51:30 -05:00
Paul Hinze
c2b293d047
Fix comment typo
2015-04-06 10:45:02 -05:00
Clint Shryock
c5eb16cfb1
provider/aws: Change Route 53 record to allow resource updates
...
This removes `ForceNew` from `records` and `ttl`, and introduces a
`resourceAwsRoute53RecordUpdate` function. The `resourceAwsRoute53RecordUpdate`
falls through to the `resourceAwsRoute53RecordCreate` function, which utilizes
AWS `UPSERT` behavior and diffs for us.
`Name` and `Type` are used by AWS in the `UPSERT`, so only records with matching
`name` and `type` can be updated. Others are created as new, so we leave the
`ForceNew` behavior here.
2015-04-06 10:16:23 -05:00
Clint Shryock
f02de51d58
provider/aws: Fix refresh issue in Route 53 hosted zone
...
Change the error handling/detection to correctly determine no hosted zone
exists.
2015-04-03 13:59:34 -05:00
Paul Hinze
9a91e1021a
providers/aws: don't force update for existing launch configs
...
These changes should fix #1367 :
* `ebs_optimized` gets `Computed: true` and set from `Read`
* `ephemeral_block_device` loses `Computed: true`
* explicitly set `root_block_device` to empty from `Read`
While I was in there (tm):
* Send pointers to `d.Set` so we can use its internal nil check.
2015-04-03 12:58:49 -05:00
Paul Hinze
b0abb4ea49
Merge pull request #1379 from hashicorp/f-validate-forcenew-on-resources-without-update
...
helper/schema: ensure ForceNew set when Update is not
2015-04-03 12:53:55 -05:00
Clint Shryock
961a646b9a
provider/aws: Support additional changes to RDS without forcing a new resource
2015-04-03 12:23:01 -05:00
Paul Hinze
66dbf91ffd
helper/schema: ensure ForceNew set when Update is not
...
If a given resource does not define an `Update` function, then all of
its attributes must be specified as `ForceNew`, lest Applys fail with
"doesn't support update" like #1367 .
This is something we can detect automatically, so this adds a check for
it when we validate provider implementations.
2015-04-03 09:57:30 -05:00
Clint Shryock
268f935386
provider/aws: Fix issue finding db subnets
...
AWS seems to lower case DB Subnet Group names, causing a failure in TF if your
name isn't all lower case.
2015-04-03 09:34:04 -05:00
Paul Hinze
cedfadc808
Merge pull request #1352 from hashicorp/b-rds-pointers
...
providers/aws: pass pointers directly to d.Set in RDS
2015-04-02 12:41:31 -05:00
Jason Waldrip
f77250f17d
block device support for launch configurations
...
- mimics block device support from AWS instance
- splits the acceptance tests out so they all pass, handling a FIXME
from #1079
2015-04-02 12:34:13 -05:00
Paul Hinze
f8a699f3d8
Merge pull request #1079 from bobtfish/launch_configuration_computed_names
...
RFC for making launch configuration names computed.
2015-04-02 12:10:22 -05:00
Clint Shryock
87e1260fac
update hash for aws security group test
2015-04-02 09:00:47 -05:00
Rui Zhang
94bb3ed513
Support for AWS Placement Group
...
- add placement_group for aws instance
- update test and document
2015-04-01 23:33:16 -07: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
b31a69fe43
provider/aws: Allow DB Parameter group to change in RDS
2015-04-01 16:05:19 -05:00
Clint Shryock
261faaf3d2
Merge branch 'master' into f-rds-update
...
* master: (167 commits)
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
core: docs for targeted operations
core: targeted operations
...
2015-04-01 15:28:35 -05:00
Clint Shryock
6be66612b5
Merge remote-tracking branch 'upstream/master' into f-aws-rds-tags
...
* upstream/master:
return error if failed to set tags on Route 53 zone
cleanups
provider/aws: Finish Tag support for Route 53 zone
provider/aws: Add tags to Route53 hosted zones
2015-04-01 14:58:04 -05:00
Clint Shryock
815b79753a
return error if failed to set tags on Route 53 zone
2015-04-01 14:49:50 -05:00
Clint Shryock
a4f72dc8ee
Merge branch 'master' into f-aws-route53zone-tags
...
* master: (172 commits)
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
core: docs for targeted operations
core: targeted operations
user_data support
...
2015-04-01 14:23:32 -05:00
Clint Shryock
d16492a962
Merge branch 'master' into f-aws-rds-tags
...
* master: (172 commits)
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
core: docs for targeted operations
core: targeted operations
user_data support
...
2015-04-01 14:21:57 -05:00
Paul Hinze
78963fc3d9
providers/aws: fix/improve RDS pointers handling
...
* d.Set has a pointer nil check we can lean on
* need to be a bit more conservative about nil checks on nested structs;
(this fixes the RDS acceptance tests)
/cc @fanhaf
2015-04-01 11:32:17 -05:00
Clint Shryock
3f5829dc78
Merge branch 'f-aws-asg-fix-drain-delete'
...
* f-aws-asg-fix-drain-delete:
Fix hashcode for ASG test
2015-04-01 10:47:09 -05:00
Clint Shryock
84e448de1a
Fix hashcode for ASG test
2015-04-01 10:42:53 -05:00
Clint
9d91c806fc
Merge pull request #1353 from hashicorp/f-aws-asg-fix-drain-delete
...
provider/aws: Fix issue with tainted ASG groups failing to re-create
2015-04-01 10:20:58 -05:00
Clint Shryock
3d65998282
provider/aws: Fix issue with tainted ASG groups failing to re-create
2015-04-01 09:24:26 -05:00
Paul Hinze
85c89c3ec6
Merge pull request #1350 from fanhaf/panic_DBName_null
...
Provider/AWS: RDS - Avoid panics when DBName is not set
2015-04-01 09:02:52 -05:00
Phil Frost
27f0873de7
Don't error when reading s3 bucket with no tags
...
s3.GetBucketTagging returns an error if there are no tags associated
with a bucket. Consequently, any configuration with a tagless s3 bucket
would fail with an error, "the TagSet does not exist".
Handle that error more appropriately, interpreting it as an empty set of
tags.
2015-04-01 08:57:50 -04:00
Michał Guminiak
dc67b043fa
Avoid panics when DBName is not set
...
provider/aws: The DBName in RDS instance is optional and when
not set, the Read function return null.
2015-04-01 14:43:05 +02:00
Clint Shryock
e485767694
provider/aws: Add non-destructive updates to AWS RDS
...
This introduces non-destructive, in-place upgrades to MultiAZ and Engine Version
attributes of AWS RDS instances.
2015-03-31 09:41:37 -05:00
Clint Shryock
a897b5208e
Merge branch 'f-aws-rds-tags' into f-rds-update
...
* f-aws-rds-tags:
fix index out of range error
fix formatting
upgrade VPC Ids and DB Subnet to be optionally computed
fix typo
provider/aws: Introduce IAM connection
2015-03-30 15:19:35 -05:00
Clint Shryock
755f8d0f44
provider/aws: Fix acceptance test checks for AWS Security Group
2015-03-30 14:54:03 -05:00
Paul Hinze
f2968b045c
Merge pull request #1316 from hashicorp/b-empty-instancestate-state-migrate-crash
...
providers/aws: handle empty instancestate in state migration
2015-03-29 08:53:04 -05:00
Clint Shryock
ce8ec26d08
cleanups
2015-03-27 16:05:54 -05:00
Clint Shryock
12585b1963
provider/aws: Finish Tag support for Route 53 zone
2015-03-27 15:41:42 -05:00
Clint Shryock
3ce5b6cd70
Merge branch 'master' into f-aws-route53zone-tags
...
* master:
provider/aws: Fix dependency violation when deleting Internet Gateways
command/remote-config: failing tests
update CHANGELOG
command/remote-config: do a pull with `terraform remote config`
command/remote-{pull,push}: colorize and show success output
command/remote-config: lowercase the type so that Atlas works, for example
command/remote-config: show flag parse errors
command/remote-config: remove weird error case that shows no error message
command: when setting up state, only write back if local is newer
2015-03-27 13:57:33 -05:00
Clint Shryock
38c386487b
Merge branch 'master' into f-aws-rds-tags
...
* master: (66 commits)
provider/aws: Fix dependency violation when deleting Internet Gateways
command/remote-config: failing tests
update CHANGELOG
command/remote-config: do a pull with `terraform remote config`
command/remote-{pull,push}: colorize and show success output
command/remote-config: lowercase the type so that Atlas works, for example
command/remote-config: show flag parse errors
command/remote-config: remove weird error case that shows no error message
command: when setting up state, only write back if local is newer
minor code cleanups to get acceptance tests passing
update CHANGELOG
providers/digitalocean: add dot in GET response
providers/digitalocean: force fqdn in dns rr value
update CHANGELOG
small code cleanup
Add proper reading/updating of tags for S3
provider/aws: Add tags to S3
Documentation for ASG Tags added
Tags support added for AWS ASG
command/output: don't panic if no root module in state [GH-1263]
...
2015-03-27 13:49:05 -05:00
Clint Shryock
043a4848ee
provider/aws: Fix dependency violation when deleting Internet Gateways
2015-03-27 11:39:07 -05:00
Clint Shryock
b64a919d83
provider/aws: Add tags to Route53 hosted zones
2015-03-26 16:45:23 -05:00
Clint
340863b6cc
Merge pull request #1312 from hashicorp/f-aws-s3-tags
...
provider/aws: Add tags to S3
2015-03-26 15:15:54 -05:00
Clint
1b22f206fb
Merge pull request #1279 from hashicorp/b-route53-record-fixes
...
provider/aws: Cleanup Route 53 subdomain name handling
2015-03-26 15:15:31 -05:00
Clint Shryock
deda59b50e
minor code cleanups to get acceptance tests passing
2015-03-26 14:49:15 -05:00
Clint Shryock
877eb902a0
Merge branch 'master' into time-asg-tags-support
...
* master:
update CHANGELOG
providers/digitalocean: add dot in GET response
providers/digitalocean: force fqdn in dns rr value
update CHANGELOG
Add disk size to google_compute_instance disk blocks.
'project' should be set to the project's ID, not its name.
Don't error when enabling DNS hostnames in a VPC
Correct AWS VPC or route table read functions
Updates to GCE Instances and Instance Templates to allow for false values to be set for the auto_delete setting.
Update GCE Instance Template tests now that existing disk must exist prior to template creation.
Update Google API import to point to the new location.
add network field to the network_interface
2015-03-26 13:47:46 -05:00
Paul Hinze
f51fb5e127
providers/aws: handle empty instancestate in state migration
...
fixes #1309
2015-03-26 13:07:04 -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
Clint Shryock
1b699aae7d
small code cleanup
2015-03-26 11:58:20 -05:00
Clint Shryock
be60d39b24
Add proper reading/updating of tags for S3
2015-03-26 11:45:16 -05:00
Clint Shryock
c6d832333b
provider/aws: Add tags to S3
2015-03-26 11:19:42 -05:00
Radek Simko
fff05e2aad
Tags support added for AWS ASG
2015-03-26 07:35:15 +00:00
Paul Hinze
396b082c20
Merge pull request #1304 from hashicorp/b-aws-vpc-modify-attr-req
...
providers/aws: fix DNS options on VPC
2015-03-25 16:24:13 -05: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
Paul Hinze
6b02cfb700
Merge pull request #1277 from hashicorp/f-aws-derive-root-device-name
...
providers/aws: derive instance root_block_device name
2015-03-25 15:15:05 -05:00
Clint Shryock
89854b0af5
fix index out of range error
2015-03-25 11:10:12 -05:00
Clint Shryock
398f4564c4
fix formatting
2015-03-25 10:32:54 -05:00
Clint Shryock
65ff5b327d
upgrade VPC Ids and DB Subnet to be optionally computed
2015-03-25 10:14:45 -05:00
Clint Shryock
676f3c5bab
fix typo
2015-03-25 10:05:15 -05:00
Clint Shryock
87907e24ba
provider/aws: Introduce IAM connection
2015-03-24 15:47:22 -05:00
Clint Shryock
ef094e2cfe
provider/aws: Add tag support to ELB
2015-03-24 13:37:42 -05:00
Clint Shryock
32eebf4e15
provider/aws: Cleanup Route 53 subdomain name handling
2015-03-23 15:01:53 -05:00
Paul Hinze
a4e80b6313
providers/aws: derive instance root_block_device name
...
I was working on building a validation to check the user-provided
"device_name" for "root_block_device" on AWS Instances, when I realized
that if I can check it, I might as well just derive it automatically!
So that's what we do here - when you customize the details of the root
block device, device name is just comes from the selected AMI.
2015-03-23 11:58:45 -05:00
Clint
55d682482a
Merge pull request #1274 from TimeIncOSS/modifiers-fix
...
Fix fmt modifiers for bool to be actually bool, not integer
2015-03-23 10:56:23 -05:00
Radek Simko
bbda2d6733
Fix fmt modifiers for bool to be actually bool, not integer
2015-03-22 13:33:17 +00: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
f97343dea1
provider/aws: Fix issue in AWS AutoScaling Group where health_check_type is not set correctly
2015-03-20 10:11:12 -05:00
Clint Shryock
c48a5bf42b
provider/aws: Fix DB Subnet refresh issue
2015-03-19 16:45:07 -05:00
Clint
bb4dd8ae77
Merge pull request #1137 from deverton/aws-go-vpn
...
provider/aws: Add Support For AWS VPN Gateways using aws-sdk-go
2015-03-19 16:12:17 -05:00
Clint Shryock
1ccfcb5e3d
Merge remote-tracking branch 'upstream/master'
...
* upstream/master:
provider/aws: Fix dependency violation with subnets and security groups
2015-03-19 16:01:15 -05:00
Clint Shryock
a8c80a447e
Merge branch 'b-fix-route53-txt-records'
...
* b-fix-route53-txt-records:
provider/aws: Fix issue with Route53 and TXT records
provider/aws: Add test for TXT route53 record
2015-03-19 15:47:20 -05:00
Clint
3cbc8899b5
Merge pull request #1252 from hashicorp/fix-subnet-sg-dependency-violation
...
provider/aws: Fix dependency violation with subnets and security groups
2015-03-19 15:39:57 -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
Paul Hinze
5e1de9d930
Merge pull request #1250 from hashicorp/b-block-devices
...
providers/aws: fix bug w/ empty block dev mapping
2015-03-19 13:21:08 -05:00
Paul Hinze
6c62e23829
providers/aws: fix bug w/ empty block dev mapping
...
fixes #1249
2015-03-19 13:14:31 -05:00
Paul Hinze
f990c3b02b
providers/aws: fix blockdevices acceptance test
...
hashcodes just needed updating from latest hash func tweaks
2015-03-19 11:40:48 -05:00
Clint
21fa3d1fc9
Merge pull request #1210 from hashicorp/b-add-guards-aws-instance
...
provider/aws: Add additional guards for Tenancy, SourceDestCheck
2015-03-19 11:20:14 -05:00
Clint Shryock
a063ebe992
provider/aws: Update tag support in AWS Elastic Network Interfaces
2015-03-19 11:07:01 -05:00
Clint
df514c9003
Merge pull request #1149 from peterbeams/master
...
Support AWS Elastic Network Interfaces (ENI)
2015-03-19 11:04:30 -05:00
Clint Shryock
c1ccbb5c7d
provider/aws: Add VPC guards for Tenancy, SourceDestCheck
2015-03-19 10:07:46 -05:00
Paul Hinze
5fca25ae5e
providers/aws: remove commented code
...
oopsie!
2015-03-19 09:19:10 -05:00
Paul Hinze
46b63074e0
Merge pull request #1045 from hashicorp/f-block-devices
...
providers/aws: rework instance block devices
2015-03-19 09:09:45 -05:00
Paul Hinze
2b23c402ee
providers/aws: rework instance block devices
...
Instance block devices are now managed by three distinct sub-resources:
* `root_block_device` - introduced previously
* `ebs_block_device` - all additional ebs-backed volumes
* `ephemeral_block_device` - instance store / ephemeral devices
The AWS API support around BlockDeviceMapping is pretty confusing. It's
a single collection type that supports these three members each of which
has different fields and different behavior.
My biggest hiccup came from the fact that Instance Store volumes do not
show up in any response BlockDeviceMapping for any EC2 `Describe*` API
calls. They're only available from the instance meta-data service as
queried from inside the node.
This removes `block_device` altogether for a clean break from old
configs. New configs will need to sort their `block_device`
declarations into the three new types. The field has been marked
`Removed` to indicate this to users.
With the new block device format being introduced, we need to ensure
Terraform is able to properly read statefiles written in the old format.
So we use the new `helper/schema` facility of "state migrations" to
transform statefiles in the old format to something that the current
version of the schema can use.
Fixes #858
2015-03-19 09:03:41 -05:00
Dan Everton
8ebbaf550c
Fixes for goamz removal.
2015-03-19 11:14:41 +10:00
Dan Everton
f7289599cc
Merge branch 'master' into aws-go-vpn
2015-03-19 11:03:48 +10:00
Clint
eadc44d5f7
Merge pull request #1223 from hashicorp/b-fix-ingress-self-ommission
...
provider/aws: Fix issue with ignoring the 'self' attribute of a Security Group rule
2015-03-18 16:42:17 -05:00
Mitchell Hashimoto
e84711b460
providers/aws: more classic-mode fixes for instance
...
/cc @catsby - Just a quick note to be careful about checking the nil of
a field before cehcking the value (see the subnetid check), to avoid
panics
2015-03-18 20:54:44 +01:00
Mitchell Hashimoto
50c49396f4
providers/aws: only set instance tenancy if its set
...
/cc @clint
2015-03-18 20:48:39 +01:00
Clint
fd1514dfaf
Merge pull request #1225 from hashicorp/b-fix-db-parameter-group-cases
...
provider/aws: Fixes issue 886 in DB Parameter group
2015-03-18 11:01:04 -05:00
Clint Shryock
54edf1cd2c
provider/aws: Fix issue when changing map-public-ip in Subnets
2015-03-18 10:50:36 -05:00
Paul Hinze
5b84f011dd
Merge pull request #1231 from hashicorp/b-instance-user-data-test-fix
...
providers/aws: fix TestAccAWSInstance_normal
2015-03-18 09:00:37 -05:00
Paul Hinze
ca6f6a1e14
providers/aws: fix TestAccAWSInstance_normal
...
The test just needed updated SHAs for user_data.
2015-03-18 08:57:41 -05:00
Mitchell Hashimoto
d823a8cf81
providers/aws: fix security group self ingress rules on EC2-classic
2015-03-18 13:47:59 +00:00
Clint Shryock
f74e68ea46
provider/aws: Fixes issue 886 in DB Parameter group
2015-03-17 17:22:30 -05:00
Clint Shryock
7034619863
provider/aws: Fix issue where we ignored the 'self' attribute of a security group rule
2015-03-17 15:48:10 -05:00
Clint Shryock
49e6c8fd87
provider/aws: Fix wildcard support in Route53 record
...
Fixes a bug in Route53 and wildcard entries. Refs #501 .
Also fixes:
- an issue in the library where we don't fully wait for the results, because the
error code/condition changed with the migration to aws-sdk-go
- a limitation in the test, where we only consider the first record returned
2015-03-17 14:57:45 -05:00
Peter Beams
e4214a9983
ran go fmt and made 1 fix after running tests again
2015-03-17 13:00:36 +00:00
Peter Beams
34d2efa7df
moving expand/flatten methods into structure.go and unit testing them
2015-03-17 12:42:05 +00:00
Peter Beams
130775f38a
changes after ec2 connection renamed
2015-03-17 09:48:08 +00:00
Peter Beams
c72918efb3
Merge branch 'master' of github.com:hashicorp/terraform
2015-03-17 09:04:16 +00:00
Clint Shryock
346ff12bc5
provider/aws: Fix issue with Route53 and TXT records
2015-03-16 15:36:18 -05:00
Clint Shryock
f4808b1ea7
provider/aws: Add test for TXT route53 record
2015-03-16 15:28:45 -05:00
Clint
dc4abb48fa
Merge pull request #1195 from hashicorp/f-retire-goamz
...
provider/aws: Retire goamz
2015-03-16 08:42:40 -05:00
Clint Shryock
670d22e18f
update acceptance test with the correct depends_on declarations
2015-03-13 14:58:05 -05:00
Clint Shryock
14a4ea65ea
Merge branch 'master' into b-aws-instance-sec-groups
...
* master:
provider/aws: Fix encoding bug with AWS Instance
minor style cleanups
Tags Schema
Added Tagging
Added vpc refactor in aws sdk go
Removed additional variable for print, added for debugging
Using hashicorp/aws-sdk-go
Changed things around as suggested by @catsby
Refactor with Acceptance Tests
VPC Refactor
First refactor
Added Connection to config
2015-03-13 14:39:29 -05:00
Clint Shryock
d5f23aec0a
provider/aws: Fix encoding bug with AWS Instance
2015-03-13 10:54:00 -05:00
Clint Shryock
28fbd971fc
Retire goamz
2015-03-13 09:42:50 -05:00
Clint Shryock
580b696e7f
Strike 'goamz' from the repo'
2015-03-12 16:49:38 -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
Clint Shryock
ddc2d8de2e
Merge branch 'master' into rmenn-aws-go-vpc
...
* master: (69 commits)
upgrade tests and remove ICMPTypeCode for now
helper/ssh: update import location
clean up
provider/aws: Convert AWS Network ACL to aws-sdk-go
Update website docs on AWS RDS encryption field
more test updates
provider/aws update Network ACL tests
code cleanup on subnet check
restore IOPS positioning
Code cleanup
Update CHANGELOG.md
Bugfix: Add tags on AWS IG creation, not just on update
fix nit-pick from go vet
remove duplicated function
provider/aws: Convert AWS Route Table Association to aws-sdk-go
Cleansup: Restore expandIPPerms, remove flattenIPPerms
clean up debug output to make go vet happy
providers/aws: Convert AWS VPC Peering to aws-sdk-go
provider/aws: Add env default for AWS_ACCOUNT_ID in VPC Peering connection
convert route table tests to aws-sdk-go
...
2015-03-12 15:07:28 -05:00
Clint Shryock
33fdc0c63f
update the new test config
2015-03-12 15:01:24 -05:00
Clint Shryock
3a5918d013
Add acceptance test for Network / Instance security group fix
2015-03-12 14:26:10 -05:00
Clint Shryock
749db242f4
Fix issue with Network interfaces and an instance-level security groups ( #1188 )
2015-03-12 11:08:53 -05:00
Dan Everton
cfd8d913bd
Make vpnGatewayStateRefreshFunc private
2015-03-12 08:13:39 +10:00
Dan Everton
9f50b048e1
Merge branch 'master' into aws-go-vpn
2015-03-12 08:09:27 +10:00
Clint
9654f2ff3a
Merge pull request #1147 from hashicorp/aws-go-instance
...
provider/aws: Convert AWS Instance to aws-sdk-go
2015-03-11 17:07:58 -05:00
Clint Shryock
670d53b1a1
upgrade tests and remove ICMPTypeCode for now
2015-03-11 16:21:22 -05:00
Clint Shryock
8a5eadedd1
clean up
2015-03-11 15:18:42 -05:00
Clint Shryock
bd591877fe
provider/aws: Convert AWS Network ACL to aws-sdk-go
2015-03-11 15:01:07 -05:00
Clint Shryock
70a989a23e
more test updates
2015-03-11 11:19:08 -05:00
Clint Shryock
8a5c3b8525
provider/aws update Network ACL tests
2015-03-11 10:40:32 -05:00
Clint
9b974b0248
Merge pull request #1176 from TimeIncOSS/tags-updating
...
Bugfix: Add tags on AWS IG creation, not just on update
2015-03-11 10:31:33 -05:00
Clint Shryock
751140351b
code cleanup on subnet check
2015-03-11 09:55:32 -05:00
Clint Shryock
9d6f05e529
restore IOPS positioning
2015-03-11 09:24:59 -05:00
Clint Shryock
f8c22c1e2d
Merge branch 'master' into aws-go-instance
...
* master:
Code cleanup
Update CHANGELOG.md
fix nit-pick from go vet
remove duplicated function
provider/aws: Convert AWS Route Table Association to aws-sdk-go
Cleansup: Restore expandIPPerms, remove flattenIPPerms
clean up debug output to make go vet happy
providers/aws: Convert AWS VPC Peering to aws-sdk-go
provider/aws: Add env default for AWS_ACCOUNT_ID in VPC Peering connection
convert route table tests to aws-sdk-go
provider/aws: Convert AWS Route Table to aws-sdk-go
providers/aws: iops in root device skipped when output state
Give route table assoc it's own copy of this method for now
provider/aws: Convert Main Route Table assoc. to aws-sdk-go
aws/Route53 record creation timeout 10->30 mins
provider/aws: Convert AWS Security Group to aws-sdk-go
Fixing up the tests to make them pass correctly
Fixing a corner case while retrieving a template UUID
Adding tests and docs for the new VPN resources
Adding a few new resources
2015-03-11 09:21:46 -05:00
Clint
344382df2e
Merge pull request #1162 from hashicorp/aws-go-security-groups
...
provider/aws: Convert AWS Security Groups to aws-sdk-go
2015-03-11 08:33:01 -05:00
Clint Shryock
902ca25f36
Code cleanup
2015-03-11 08:30:43 -05:00
Mitchell Hashimoto
ac92766d2c
Merge pull request #1164 from TimeIncOSS/route53-increase-timeout
...
Increase aws/Route53 record creation timeout
2015-03-11 08:31:14 +01:00
Radek Simko
c7ccf4f74d
Bugfix: Add tags on AWS IG creation, not just on update
2015-03-10 23:01:05 +00:00
Clint
263395a9f0
Merge pull request #1171 from hashicorp/aws-go-route-table-assoc
...
provider/aws: Convert AWS Route Table Association to aws-sdk-go
2015-03-10 17:01:21 -05:00
Clint Shryock
314453abe5
fix nit-pick from go vet
2015-03-10 16:57:43 -05:00
Clint
e4a298fdfb
Merge pull request #1174 from hashicorp/aws-go-vpc-peering
...
providers/aws: Convert AWS VPC Peering to aws-sdk-go
2015-03-10 16:53:31 -05:00
Clint Shryock
3c3b7d51a2
remove duplicated function
2015-03-10 16:52:09 -05:00
Clint Shryock
b038e5f720
provider/aws: Convert AWS Route Table Association to aws-sdk-go
2015-03-10 16:43:42 -05:00
Clint
357ef9f313
Merge pull request #1170 from hashicorp/aws-go-route-table
...
provider/aws: Convert AWS Route Table to aws-sdk-go
2015-03-10 16:42:56 -05:00
Clint
2d2072f8a8
Merge pull request #1165 from hashicorp/aws-go-main-route-table
...
provider/aws: Convert Main Route Table assoc. to aws-sdk-go
2015-03-10 16:40:15 -05:00
Clint Shryock
3977256c17
Cleansup: Restore expandIPPerms, remove flattenIPPerms
2015-03-10 16:35:49 -05:00
Clint Shryock
a22c23ad42
clean up debug output to make go vet happy
2015-03-10 15:55:49 -05:00
Paul Hinze
f3a786b084
Merge pull request #1166 from suguru/f-aws-block-device-root-iops
...
providers/aws: iops in root device skipped when output state
2015-03-10 14:29:23 -06:00
Clint Shryock
30125e3a5f
providers/aws: Convert AWS VPC Peering to aws-sdk-go
2015-03-10 15:21:31 -05:00
Clint Shryock
fe293f909e
provider/aws: Add env default for AWS_ACCOUNT_ID in VPC Peering connection
2015-03-10 14:44:07 -05:00
Clint Shryock
e7b3f3cf17
convert route table tests to aws-sdk-go
2015-03-10 10:30:01 -05:00
Clint Shryock
30f401eab7
provider/aws: Convert AWS Route Table to aws-sdk-go
2015-03-10 10:23:14 -05:00
Suguru Namura
30941dfdc4
providers/aws: iops in root device skipped when output state
2015-03-10 19:50:05 +09:00
Dan Everton
d6a731040c
Format the resource_vpn_gateway*.go files.
2015-03-10 10:30:42 +10:00
Dan Everton
c172fd3736
Fix error handling.
...
AWS returns IncorrectState not DependencyViolation when a VPN gateway is
still attached to a VPC.
2015-03-10 10:28:44 +10:00
Dan Everton
d253fff4e5
Hardcode type parameter value.
...
Current AWS documentation says there's only one type of VPN gateway for
now.
2015-03-10 09:49:46 +10:00
Clint Shryock
795970d5a2
Give route table assoc it's own copy of this method for now
2015-03-09 17:12:15 -05:00
Clint Shryock
5a13ac9bc9
provider/aws: Convert Main Route Table assoc. to aws-sdk-go
2015-03-09 16:15:25 -05:00
Radek Simko
bc44fdc1a7
aws/Route53 record creation timeout 10->30 mins
2015-03-09 20:12:15 +00:00
Clint Shryock
20b02cacd4
provider/aws: Convert AWS Security Group to aws-sdk-go
...
Convert security group test too
2015-03-09 11:45:58 -05:00
Rahul Menon
a34800dff2
Tags Schema
2015-03-09 14:39:06 +05:30
Colin Hebert
675f8ea7b9
Print log in one line
2015-03-07 17:20:51 +11:00
Colin Hebert
2260045dc8
Improve backward compatibility for now
2015-03-07 17:16:59 +11:00
Colin Hebert
9e233a5cd7
Fix typo
2015-03-07 17:14:04 +11:00
Colin Hebert
18c3042c47
Differenciate security groups in VPC and in non VPC env
2015-03-07 17:04:53 +11:00
Dan Everton
7565e69ba3
Merge branch 'master' into aws-go-vpn
2015-03-07 09:46:23 +10:00
Clint Shryock
94d30aa70a
provider/aws: Convert aws instance test to aws-sdk
...
convert AWS Instance and Test file to use aws-sdk-go
2015-03-06 14:53:05 -06:00
Peter Beams
810860ec37
fixing indentation
2015-03-06 16:39:00 +00:00
Peter Beams
79eb50e06b
removing commented imports
2015-03-06 16:37:18 +00:00
Peter Beams
3052edee6b
removing unrequired changes
2015-03-06 16:12:09 +00:00
Peter Beams
efcba8df2e
tweaks after merge from master
2015-03-06 16:08:51 +00:00
Peter Beams
e59d4fc976
merging from hashicorp master
2015-03-06 15:53:31 +00:00
Peter Beams
c3ba0a7f6d
adding acceptance tests for network interface
2015-03-06 15:49:56 +00:00
Peter Beams
39346e6f16
tweaks in new aws network interface
2015-03-06 09:29:25 +00:00
Dan Everton
7240af439c
Minor test fixes.
2015-03-06 15:48:30 +10:00
Paul Hinze
bc1baa8712
providers/aws: final_snapshot_id isn't ForceNew
...
Removing `ForceNew` from `final_snapshot_identifier` - it's a parameter
that's _only_ passed during the DeleteDBInstance API call, so it's perfectly
valid to change the attribute for an existing DB Instance.
fixes #1138
2015-03-05 19:07:41 -06:00
Dan Everton
98d827b6f5
Match the internet gateway code better.
2015-03-06 08:47:29 +10:00
Dan Everton
4706ee7ffc
Add acceptance test for aws_vpn_gateway resource.
2015-03-06 08:41:22 +10:00
Dan Everton
e5a2504acf
First pass at aws_vpn_gateway resource
...
Uses the aws-sdk-go module and is based on the way the existing
aws_internet_gateway resource works.
2015-03-06 08:41:21 +10:00
Paul Hinze
170341d38e
providers/aws: go vet fixes in aws_subnet
2015-03-05 14:53:07 -06:00
Radek Simko
c616c83a21
Let aws_db_instance.*.address to be actually address
2015-03-05 18:15:30 +00:00
Clint
cebe8b9cbe
Merge pull request #1117 from hashicorp/aws-go-key-pair
...
provider/aws: Convert AWS Key Pair to aws-sdk-go
2015-03-05 09:17:22 -06:00
Clint
23ece16d15
Merge pull request #1113 from hashicorp/aws-go-internet-gateway
...
providers/aws: Convert AWS Internet Gateway to aws-sdk-go
2015-03-05 09:17:06 -06:00
Clint Shryock
641c7c613a
provider/aws: Convert AWS Key Pair to aws-sdk-go
2015-03-04 15:17:23 -06:00
Paul Hinze
72d4ac73d3
Merge pull request #1103 from suguru/aws-block-device-iops
...
providers/aws: add iops to block devices
2015-03-04 12:02:10 -06:00
Clint Shryock
7643406735
provider/aws: Convert AWS Internet Gateway (test) to aws-sdk-go
2015-03-04 10:55:17 -06:00
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
Clint Shryock
89d6cdb0a6
providers/aws: Convert AWS Internet Gateway to aws-sdk-go
2015-03-03 16:08:52 -06:00
Clint Shryock
612a570a6d
provider/aws: Convert AWS EIP to use aws-sdk-go
2015-03-03 11:45:27 -06:00
Peter Beams
42aaee3e92
dealing with attach / detach
2015-03-03 15:30:10 +00:00
rmenn
d56c683602
Removed additional variable for print, added for debugging
2015-03-03 20:57:30 +05:30
Peter Beams
533b7238b1
can create, update & delete eni
2015-03-03 12:57:11 +00:00
Suguru Namura
68efa3fc21
providers/aws: add iops to block devices
2015-03-03 15:57:08 +09:00
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
Peter Beams
590a912cc9
first steps to add network interface
2015-03-03 01:33:42 +00:00
Clint Shryock
10a32b9819
providers/aws: Convert AWS Subnet to aws-sdk-go
2015-03-02 16:32:48 -06:00
Clint
23d90c0c02
Merge pull request #1092 from hashicorp/aws-go-s3-fix-region-bug
...
provider/aws: Special case us-east-1 for S3 bucket creation
2015-03-02 14:38:48 -06:00
Clint
475a748ff8
Merge pull request #1090 from hashicorp/aws-go-elb
...
provider/aws: Convert AWS ELB to aws-sdk-go
2015-03-02 14:38:07 -06:00
Clint Shryock
6eea5dcec8
rename structure tests to be more idiomatic
2015-03-02 11:47:06 -06:00
Paul Hinze
2450b03bc6
Merge pull request #1041 from aianchici/master
...
adding storage_encrypted as an optional parameter
2015-03-02 11:33:52 -06:00
Clint Shryock
af57b3db69
provider/aws: Special case us-east-1 for S3 bucket creation.
2015-03-02 11:13:19 -06:00
Clint Shryock
2b3bcd5c27
add simple test for expandInstanceString
2015-03-02 10:00:45 -06:00
Clint Shryock
da55f9bf85
provider/aws: Convert AWS ELB to aws-sdk-go
2015-03-02 09:44:06 -06:00
Radek Simko
503ffbd3be
Save token that came from goamz + use it in go-sdk-aws
2015-03-02 11:16:06 +00:00
Rahul Menon
89d01b49ab
Refactor with Acceptance Tests
2015-03-02 14:21:13 +05:30
Alex Ianchici
916c64b166
adding storage_encrypted as an optional boolean parameter to support encryption at rest in AWS
2015-02-27 14:29:24 -08:00
Tomas Doran
09f5935993
Allow launch configuration names to be computed
...
This allows you to set lifecycle create_before_destroy = true
and fixes #532 as then we'll make a new launch config, change
the launch config on the ASG, and *then* delete the old launch
config.
Also tried adding tests which unfortunately don't seem to fail...
2015-02-27 10:51:33 -08:00
Jack Pearkes
6f27f90ae1
providers/aws: increase db instance wait times
2015-02-27 09:38:07 -08:00
Jack Pearkes
053a7c0a8b
Merge pull request #1052 from TimeInc/hct-bugfix
...
Bug: Prevent empty string to be used as default health_check_type
2015-02-27 09:33:46 -08:00
Clint
0adb052c11
provider/aws: Remove goamz/rds
...
consolidates the conversion of AWS RDS to aws-sdk-go
2015-02-27 10:54:37 -06:00
Clint Shryock
b5590c6247
provider/aws: convert aws rds subnet to aws-sdk-go
2015-02-27 09:56:38 -06:00
Clint
c44d0e6301
Merge pull request #1064 from hashicorp/aws-go-db-security-group
...
provider/aws: Convert AWS DB Security Group to aws-sdk-go
2015-02-27 08:49:48 -06:00
Clint Shryock
659ddd6fa1
provider/aws: convert db param group test to use aws-sdk-go
2015-02-26 15:54:03 -06:00
Clint Shryock
f453d1863a
remove helper functions, flatten status in the function
2015-02-26 15:47:30 -06:00
Clint Shryock
561e92e65d
provider/aws: Convert db security group test
2015-02-26 15:36:38 -06:00
Clint Shryock
ac8da7a988
provider/aws: Convert AWS DB Security Group to aws-sdk-go
...
Part 1: converting the test next
2015-02-26 15:08:39 -06:00
Clint Shryock
bd2791824f
Update ingress signature
2015-02-26 11:03:56 -06:00
Clint Shryock
242cdc7a29
provider/aws: Convert RDS DB Parameter group to aws-sdk-go
2015-02-26 09:33:33 -06:00
Radek Simko
e378ea42b8
Prevent empty string to be used as default health_check_type
2015-02-25 21:46:56 +00:00