Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hazelops/terraform-pagerduty-user


https://github.com/hazelops/terraform-pagerduty-user

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

# Terraform Pagerduty User

Terraform module that creates user in Pagerduty

## Description

This module provides settings:

- Create user in Pagerduty

## Usage

### Miminal setup

```hcl
provider "pagerduty" {
token = "Pagerduty_Token"
}
module "pagerduty_user" {
source = "[email protected]:hazelops/terraform-pagerduty-user.git"
email = ""
mobile = "1234567890"
name = ""
}
```

### Full setup

```hcl
provider "pagerduty" {
token = "Pagerduty_Token"
}
module "pagerduty_user" {
source = "[email protected]:hazelops/terraform-pagerduty-user.git"
enabled = true
job_title = "Engineer"
email = ""
mobile_country_code = "+1"
mobile = "1234567890"
name = ""
role = "user"
start_delay_in_minutes_email = 1
start_delay_in_minutes_phone = 1
start_delay_in_minutes_sms = 10
}
```

## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| pagerduty | n/a |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| email | The user's main email address. | `any` | n/a | yes |
| enabled | Gives ability to enable or disable a module | `bool` | `true` | no |
| job\_title | The user's title. | `string` | `"Engineer"` | no |
| mobile | The 'mobile' to deliver to phone number. | `any` | n/a | yes |
| mobile\_country\_code | The 1-to-3 digit country calling code. Required when using 'phone\_contact\_method' or 'sms\_contact\_method' (if you do not to specify '+', you would not). | `string` | `"+1"` | no |
| name | The name of the user. | `any` | n/a | yes |
| role | Account must have the 'read\_only\_users' ability to set a user as a 'read\_only\_user' or a 'read\_only\_limited\_user', and must have advanced permissions abilities to set a user as observer or 'restricted\_access'. Can be 'admin', 'limited\_user', 'observer', 'owner', 'read\_only\_user', 'read\_only\_limited\_user', 'restricted\_access', or 'user'. | `string` | `"user"` | no |
| start\_delay\_in\_minutes\_email | The delay before firing the rule, in minutes. | `number` | `1` | no |
| start\_delay\_in\_minutes\_phone | The delay before firing the rule, in minutes. | `number` | `1` | no |
| start\_delay\_in\_minutes\_sms | The delay before firing the rule, in minutes. | `number` | `10` | no |

## Outputs

| Name | Description |
|------|-------------|
| id | n/a |

### Terraform Module Registry

![Hazelops logo](https://avatars0.githubusercontent.com/u/63737915?s=25&v=4) [Terraform Pagerduty User
](https://registry.terraform.io/modules/address_of_module)