Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazelops/terraform-pagerduty-user
https://github.com/hazelops/terraform-pagerduty-user
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hazelops/terraform-pagerduty-user
- Owner: hazelops
- License: mit
- Created: 2020-11-20T08:39:20.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-01T12:00:16.000Z (almost 4 years ago)
- Last Synced: 2023-03-03T19:58:35.970Z (almost 2 years ago)
- Language: HCL
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)