Commit Graph

953 Commits

Author SHA1 Message Date
Sam Clinckspoor dedbac5a46 added documentation 2015-06-08 22:51:56 +02:00
Paul Hinze e305d7c5df Merge pull request #2263 from hashicorp/f-aws-spot-instance-request
provider/aws: spot_instance_request
2015-06-08 10:29:58 -05:00
Mitchell Hashimoto 8748a86e60 Merge pull request #2160 from grubernaut/elasticache_port_required
provider/aws: Set AWS Elasticache Port Number to be required
2015-06-07 22:27:59 -07:00
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
Guillaume Giamarchi e04a6cacc5 Enpoint type configuration for OpenStack provider
Add the possibility to specify the endpoint type
(public, admin, internal). The default remains the
same (public).
2015-06-07 23:50:34 +02:00
Ian MacLeod 20558fcf70 Fix page title for aws_elasticache_cluster 2015-06-07 12:42:38 -07:00
ketzacoatl 4bbe93552a Minor correction to aws_s3_bucket docs 2015-06-05 19:20:23 -04:00
Radek Simko 2df0e734ae docs: Fix wrong title (aws_autoscaling_notification) 2015-06-05 23:47:50 +02: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
Clint Shryock f8eb5e4b11 clarify docs 2015-06-05 15:42:04 -05:00
Radek Simko 1770713633 Merge pull request #1803 from TimeIncOSS/ecs
aws: Add support for ECS (Container Service)
2015-06-05 22:25:41 +02: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
justnom aed17f8658 Fixing bugs with `aws_network_interface` and added docs.
When a user tried to create an `aws_network_interface` resource without specifying the `private_ips` or `security_groups` attributes the API call to AWS would fail with a 500 HTTP error. Length checks have been put in place for both of these attributes before they are added to the `ec2.CreateNetworkInterfaceInput` struct.

Documentation was also added for the `aws_network_interface` resource.
2015-06-04 11:44:33 -04:00
Mitchell Hashimoto 132688a9a1 Merge pull request #2224 from joelhandwell/website
De-duplicate Openstack Provider sidebar entry
2015-06-04 16:16:09 +02:00
Julian Schneider b9a437658e Add privileged option to docker container resource 2015-06-04 13:05:52 +02:00
Joel Handwell 31d6c403d2 De-duplicate Openstack Provider sidebar entry 2015-06-04 06:12:49 -04:00
Radek Simko c3fcdfc6eb Add docs for new AWS ECS resources 2015-06-03 22:48:19 +01:00
Paul Hinze b71fa3d0ae provider/aws: handle upstream aws-sdk-go repo move
`awslabs/aws-sdk-go => aws/aws-sdk-go`

Congrats to upstream on the promotion. :)
2015-06-03 13:36:57 -05:00
Paul Hinze f1439e6118 Merge pull request #2204 from thorduri/docfix
Fixup aws_security_group doc example.
2015-06-03 09:28:59 -05:00
Paul Hinze e91705ac96 Merge pull request #2102 from Fodoj/add-module-outputs
Add module outputs
2015-06-03 09:23:43 -05:00
Benjamin Vickers e0b9961d93 Update docs for Cloudstack with SSH keypair and timeout 2015-06-03 12:45:46 +01:00
Thordur Bjornsson f3a86114ae Fixup aws_security_group doc example.
Both to_ and from_ port must be zero to use protocol -1.
2015-06-03 11:02:16 +02:00
Sander van Harmelen 31ae2482d5 Merge pull request #2053 from svanharmelen/f-provider-azure
WIP: Add Azure provider (peer-review PR)
2015-06-02 21:17:03 +02:00
Paul Hinze f057d6e176 Merge pull request #2194 from jjshoe/master
Let people know elbs support tags
2015-06-02 14:11:31 -05:00
Joel 3939236f87 Let people know elbs support tags 2015-06-02 14:05:55 -05:00
Jack Pearkes 50fc610604 website: atlas artifact type is amazon.ami no aws.ami 2015-06-02 13:26:28 -04:00
Andrew Langhorn 70c90f420e Clarify syntax for RDS maintenance window param
Closes #2069
2015-06-02 07:44:09 +01:00
Radek Simko f29dbe0c87 Merge pull request #2181 from mzupan/add-elaticcache-tags
aws: adding tags option for aws_elasticache_cluster
2015-06-02 07:34:08 +01:00
Mike Zupan 544236df94 tags lacking from docs 2015-06-01 15:05:07 -07:00
Radek Simko 7a5cf7e361 docs: aws_sqs_queue - Add newline to fix Markdown 2015-06-01 20:57:57 +01:00
Dave Cunningham 265b9b254e Merge pull request #2060 from alphagov/f-add-google-cloud-storage
Feature: add google cloud storage
2015-06-01 12:10:07 -04:00
Paul Hinze 4052be6c7a Merge pull request #2139 from hashicorp/sethvargo/clarify_url
Add a note of where to view files before downloading them
2015-06-01 10:52:09 -05:00
Paul Hinze 115ea19ab5 Merge pull request #2165 from TimeIncOSS/fix-iam-examples
docs: Fix IAM assume_role_policy examples
2015-06-01 10:51:31 -05:00
Jake Champlin a6e17d3b5f Update Documentation 2015-06-01 10:55:07 -04:00
Clint ceca4ef9aa Merge pull request #2148 from hashicorp/b-aws-netacl-icmp-support
provider/aws: Add support for ICMP Protocol in Network ACLs
2015-06-01 08:33:06 -05:00
Radek Simko 40a582170a docs: Fix IAM assume_role_policy examples 2015-06-01 13:29:21 +01:00
Dan Hilton b909f7826b provider/google: Add support for Google Compute Stogare buckets.
Configure Google Compute Storage buckets using:
* name (compulsory attribute)
* predefined_acl (optional, default: `projectPrivate`)
* location (optional, default: `US`)
* force_destroy (optional, default: `false`)

Currently supporting only `predefined_acl`s. Bucket attribute updates happen via re-creation. force_destroy will cause bucket objects to be purged, enabling bucket destruction.
2015-06-01 11:36:50 +01:00
Paul Hinze 84cb771c33 Merge pull request #2153 from TimeIncOSS/sort-aws-resources
AWS docs nitpicks (alphabetical sort + names)
2015-05-30 12:56:44 -05:00
Radek Simko 3093e49ea3 Merge pull request #2150 from hashicorp/d-module-ssh-source-example
docs: clarify ssh git module source syntax
2015-05-30 16:08:29 +01: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
Paul Hinze 5f1e8ebb5d Merge pull request #2152 from mzupan/doc-elb-stickiness-fix
aws_app_cookie_stickiness_policy doc fix
2015-05-30 08:49:53 -05:00
Mike Zupan f90536eb60 Need the id to link back 2015-05-30 06:38:49 -07:00
Paul Hinze 53d8981ef1 Merge pull request #2076 from atlassian/lb_cookie_stickiness_policy_doco
Correct lb_cookie_stickiness_policy example config
2015-05-29 21:50:23 -05:00
Paul Hinze 160c87a3e3 docs: clarify ssh git module source syntax
refs #2116
2015-05-29 21:15:55 -05:00
Clint c4af5b2e9a Merge pull request #2120 from hashicorp/b-aws-instance-ebs-snapshot
provider/aws: Fix issue with restoring from snapshot ID
2015-05-29 17:07:01 -05:00