Giter Site home page Giter Site logo

change-engine / terraform-provider-slack-app Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 886 KB

This is for managing Slack App Manifests, it is no use if you are not developing an App for Slack

Home Page: https://registry.terraform.io/providers/change-engine/slack-app/latest/docs/resources/manifest

License: Mozilla Public License 2.0

Makefile 0.81% Go 99.19%
slack-app terraform-provider

terraform-provider-slack-app's People

Contributors

barnabyshearer avatar dependabot[bot] avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

terraform-provider-slack-app's Issues

Error: Incompatible provider version

Got stuck in terraform init stage. Any help would be much appreciated. Looks like no compatible versions of provider found.

Initializing the backend...

Initializing provider plugins...

  • Finding latest version of hashicorp/template...
  • Finding change-engine/slack-token versions matching "~> 0.1"...
  • Finding change-engine/slack-app versions matching "~> 0.1"...
  • Installing hashicorp/template v2.2.0...
  • Installed hashicorp/template v2.2.0 (signed by HashiCorp)

    │ Error: Incompatible provider version

    │ No compatible versions of provider registry.terraform.io/change-engine/slack-app were found.


│ Error: Incompatible provider version

│ No compatible versions of provider registry.terraform.io/change-engine/slack-token were found.

Value Conversion Error

Hi, I'm attempting to use this provider to update a Slack app I built manually. To start with, I copy-pasted the JSON from the Slack app management UI:

resource "slack-token_refresh" "deployment_token" {}

resource "slack-app_manifest" "bot" {
  manifest = <<EOF
{
...
}
EOF
}

A plan shows only "whitespace changes"; it decides to try to update the value anyway, but all the data it sees as the manifest is exactly what's already in Slack and so it should work just fine.

Instead, I get the following error:

╷
│ Error: Value Conversion Error
│
│   with slack-app_manifest.bot,
│   on resources.slack.tf line 3, in resource "slack-app_manifest" "bot":
│    3: resource "slack-app_manifest" "bot" {
│
│ An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
│
│ unhandled unknown value
╵

If I enable TF_LOG=DEBUG, I see the following, not sure it adds much:

slack-app_manifest.bot: Modifying... [id=***]
2024-05-22T14:12:31.706-0700 [INFO]  Starting apply for slack-app_manifest.bot
2024-05-22T14:12:31.706-0700 [DEBUG] skipping FixUpBlockAttrs
2024-05-22T14:12:31.706-0700 [DEBUG] slack-app_manifest.bot: applying the planned Update change
2024-05-22T14:12:31.707-0700 [DEBUG] State storage *remote.State declined to persist a state snapshot
2024-05-22T14:12:31.707-0700 [ERROR] vertex "slack-app_manifest.bot" error: Value Conversion Error

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.