Skip to content

Commit

Permalink
Merge pull request #3431 from loivis/3430-spot-fleet-request-validate…
Browse files Browse the repository at this point in the history
…-iam-role

resource/spot_fleet_request: validate arn for argument iam_fleet_role
  • Loading branch information
bflad authored Feb 19, 2018
2 parents e3b21df + 815bd8f commit 86ee97c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aws/resource_aws_spot_fleet_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ func resourceAwsSpotFleetRequest() *schema.Resource {

Schema: map[string]*schema.Schema{
"iam_fleet_role": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validateArn,
},
"replace_unhealthy_instances": {
Type: schema.TypeBool,
Expand Down

0 comments on commit 86ee97c

Please sign in to comment.