You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Terraform module provides a way to add delays/sleep during resource creation or destruction. This can be useful in scenarios where you need to wait for eventual consistency or when you need to introduce delays between resource provisioning.
Features
Configurable sleep duration for resource creation
Configurable sleep duration for resource destruction
Support for triggers to force new sleep durations
Usage
module"sleep" {
source="path/to/module"create_duration="30s"# Sleep for 30 seconds during creationdestroy_duration="10s"# Sleep for 10 seconds during destructiontriggers={
# Changes to these values will trigger a new sleep duration
version ="1.0.0"
}
}