terraform/website/source/layouts
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
..
_footer.erb website: address spelling mistakes, casing and links 2015-01-03 19:31:53 +01:00
_header.erb website: address spelling mistakes, casing and links 2015-01-03 19:31:53 +01:00
_meta.erb Push javascript to the bottom, read description 2014-10-21 23:20:52 -04:00
atlas.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
aws.erb provider/aws: spot_instance_request 2015-06-07 17:33:32 -05:00
azure.erb Adding the last parts of the docs for the new Azure provider 2015-05-29 00:10:21 +02:00
cloudflare.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
cloudstack.erb Update docs for Cloudstack with SSH keypair and timeout 2015-06-03 12:45:46 +01:00
consul.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
digitalocean.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
dme.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
dnsimple.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
docker.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
docs.erb Adding docs and tweaking the provider 2015-05-28 00:51:18 +02:00
downloads.erb website: fixing downloads page 2014-07-27 16:11:21 -04:00
google.erb provider/google: Add support for Google Compute Stogare buckets. 2015-06-01 11:36:50 +01:00
heroku.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
inner.erb update footer to be sticky 2014-07-28 00:08:17 -07:00
intro.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
layout.erb meta and lighten purple link/h2 over dark bg 2014-07-27 21:47:03 -07:00
mailgun.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
openstack.erb De-duplicate Openstack Provider sidebar entry 2015-06-04 06:12:49 -04:00
template.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00