{"id":22472966,"url":"https://github.com/truefoundry/terraform-truefoundry-sleep","last_synced_at":"2026-01-07T03:45:49.713Z","repository":{"id":266610832,"uuid":"898617639","full_name":"truefoundry/terraform-truefoundry-sleep","owner":"truefoundry","description":"Terraform module to create some Delay/sleep between cloud resources and platform integrations","archived":false,"fork":false,"pushed_at":"2024-12-05T07:48:30.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T20:12:00.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truefoundry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-04T18:02:40.000Z","updated_at":"2024-12-05T06:08:10.000Z","dependencies_parsed_at":"2024-12-05T07:19:18.874Z","dependency_job_id":"251a54dc-7aa0-433f-aeb1-aa406348b841","html_url":"https://github.com/truefoundry/terraform-truefoundry-sleep","commit_stats":null,"previous_names":["truefoundry/terraform-truefoundry-sleep"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefoundry%2Fterraform-truefoundry-sleep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefoundry%2Fterraform-truefoundry-sleep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefoundry%2Fterraform-truefoundry-sleep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefoundry%2Fterraform-truefoundry-sleep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truefoundry","download_url":"https://codeload.github.com/truefoundry/terraform-truefoundry-sleep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245880794,"owners_count":20687610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T12:18:07.864Z","updated_at":"2026-01-07T03:45:49.708Z","avatar_url":"https://github.com/truefoundry.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Truefoundry Terraform Sleep Module\n\nThis 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.\n\n## Features\n\n- Configurable sleep duration for resource creation\n- Configurable sleep duration for resource destruction\n- Support for triggers to force new sleep durations\n\n## Usage\n\n```hcl\nmodule \"sleep\" {\n  source = \"path/to/module\"\n\n  create_duration  = \"30s\"    # Sleep for 30 seconds during creation\n  destroy_duration = \"10s\"    # Sleep for 10 seconds during destruction\n  triggers = {\n    # Changes to these values will trigger a new sleep duration\n    version = \"1.0.0\"\n  }\n}\n```\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.0.0 |\n| \u003ca name=\"requirement_time\"\u003e\u003c/a\u003e [time](#requirement\\_time) | ~\u003e 0.12.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_time\"\u003e\u003c/a\u003e [time](#provider\\_time) | ~\u003e 0.12.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [time_sleep.wait](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_create_duration\"\u003e\u003c/a\u003e [create\\_duration](#input\\_create\\_duration) | Duration to sleep during create operation. Examples: '30s', '5m', '1h' | `string` | `\"30s\"` | no |\n| \u003ca name=\"input_destroy_duration\"\u003e\u003c/a\u003e [destroy\\_duration](#input\\_destroy\\_duration) | Duration to sleep during destroy operation. Examples: '30s', '5m', '1h' | `string` | `\"0s\"` | no |\n| \u003ca name=\"input_triggers\"\u003e\u003c/a\u003e [triggers](#input\\_triggers) | Arbitrary map of values that, when changed, will trigger a new sleep duration | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | ID of the sleep resource that can be used as an explicit dependency |\n| \u003ca name=\"output_triggers\"\u003e\u003c/a\u003e [triggers](#output\\_triggers) | Map of trigger values that were provided |\n\u003c!-- END_TF_DOCS --\u003e\n\n## Examples\n\n### Basic Usage\n\n```hcl\nmodule \"sleep\" {\n  source = \"path/to/module\"\n  \n  create_duration = \"1m\"\n}\n```\n\n### With Triggers\n\n```hcl\nmodule \"sleep\" {\n  source = \"path/to/module\"\n  \n  create_duration = \"30s\"\n  triggers = {\n    deployment_id = \"v1.2.3\"\n    environment  = \"production\"\n  }\n}\n```\n\n### As a Dependency\n\n```hcl\nmodule \"sleep\" {\n  source = \"path/to/module\"\n  \n  create_duration = \"2m\"\n}\n\nresource \"aws_instance\" \"example\" {\n  # ... instance configuration ...\n  \n  depends_on = [module.sleep]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruefoundry%2Fterraform-truefoundry-sleep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruefoundry%2Fterraform-truefoundry-sleep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruefoundry%2Fterraform-truefoundry-sleep/lists"}