diff --git a/builtin/providers/google/resource_pubsub_subscription.go b/builtin/providers/google/resource_pubsub_subscription.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/google/resource_pubsub_subscription.go
+++ b/builtin/providers/google/resource_pubsub_subscription.go
@@ -75,7 +75,7 @@ func resourcePubsubSubscriptionCreate(d *schema.ResourceData, meta interface{}) 
 	var ackDeadlineSeconds int64
 	ackDeadlineSeconds = 10
 	if v, ok := d.GetOk("ack_deadline_seconds"); ok {
-		ackDeadlineSeconds = v.(int64)
+		ackDeadlineSeconds = int64(v.(int))
 	}
 
 	var subscription *pubsub.Subscription
google_pubsub_subscription crashes when ack_deadline_seconds is provided