Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create Error: Invalid address to set: []string{"boards"} #41

Open
178inaba opened this issue Jul 10, 2023 · 0 comments
Open

Create Error: Invalid address to set: []string{"boards"} #41

178inaba opened this issue Jul 10, 2023 · 0 comments

Comments

@178inaba
Copy link

I tried to create a board but got an error.

terraform version

$ terraform version
Terraform v1.5.2
on darwin_amd64
+ provider registry.terraform.io/miro-ecosystem/miro v99.0.0

main.tf

terraform {
  required_providers {
    miro = {
      source = "Miro-Ecosystem/miro"
    }
  }
}

variable "access_token" {
  type      = string
  sensitive = true
}

provider "miro" {
  access_token = var.access_token
}

resource "miro_board" "test" {
  name        = "Test Board"
  description = "My test board for Software Design"
}

apply output

$ terraform apply -var="access_token=<access_token>" -auto-approve

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # miro_board.test will be created
  + resource "miro_board" "test" {
      + description = "My test board for Software Design"
      + id          = (known after apply)
      + name        = "Test Board"
    }

Plan: 1 to add, 0 to change, 0 to destroy.
miro_board.test: Creating...

│ Error: Invalid address to set: []string{"boards"}

│   with miro_board.test,
│   on main.tf line 18, in resource "miro_board" "test":
│   18: resource "miro_board" "test" {

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant