Commit Graph

210 Commits

Author SHA1 Message Date
Paul Hinze 112724fc39 provider/aws: spot_instance_request
This is an iteration on the great work done by @dalehamel in PRs #2095
and #2109.

The core team went back and forth on how to best model Spot Instance
Requests, requesting and then rejecting a separate-resource
implementation in #2109.

After more internal discussion, we landed once again on a separate
resource to model Spot Instance Requests. Out of respect for
@dalehamel's already-significant donated time, with this I'm attempting
to pick up the work to take this across the finish line.

Important architectural decisions represented here:

 * Spot Instance Requests are always of type "persistent", to properly
   match Terraform's declarative model.
 * The spot_instance_request resource exports several attributes that
   are expected to be constantly changing as the spot market changes:
   spot_bid_status, spot_request_state, and instance_id. Creating
   additional resource dependencies based on these attributes is not
   recommended, as Terraform diffs will be continually generated to keep
   up with the live changes.
 * When a Spot Instance Request is deleted/canceled, an attempt is made
   to terminate the last-known attached spot instance. Race conditions
   dictate that this attempt cannot guarantee that the associated spot
   instance is terminated immediately.

Implementation notes:

 * This version of aws_spot_instance_request borrows a lot of common
   code from aws_instance.
 * In order to facilitate borrowing, we introduce `awsInstanceOpts`, an
   internal representation of instance details that's meant to be shared
   between resources. The goal here would be to refactor ASG Launch
   Configurations to use the same struct.
 * The new aws_spot_instance_request acc. test is passing.
 * All aws_instance acc. tests remain passing.
2015-06-07 17:33:32 -05:00
Clint e2cefe290d Merge pull request #2232 from justnom/master
Fixing bugs with `aws_network_interface` and added docs.
2015-06-05 16:24:14 -05:00
Clint e172508788 Merge pull request #2197 from hashicorp/f-aws-asg-notifications
provider/aws: ASG Notifications Resource
2015-06-05 16:04:19 -05:00
justnom 09bac2384e Adding `aws_network_interface` to sidebar. 2015-06-05 12:31:19 -04:00
Clint Shryock 3858ee0ade add docs for asg notifications 2015-06-05 10:14:24 -05:00
John Ewart bbc6f14807 Adding DynamoDB documentation 2015-06-03 17:07:03 -07:00
Radek Simko c3fcdfc6eb Add docs for new AWS ECS resources 2015-06-03 22:48:19 +01:00
Chris Bednarski 6986121305 AWS Lambda functionality
- Includes documentation
- Includes acceptance tests
2015-06-01 09:33:45 -07:00
Radek Simko 14279e04d0 Docs: Fix name according to reality (route-table-assoc->route-table-association) 2015-05-30 15:51:21 +01:00
Radek Simko 09d7b90e47 Docs: Fix name according to reality (launch-config -> launch-configuration) 2015-05-30 15:51:08 +01:00
Radek Simko ef92a03a9b Docs: Fix name according to reality (autoscaling->autoscaling_group) 2015-05-30 15:50:56 +01:00
Radek Simko 5027a6bd5e Docs: Sort AWS resources alphabetically 2015-05-30 15:36:13 +01:00
Clint 4cd8147340 Merge pull request #2110 from hashicorp/f-aws-kinesis
provider/aws: AWS Kinesis Stream support
2015-05-29 10:37:29 -05:00
Clint Shryock 1f5c038570 provider/aws: Document Volume Attachment 2015-05-28 10:33:20 -05:00
Clint Shryock 214ed23974 provider/aws: AWS Kinesis Stream support
Adds a Kinesis Stream resource
2015-05-27 15:54:17 -05:00
Clint 13e2a7cf0e Merge pull request #2086 from hashicorp/f-aws-iam-server-cert
provider/aws: Add IAM Server Certificate resource
2015-05-27 08:34:23 -05:00
Clint Shryock be7ece0ce7 provider/aws: Add IAM Server Certificate resource 2015-05-26 16:40:15 -05:00
John Ewart 68734517f8 Initial SNS support 2015-05-22 20:26:10 -07:00
Clint 9f52192a79 Merge pull request #1939 from johnewart/sqs
Initial SQS support
2015-05-15 15:44:52 -05:00
John Ewart d538194f59 Added docs, tests, and updated SQS code 2015-05-15 13:09:20 -07:00
John Engelman 43607523fa Add missing sidebar item for zone_association. 2015-05-14 16:04:37 -05:00
Radek Simko f24e8c7b53 Add docs for aws_iam_role 2015-05-12 22:29:35 +01:00
Clint Shryock eaf96d9d6f provider/aws: Document AWS ElastiCache cluster
- ElastiCache subnet group name is computed
2015-05-08 14:33:41 -05:00
Radek Simko be2ab3a644 Duplicate of vpn-gateway link removed 2015-05-08 10:40:56 +01:00
Radek Simko c6a9a0684a Incorrect references fixed 2015-05-08 10:40:56 +01:00
Radek Simko dfae8e1170 Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01: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
Christopher Tiwald d76719bbb8 Add docs for various iam_* resources. 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
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
Christopher Tiwald e8976dca6b aws: Add documentation for VPN connection routes. 2015-05-04 12:55:55 -04:00
Christopher Tiwald 282c96f0e9 aws: Add docs for aws_vpn_connection resources. 2015-05-01 12:23:39 -04:00
Camilo Aguilar 338ae601bc providers/aws: Implements DHCP Options Set support. 2015-04-30 17:52:04 -04:00
TANABE Ken-ichi 638ca1e0df providers/aws: Add docs for aws_proxy_protocol_policy 2015-04-30 22:24:14 +09:00
Mitchell Hashimoto b0f90fe2be Merge pull request #1746 from ctiwald/ct/vpn-support
Add support for AWS customer gateways
2015-04-29 20:22:27 -07:00
Christopher Tiwald fdb25cca8a aws.erb: It's "docs", not "doc". Oops. 2015-04-29 21:49:25 -04:00
Christopher Tiwald 2b4fb16e3a aws: Add docs for aws_customer_gateway. 2015-04-29 21:33:00 -04:00
Mitchell Hashimoto 5d4c67c462 website: add ebs_volume 2015-04-28 20:49:21 -07:00
Christopher Tiwald 30f8fd738a aws: Add docs for lb_cookie_stickiness_policy. 2015-04-26 18:05:43 -04:00
Justin Campbell 774e7c31a2 Doc home link goes back to providers from resource
Changes the "Documentation Home" link in the sidebar to go back to the
list of providers instead of all the way back to the documentation home
page.
2015-04-25 07:28:51 -04:00
Dan Everton 7565e69ba3 Merge branch 'master' into aws-go-vpn 2015-03-07 09:46:23 +10:00
Radek Simko 6e6369c7a4 vpc_peering docs added to sidebar 2015-03-06 07:55:38 +00:00
Dan Everton b741e0c9a3 Add documentation 2015-03-06 08:41:22 +10:00
Paul Hinze f852a01c22 providers/aws: docs for aws_main_route_table_association 2015-02-03 15:13:15 -06:00
Pete Hodgson 55347c0e59 Add docs for key_pair AWS resource 2015-01-05 21:45:05 -08:00
Pete Hodgson ce4f4574fb Fix sidebar highlighting bug for aws_network_acl 2015-01-05 21:45:04 -08:00
Armon Dadgar 477efb4fa4 website: Docs for aws_network_acl 2014-12-07 23:30:36 -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
Jack Pearkes 284cf57386 website: fix typo 2014-09-16 09:54:53 -04:00
Jack Pearkes f16485664d website: document db_subnet_group
cc/ @buth
2014-09-16 09:53:41 -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
Armon Dadgar f934a1004d website: Starting to add providers 2014-07-23 14:50:44 -04:00