Commit Graph

927 Commits

Author SHA1 Message Date
Nick HS 95270bf68d Change example name in aws_db_paramater_group res
AWS DB Paramater Groups cannot contain underscores, see
http://docs.aws.amazon.com/AmazonRDS/latest/CommandLineReference/CLIReference-cmd-CreateDBParameterGroup.html
2015-04-03 15:16:13 -04: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
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 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
Radek Simko 7950ace399 Documentation for ASG Tags added 2015-03-26 07:35:16 +00: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 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
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 f7289599cc Merge branch 'master' into aws-go-vpn 2015-03-19 11:03:48 +10:00
Michael H. Oshita 1979d9b792 fix indent
align indentation with the rest of the code.
2015-03-19 03:45:32 +09: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 cd15c9aaf9 clean up docs 2015-03-13 16:04:27 -05:00
Clint Shryock 2d62e55b0e Add note to Intergent Gateway resource on using depends_on 2015-03-13 15:39:17 -05:00
Clint Shryock 580b696e7f Strike 'goamz' from the repo' 2015-03-12 16:49:38 -05:00
Dan Everton 9f50b048e1 Merge branch 'master' into aws-go-vpn 2015-03-12 08:09:27 +10:00
Clint Shryock 64f7e6a19c Update website docs on AWS RDS encryption field 2015-03-11 13:37:56 -05:00
Dan Everton 0900452113 Remove type parameter from vpn_gateway docs 2015-03-10 10:32:49 +10:00
Colin Hebert 268920126e Update documentation to reflect the new vpc_security_group_ids parameter 2015-03-07 17:09:13 +11:00
Dan Everton b741e0c9a3 Add documentation 2015-03-06 08:41:22 +10: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
Suguru Namura 68efa3fc21 providers/aws: add iops to block devices 2015-03-03 15:57:08 +09:00
Kevin Yi 0e3f1a865e protocol value for all traffic should be -1
If it is all traffic instead of all tcp traffic , protocol should be equal -1 , otherwise indicate all tcp not all traffic
2015-03-03 10:33:54 +11:00
Jack Pearkes c21c766c3e website: route53 subdomain hosted zones example 2015-02-26 14:20:30 -08:00
Clint Shryock d79b0d7fd1 provider/aws: Convert AWS DB Instance over to awslabs/aws-sdk-go
- Remove check on password for AWS RDS Instance
- Update documentation on AWS RDS Instance regarding DB Security Groups
- Change error handling to check error code from AWS API [ci skip]
2015-02-24 16:51:47 -06:00
Paul Hinze 73d20b4c58 providers/aws: add root_block_device to aws_instance
AWS provides a single `BlockDeviceMapping` to manage three different
kinds of block devices:

 (a) The root volume
 (b) Ephemeral storage
 (c) Additional EBS volumes

Each of these types has slightly different semantics [1].

(a) The root volume is defined by the AMI; it can only be customized
with `volume_size`, `volume_type`, and `delete_on_termination`.

(b) Ephemeral storage is made available based on instance type [2]. It's
attached automatically if _no_ block device mappings are specified, and
must otherwise be defined with block device mapping entries that contain
only DeviceName set to a device like "/dev/sdX" and VirtualName set to
"ephemeralN".

(c) Additional EBS volumes are controlled by mappings that omit
`virtual_name` and can specify `volume_size`, `volume_type`,
`delete_on_termination`, `snapshot_id`, and `encryption`.

After deciding to ignore root block devices to fix #859, we had users
with configurations that were attempting to manage the root block device chime
in on #913.

Terraform does not have the primitives to be able to properly handle a
single collection of resources that is partially managed and partially
computed, so our strategy here is to break out logical sub-resources for
Terraform and hide the BlockDeviceMapping inside the provider
implementation.

Now (a) is supported by the `root_block_device` sub-resource, and (b)
and (c) are still both merged together under `block_device`, though I
have yet to see ephemeral block devices working properly.

Looking into possibly separating out `ephemeral_block_device` and
`ebs_block_device` sub-resources as well, which seem like the logical
next step. We'll wait until the next big release for this, though, since
it will break backcompat.

[1] http://bit.ly/ec2bdmap
[2] http://bit.ly/instancestorebytype

Fixes #913
Refs #858
2015-02-18 13:15:11 -06:00
Mitchell Hashimoto 44c45994c8 Merge pull request #963 from julienba/master
providers/aws: vpc_peering_connection
2015-02-18 06:56:28 -08:00
jba 372035368f allow update 2015-02-18 10:45:12 +01:00
Mitchell Hashimoto 0feb29944c Merge pull request #856 from CashStar/aws_egress
provider/aws: adding support for egress rules in AWS Security Groups
2015-02-17 13:59:47 -08:00
nevins-b b7238ca6f2 adding documentation 2015-02-17 13:23:10 -05:00
Mitchell Hashimoto c5e035361f Merge pull request #896 from bitglue/storage_type
provider/aws: Support storage_type parameter for aws_db_instance
2015-02-17 09:30:03 -08:00
Mitchell Hashimoto f63aa41d67 Merge pull request #897 from bitglue/apply_method
provider/aws: Implement apply_method for RDS parameters
2015-02-17 09:28:24 -08:00
Mitchell Hashimoto 1fa6141a39 Merge pull request #933 from egarbi/master
docs: Added missing line for aws_launch_configuration resource on AWS provider...
2015-02-17 09:24:50 -08:00
jba 101f801846 add aws_vpc_peering_connection 2015-02-12 10:45:29 +01:00
Radek Simko 3366f1924f Add docs for AWS IG tags 2015-02-11 13:33:59 +00:00
jba 3b0b41c9a1 allow vpc_peering_connection_id in aws_route_table 2015-02-10 17:50:29 +01:00
Phil Frost 81b5c238ef Clarify usage of `aws_elb`
Address confusion regarding ELB in VPC or EC2-classic. See #958.
2015-02-10 11:13:54 -05:00
Enrique Garbi 2b3015f66a Added missing line for aws_launch_configuration resource on AWS provider docs 2015-02-05 17:05:14 +00:00
Paul Hinze f852a01c22 providers/aws: docs for aws_main_route_table_association 2015-02-03 15:13:15 -06:00
Phil Frost 8eb5418c4a Implement apply_method for RDS parameters
This is necessary to support creating parameter groups with parameters
that require a reboot, since the RDS API will return an error when
attempting to set those parameters with ApplyMethod "immediate".
2015-01-30 13:06:15 -05:00
Phil Frost bfaf8ccee6 Support storage_type parameter for aws_db_instance
This allows provisioning "gp2" (general purpose SSD) storage for DB
instances.
2015-01-30 13:01:10 -05:00
Phil Frost 254b25a64f Fix aws_db_instance to not recreate each time
Several of the arguments were optional, and if omitted, they are
calculated. Mark them as such in the schema to avoid triggering an
update.

Go back to storing the password in the state file. Without doing so,
there's no way for Terraform to know the password has changed. It should
be hashed, but then interpolating the password yields a hash instead of
the password.

Make the `name` parameter optional. It's not required in any engine, and
in some (MS SQL Server) it's not allowed at all.

Drop the `skip_final_snapshot` argument. If `final_snapshot_identifier`
isn't specified, then don't make a final snapshot. As things were, it
was possible to create a resource with neither of these arguments
specified which would later fail when it was to be deleted since the RDS
API requires exactly one of the two.

Resolves issue #689.
2015-01-28 12:03:26 -05:00
Mitchell Hashimoto 577e2420b0 Revert "docs: consistent use of array configuration syntax"
This reverts commit 4893eb8b55.
2015-01-14 09:28:25 -08:00
Emil Hessman 4893eb8b55 docs: consistent use of array configuration syntax
The Terraform configuration syntax defines what arrays are.
Use the word array consistently throughout the documentation
instead of list.

The corresponding JSON datatype is called array as well, and
since the Terraform configuration syntax is interoperable with
JSON it makes sense to use the term array to describe them.
2015-01-13 06:59:12 +01:00
Sören Blom efca6b0e8a only non-default VPC security groups are referenced by ID. 2015-01-07 12:52:20 +01:00
Armon Dadgar eef75a7a2a Merge pull request #695 from moredip/aws_key_pair-resource
add aws_key_pair resource
2015-01-06 10:46:58 -08:00
Armon Dadgar 0ffc11c885 Merge pull request #704 from yahyapo/master
[AWS] Adding default network ACL ID and default security group ID to VPC reference attributes
2015-01-06 10:29:16 -08:00
Pete Hodgson 55347c0e59 Add docs for key_pair AWS resource 2015-01-05 21:45:05 -08:00
Emil Hessman 28d39cd0bc website: address spelling mistakes, casing and links 2015-01-03 19:31:53 +01:00
Yahya Poonawala 7e4f417107 Updating markdown file for VPC to reflect addition of default network acl id and security group id. 2014-12-23 11:49:07 +05:30
Armon Dadgar 7a3b4fa7ce Merge pull request #648 from yahyapo/master
Adding tag support to AWS EC2 route table resource.
2014-12-10 19:24:38 -08:00
Armon Dadgar 9668c8292f Merge pull request #637 from snehaso/vpc_tenanct
[AWS] added vpc instance_tenancy
2014-12-10 12:58:50 -08:00
Yahya Poonawala b595c73d42 Adding tag support to AWS EC2 route table resource. 2014-12-11 00:03:13 +05:30
Sneha Somwanshi 89f1a38f5b added vpc tenancy argument 2014-12-10 16:10:00 +05:30
Sneha Somwanshi 60d18e1eb8 doc for cross zone load balancing 2014-12-10 12:53:51 +05:30
Armon Dadgar 57fd308e93 website: Correct network_acl docs 2014-12-07 23:53:21 -08:00
Armon Dadgar 38697d6b4c aws: Making security group ingress rules optional 2014-12-07 23:52:04 -08:00
Armon Dadgar fae29f4685 Merge pull request #506 from muralimadhu/master
Support termination policies in aws auto scaling group
2014-12-07 23:35:33 -08:00
Armon Dadgar 477efb4fa4 website: Docs for aws_network_acl 2014-12-07 23:30:36 -08:00
Daniel Malon 1e3065ae11 allow setting the block device virtual_name 2014-11-22 09:50:22 +00:00
Armon Dadgar e53bf23c0c provider/aws: Fixing merge conflict 2014-11-19 17:17:18 -08:00
Armon Dadgar 735e83a146 Merge branch 'master' of https://github.com/serenitus/terraform into serenitus-master 2014-11-19 17:15:15 -08:00
Armon Dadgar 41f2e7f98e Merge pull request #545 from rcostanzo/f-parameter-group
Added new parameter_group_name parameter for creating an RDS DB instance
2014-11-19 16:01:11 -08:00
Armon Dadgar 38aec9f20b provide/aws: Document the block device 2014-11-19 15:59:29 -08:00
Madhu 5ed2ee8f37 Merge branch 'master' of https://github.com/hashicorp/terraform 2014-11-10 18:44:23 -08:00
Rob Costanzo a14da63a39 Fixed bug with final_snapshot_identifier and skip_final_snapshot and removed apply_method as an option for now and am only supporting immediate mode 2014-11-05 11:03:06 -08:00
Rob Costanzo de16b10555 Added new aws_db_parameter_group resource for creating RDS DB Parameter Groups.
Added plumbing to allow an optional DBParameterGroupName to be passed when creating an RDS DB instance.
2014-11-05 11:03:06 -08:00
Simon Turvey 31132f1ded Add tag support to AWS subnets 2014-11-02 12:30:33 -08:00
balser e915807efe Fix typo in aws_db_instance example 2014-10-27 17:48:03 -04:00
Madhu 7d4064ca03 Termination Policy Support 2014-10-23 14:58:54 -07:00
Seth Vargo 073a0f76c5 Add meta descriptions to all pages 2014-10-21 23:21:56 -04:00
Matthieu Fronton d901d62138 website: update arg description with actual expected informations (but now arg name not relevant anymore) 2014-10-21 08:10:50 -04:00
Matthieu Fronton e7925bad15 website: fix misspelled argument name for aws_db_instance resource 2014-10-21 07:52:32 -04:00
Mitchell Hashimoto d5b418d82b Merge pull request #402 from longnguyen11288/add-sg-tags
Added security group tagging
2014-10-20 23:18:22 -07:00
Paul Lewis 3f5a9b70d8 Removing duplicate example and unclosed code block 2014-10-14 17:47:23 -04:00
Long Nguyen eef3197ba0 Added security group tagging 2014-10-14 17:11:09 -04:00
Sean Herron 3e16190e69 Expands AWS tagging to cover EC2 instances 2014-10-13 16:55:59 -04:00
Mitchell Hashimoto 6ddcc2ebf8 Merge pull request #309 from alekstorm/aws-db-instance-password
Store aws_db_instance.password in tfstate, change to AttrTypeCreate
2014-10-11 12:34:52 -07: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 4a8021ff8e website: update docs for tags on VPC 2014-10-08 23:46:36 -07:00
Mitchell Hashimoto c7088eb82a website: update docs for GH-371 2014-10-08 10:54:34 -07:00
Jack Pearkes 0fa5d160a2 Merge pull request #348 from cfortier2/awsdbsubnet-doc
add subnet_group_name for aws db instance doc
2014-10-04 10:00:20 -07:00
Panagiotis Moustafellos d01418270a Add listener.ssl_certificate_id support to AWS ELB (@jpadvo [GH-176]) 2014-10-02 05:19:36 +03:00
cfortier2 77edd9d8d8 add subnet_group_name for aws db instance doc 2014-10-01 11:42:48 -04:00
Mitchell Hashimoto dbc890e401 providers/aws: add `self` to ingress [GH-219] 2014-09-30 14:19:16 -07:00
Mitchell Hashimoto e3c7ccb1d7 Update changelog 2014-09-30 13:30:15 -07:00
Ian Delahorne 9f91c4e8c3 Add IAM Instance profile support to AWS instance provider 2014-09-23 13:06:30 -05:00
Alek Storm c7f219a781 Store aws_db_instance.password in tfstate, change to AttrTypeCreate 2014-09-18 13:55:43 -07:00
Jack Pearkes 002e640d0b Merge pull request #259 from hden/vpc_zone_identifier
allow vpc_zone_identifier in aws_autoscaling_group
2014-09-16 10:44:32 -04: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
Jack Pearkes 2a893294e3 Merge pull request #296 from jmartelletti/master
Documentation fixes
2014-09-16 09:55:22 -04:00
Jack Pearkes f16485664d website: document db_subnet_group
cc/ @buth
2014-09-16 09:53:41 -04:00
James Martelletti 1f08ddf27d Change to valid CIDR address 2014-09-16 21:41:10 +10:00
James Martelletti a8947b17cd Provide all required parameters in example 2014-09-16 21:40:46 +10:00
James Martelletti 78e072e0b6 source_dest_check defaults to true in the code 2014-09-16 21:40:16 +10:00
Mitchell Hashimoto b3c5b848f9 website: update docs for GH-260] 2014-09-07 16:03:48 -07:00
Hao-kang Den 125977e075 allow vpc_zone_identifier in aws_autoscaling_group 2014-09-03 09:38:07 +08:00
James Martelletti 821a0a6dc6 Fix typo, proviate_ip -> private_ip 2014-09-01 18:06:39 +10:00
Mitchell Hashimoto a292625846 website: private IP docs 2014-08-21 17:17:50 -07:00
Alek Storm aef799057e Update aws_route_table docs to clarify 'route' block usage 2014-08-21 17:08:51 -07:00
Jack Pearkes 33a7d32f40 Merge pull request #172 from deoxxa/add-vpc-dns-attributes
add vpc dns attribute support
2014-08-20 11:14:07 -07:00
Jack Pearkes 97cae408b2 providers/aws: tests and document adding load balancers to autoscaling
cc/ @thatha
2014-08-20 10:42:14 -07:00
Mitchell Hashimoto 7ebd3c0a48 website: fix cidr block on aws_subnet [GH-199] 2014-08-19 12:49:30 -07:00
Jason Padvorac 8d97c3656c Add listener.ssl_certificate_id support to AWS ELB 2014-08-10 17:16:53 -07:00
deoxxa 4405a8d974 add vpc dns attribute support 2014-08-09 22:43:00 +10:00
Alek Storm 5a84296c61 Add 'security_groups' and 'subnets' args to 'aws_elb' 2014-08-07 17:41:15 -07:00
Alex Gaynor 277a0b3da7 Fixed a typo in the docs 2014-08-06 14:52:56 -07:00
Hector Castro 1420e261d7 Add required description attribute to aws_security_group example. 2014-08-02 22:41:00 -04:00
Hector Castro 733f10d7b9 Add documentation for aws_db_instance/final_snapshot_identifer. 2014-08-01 11:34:46 -04:00
Jack Pearkes 9c02e41e73 website: document security group description requirement 2014-07-30 17:59:09 -04:00
Luke Chadwick dcd6449245 Add documentation for elb health_check 2014-07-30 22:14:18 +10:00
Jack Pearkes 6aeda8db96 website: fix EIP VPC docs
close #91
2014-07-29 18:12:00 -04:00
Luke Chadwick 96c05c881a Update documentation to include the new user_data attribute on aws_launch_configuration 2014-07-30 07:31:21 +10:00
Jack Pearkes 21030db30e Merge pull request #78 from borgified/website_typos
Website typos
2014-07-29 10:44:29 -04:00
Luke Chadwick 8d2e232602 Update documentation to reflect the addition of associate_public_ip_address to the aws_instance resource 2014-07-29 22:12:43 +10:00
borgified b5590ee6da spellchecked all the *.markdown
ran this command:
find . -iname *.markdown -type f -exec aspell check {} \;
and manually checked each problem that aspell found
2014-07-28 23:51:24 -07:00
Armon Dadgar 7b85fde0e4 website: correct docs 2014-07-28 13:24:20 -04:00
Jack Pearkes 1d06ecb7a9 website: add note about security group names/ids on instances 2014-07-24 18:57:26 -04:00
Armon Dadgar 2a9ae79a22 website: Complete AWS docs 2014-07-23 23:35:03 -04:00
Armon Dadgar b30f52a415 website: ELB docs 2014-07-23 21:16:41 -04:00
Armon Dadgar 6f8732d01f website: more docs 2014-07-23 17:41:48 -04:00
Armon Dadgar 7ecfb3610b website: More AWS 2014-07-23 17:26:50 -04:00
Armon Dadgar 8517d0950b website: S3 buket 2014-07-23 16:38:12 -04:00
Armon Dadgar e4ff3e7d13 website: Docs for VPC, subnet, sec group 2014-07-23 16:32:33 -04:00
Armon Dadgar d361400be6 website: EIP 2014-07-23 16:08:07 -04:00
Armon Dadgar 78c720935d website: route53 record 2014-07-23 15:56:33 -04:00
Armon Dadgar e03648528c website: AWS provider skeleton 2014-07-23 15:47:25 -04:00