Skip to content

Commit

Permalink
Merge pull request #5092 from saravanan30erd/issue-702
Browse files Browse the repository at this point in the history
issue #702 fix aws_ses_receipt_rule s3_action position drift change
  • Loading branch information
bflad authored Jul 9, 2018
2 parents 4c14f4e + 2ad4dac commit 6b1e24b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aws/resource_aws_ses_receipt_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/aws/aws-sdk-go/service/ses"
"github.com/hashicorp/terraform/helper/hashcode"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/helper/validation"
)

func resourceAwsSesReceiptRule() *schema.Resource {
Expand Down Expand Up @@ -225,8 +226,9 @@ func resourceAwsSesReceiptRule() *schema.Resource {
},

"position": {
Type: schema.TypeInt,
Required: true,
Type: schema.TypeInt,
Required: true,
ValidateFunc: validation.IntAtLeast(1),
},
},
},
Expand Down

0 comments on commit 6b1e24b

Please sign in to comment.