Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/l-with/terraform-module-reboot_required
https://github.com/l-with/terraform-module-reboot_required
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/l-with/terraform-module-reboot_required
- Owner: l-with
- License: mit
- Created: 2023-02-06T14:15:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-11T07:46:53.000Z (over 1 year ago)
- Last Synced: 2024-04-17T21:18:56.780Z (7 months ago)
- Language: HCL
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Module reboot required
Terraform module which reboots if required and wait for connect by [Terraform Provider for (Operating) System](https://registry.terraform.io/providers/neuspaces/system).
This is a terraform replacement for [Ansible Role reboot required](https://github.com/l-with/ansible-role-certbot).
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.15 |
| [null](#requirement\_null) | >= 3.2.1 |
| [system](#requirement\_system) | >= 0.3.0 |
| [time](#requirement\_time) | >= 0.9.1 |## Providers
| Name | Version |
|------|---------|
| [null](#provider\_null) | 3.2.1 |
| [system](#provider\_system) | 0.3.0 |
| [time](#provider\_time) | 0.9.1 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [null_resource.reboot](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [null_resource.wait](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [time_sleep.wait](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource |
| [system_command.count_var_run_reboot_required](https://registry.terraform.io/providers/neuspaces/system/latest/docs/data-sources/command) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [host](#input\_host) | the host to be rebooted (needed for provisioner) | `string` | n/a | yes |## Outputs
No outputs.