Skip to content

machamp0714/terraform-provider-timecrowd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform TimeCrowd Provider

Install

# macos
$ make install

Usage

terraform {
  required_providers {
    timecrowd = {
      version = "0.1"
      source  = "hashicorp.com/machamp/timecrowd"
    }
  }
}

provider "timecrowd" {
  token = <TIMECROWD_ACCESS_TOKEN>
}

data "timecrowd_team" "team" {
  id = 1
}

data "timecrowd_category" "category" {
  team_id = data.timecrowd_team.team.id
  id      = 1
}

resource "timecrowd_category" "category" {
  team_id   = data.timecrowd_team.team.id
  parent_id = data.timecrowd_category.category.id
  title     = "category title"
  color     = 5
}
terraform init && terraform plan
terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published