Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pagerduty_team/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ No modules.
| <a name="input_manager_members"></a> [manager\_members](#input\_manager\_members) | PagerDuty user IDs to add as managers/admins. | `list(string)` | `[]` | no |
| <a name="input_observer_members"></a> [observer\_members](#input\_observer\_members) | PagerDuty user IDs to add as observers. | `list(string)` | `[]` | no |
| <a name="input_responder_members"></a> [responder\_members](#input\_responder\_members) | PagerDuty user IDs to add as responders. | `list(string)` | `[]` | no |
| <a name="input_schedules"></a> [schedules](#input\_schedules) | Schedules to create for this team. | <pre>list(object({<br/> name = string<br/> time_zone = optional(string, "UTC")<br/> start = string<br/> rotation_virtual_start = string<br/> rotation_turn_length_seconds = number<br/> users = list(string) # PD user IDs<br/> }))</pre> | `[]` | no |
| <a name="input_schedules"></a> [schedules](#input\_schedules) | Schedules to create for this team. | <pre>list(object({<br/> name = string<br/> time_zone = optional(string, "Etc/UTC")<br/> start = string<br/> rotation_virtual_start = string<br/> rotation_turn_length_seconds = number<br/> users = list(string) # PD user IDs<br/> }))</pre> | `[]` | no |
| <a name="input_team_name"></a> [team\_name](#input\_team\_name) | PagerDuty team name. | `string` | n/a | yes |

## Outputs
Expand Down
2 changes: 1 addition & 1 deletion pagerduty_team/schedules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "pagerduty_schedule" "schedule" {
for_each = local.schedules_by_name

name = each.key
time_zone = try(each.value.time_zone, "UTC")
time_zone = try(each.value.time_zone, "Etc/UTC")
teams = [pagerduty_team.team.id]


Expand Down
2 changes: 1 addition & 1 deletion pagerduty_team/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ variable "schedules" {
description = "Schedules to create for this team."
type = list(object({
name = string
time_zone = optional(string, "UTC")
time_zone = optional(string, "Etc/UTC")
start = string
rotation_virtual_start = string
rotation_turn_length_seconds = number
Expand Down
Loading