Giter Club home page Giter Club logo

terraform-provider-chatgpt's Introduction

Terraform Provider ChatGPT

This project is used to read and write to/from ChatGPT queries using Terraform.

ℹ️️ Requirements

  • Terraform 0.10.x
  • Go 1.20.x (to build the provider plugin)

💁🏻 Contributing

This is an open source project. Any contribution would be greatly appreciated!

🚩 Issues

If you have found an issue, please report it on the issue tracker

📝 LICENSE

License is MIT

Made with ❤️ in develeap

terraform-provider-chatgpt's People

Contributors

kfirbekhavod avatar

Stargazers

 avatar  avatar  avatar Alexander Jackson avatar  avatar Jonas Kaninda avatar velniukas avatar Cedric McKinnie avatar Ryan Raub avatar Jan-Arve Nygård avatar Daniel Gomez avatar Daniel Hernández avatar  avatar Shai avatar Niv Yohanok avatar Boris Tsigelman avatar Marcel F. Falcão avatar Javier Juarez avatar Oleksandr B. avatar  avatar Utpal Nadiger avatar  avatar Tertius Stander avatar  avatar jkorell avatar Jhonny Pong avatar Gilad Neiger avatar

Watchers

Omri Spector avatar  avatar Andra Gabriela Radu avatar

Forkers

swapnilm24

terraform-provider-chatgpt's Issues

Error: Failed to install provider

Getting the below error when performing a terraform init

 Error while installing develeap/chatgpt v0.0.1: archive has incorrect checksum zh:f4db7718d2fcefb10282499333a49f71e2a5bdc578e3f0d6dba6517ed40240bb (expected zh:1e7eaa539e613a724efb635f6a45e39f347b9909be7c41389f5d9cc9777abdd4)

uname:
Linux 5eeda4edab7b 5.10.109-0-virt #1-Alpine SMP Mon, 28 Mar 2022 11:20:52 +0000 x86_64 x86_64 x86_64 GNU/Linux

provider.tf

terraform {
  required_providers {
    chatgpt = {
      source = "develeap/chatgpt"
      version = "0.0.1"
    }
  }
}

provider "chatgpt" {
  # api_key = "..."
}

Provider produced inconsistent result after apply

Error: Provider produced inconsistent result after apply

│ When applying changes to chatgpt_prompt.example, provider "provider["registry.terraform.io/develeap/chatgpt"]"
│ produced an unexpected new value: Root resource was present, but now absent.

trying to execute the following terraform code

terraform {
required_providers {
chatgpt = {
version = "0.0.1"
source = "develeap/chatgpt"
}
}
}

provider "chatgpt" {
api_key="xxxxxx"

}

resource "chatgpt_prompt" "example" {
max_tokens = 256
query = "what is the capital of Tamilnadu"
}

output "example_result" {
value = chatgpt_prompt.example.result
}

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.