terraform-pagerduty-example

Steps

  1. Install (Homebrew)[https://brew.sh/ja/]

miseとかasdfでもなんでもいい。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Clone this repo
git clone https://github.com/tohta/terraform-pagerduty-example.git
  1. Set PD API Access Key 好きな方法でよし。
cat .envrc
export TF_VAR_pd_token=*******
  1. Install Terraform
brew install terraform
  1. Terrafrom init
terraform init
  1. Terrafrom plan
terraform plan
  1. Terraform apply
terraform apply