Skip to content

Commit

Permalink
add plan time validation to placement_tenancy
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Apr 4, 2020
1 parent e850eca commit 74aac42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws/resource_aws_spot_fleet_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ func resourceAwsSpotFleetRequest() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{
ec2.TenancyDefault,
ec2.TenancyDedicated,
ec2.TenancyHost,
}, false),
},
"spot_price": {
Type: schema.TypeString,
Expand Down

0 comments on commit 74aac42

Please sign in to comment.