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:
parent
76795dc2fc
commit
5341d575ba
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue