Giter VIP home page Giter VIP logo

terraform-provider-todoist's Introduction

Terraform Provider for Todoist

This is a custom Terraform provider for managing resources in Todoist, a popular task management application.

Requirements

  • Terraform 0.12.x or later
  • Go 1.16.x or later

Building the provider

Clone the repository:

$ git clone https://github.com/hilyas/terraform-provider-todoist

Enter the provider directory and build the provider:

$ cd terraform-provider-todoist
$ go build -o terraform-provider-todoist

Copy to your Terraform plugins directory for your platform:

$ cp terraform-provider-todoist ~/.terraform.d/plugins/hilyas.com/hilyas/todoist/0.1.0/darwin_armd64

Using the provider

To use the provider, you must first configure it with your Todoist API key.

provider "todoist" {
  api_key = "your_todoist_api_key"
}

You can also set the TODOIST_API_KEY environment variable instead of hardcoding the API key in the configuration:

$ export TODOIST_API_KEY="your_todoist_api_key"

Resources

  • todoist_project: This resource represents a Todoist project.

Example usage:

resource "todoist_project" "example_project" {
  name = "Example Project"
}

Arguments

  • name: (Required) The name of the project.

Data Sources

  • todoist_project: This data source allows you to fetch the details of a Todoist project.

Example usage:

data "todoist_project" "example_project" {
  project_id = "123456789"
}

Arguments

  • project_id: (Required) The ID of the project.

Contributing

If you have suggestions for improvements, bug reports, or other contributions, please open an issue or submit a pull request.

License

This Terraform provider is released under the MIT License.

terraform-provider-todoist's People

Contributors

hilyas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.