Skip to content

Commit

Permalink
issue #702 fix aws_ses_receipt_rule s3_action position drift change
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanan30erd committed Jul 5, 2018
1 parent db4711f commit 2ad4dac
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 2ad4dac

Please sign in to comment.