I have this defined in the schema for a resource,
Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(30 * time.Minute),
Delete: schema.DefaultTimeout(20 * time.Minute),
},
This resource requires the delete waits 15 mins after the resource is deleted when you want to create a new one. The resource.Retry for Create will try to create the resource till it times out. Is there a better way to add something similar to a sleep after delete ?