Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Crash when using terraform_remote_state data source #25150

Closed
alisdair opened this issue Jun 5, 2020 · 2 comments · Fixed by #25216
Closed

Crash when using terraform_remote_state data source #25150

alisdair opened this issue Jun 5, 2020 · 2 comments · Fixed by #25216
Labels
confirmed a Terraform Core team member has reproduced this issue upstream v0.13 Issues (primarily bugs) reported against v0.13 releases

Comments

@alisdair
Copy link
Contributor

alisdair commented Jun 5, 2020

Terraform Version

Terraform v0.13.0-dev

Built from 0b38ab3

Terraform Configuration Files

terraform {
  required_version = ">= 0.12"
}

data "terraform_remote_state" "random" {
  backend = "remote"
  config = {
    organization = "alisdair-v2"
    workspaces = {
      name = "terraform-random"
    }
  }
}

output ids {
  value = data.terraform_remote_state.random.outputs.random
}

Debug Output

https://gist.github.com/alisdair/7c02fc9340d4686e8797d9a2b8fec777#file-output-log

Crash Output

https://gist.github.com/alisdair/7c02fc9340d4686e8797d9a2b8fec777#file-crash-log

Expected Behavior

Apply succeeds and displays outputs from Terraform Cloud workspace.

Actual Behavior

Crash.

Steps to Reproduce

  1. terraform init
  2. terraform apply

Additional Context

References

I found this while trying to reproduce #25148.

@alisdair alisdair added confirmed a Terraform Core team member has reproduced this issue v0.13 Issues (primarily bugs) reported against v0.13 releases labels Jun 5, 2020
@jbardin
Copy link
Member

jbardin commented Jun 8, 2020

This is also fixed by the upstream change: zclconf/go-cty#55

@ghost
Copy link

ghost commented Jul 12, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
confirmed a Terraform Core team member has reproduced this issue upstream v0.13 Issues (primarily bugs) reported against v0.13 releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants