Add example of placement to sfr docs.

Add an example usage of the placement_tenancy field to spot fleet
request docs.
This commit is contained in:
Paddy 2017-05-03 13:43:58 -07:00
parent 76795dc2fc
commit 5341d575ba
1 changed files with 5 additions and 4 deletions

View File

@ -23,9 +23,10 @@ resource "aws_spot_fleet_request" "cheap_compute" {
valid_until = "2019-11-04T20:44:20Z"
launch_specification {
instance_type = "m4.10xlarge"
ami = "ami-1234"
spot_price = "2.793"
instance_type = "m4.10xlarge"
ami = "ami-1234"
spot_price = "2.793"
placement_tenancy = "dedicated"
}
launch_specification {
@ -114,4 +115,4 @@ requests are placed or enabled to fulfill the request. Defaults to 24 hours.
The following attributes are exported:
* `id` - The Spot fleet request ID
* `spot_request_state` - The state of the Spot fleet request.
* `spot_request_state` - The state of the Spot fleet request.