-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Cannot use terraform stacks #37192
Copy link
Copy link
Closed
Labels
bugcloudRelated to Terraform Cloud's integration with TerraformRelated to Terraform Cloud's integration with Terraformnewnew issue not yet triagednew issue not yet triagedstacksRelating to the Stacks featuresRelating to the Stacks features
Description
Terraform Version
Terraform v1.13.0-alpha20250521
on darwin_arm64
+ provider registry.terraform.io/cloudflare/cloudflare v5.4.0
+ provider registry.terraform.io/hashicorp/aws v5.97.0
+ provider registry.terraform.io/hashicorp/hcp v0.104.0Terraform Configuration Files
This happens just loading a plugin, don't think config is relevant here.
Debug Output
2025-06-02T11:02:13.194Z [INFO] Terraform version: 1.13.0 alpha20250521
2025-06-02T11:02:13.194Z [DEBUG] using github.com/hashicorp/go-tfe v1.74.1
2025-06-02T11:02:13.194Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.23.1-0.20250203194505-ba0759438da2
2025-06-02T11:02:13.194Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2025-06-02T11:02:13.194Z [DEBUG] using github.com/zclconf/go-cty v1.16.2
2025-06-02T11:02:13.194Z [INFO] Go runtime version: go1.24.2
2025-06-02T11:02:13.194Z [INFO] CLI args: []string{"/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.13.0-alpha20250521/terraform", "stacks", "-help"}
2025-06-02T11:02:13.194Z [INFO] This build of Terraform allows using experimental features
2025-06-02T11:02:13.194Z [TRACE] Stdout is a terminal of width 268
2025-06-02T11:02:13.194Z [TRACE] Stderr is a terminal of width 268
2025-06-02T11:02:13.194Z [TRACE] Stdin is a terminal
2025-06-02T11:02:13.194Z [DEBUG] Attempting to open CLI config file: /Users/henry/.terraformrc
2025-06-02T11:02:13.194Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2025-06-02T11:02:13.194Z [INFO] Loading CLI configuration from /Users/henry/.terraform.d/credentials.tfrc.json
2025-06-02T11:02:13.194Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2025-06-02T11:02:13.194Z [DEBUG] ignoring non-existing provider search directory /Users/henry/.terraform.d/plugins
2025-06-02T11:02:13.194Z [DEBUG] ignoring non-existing provider search directory /Users/henry/Library/Application Support/io.terraform/plugins
2025-06-02T11:02:13.194Z [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2025-06-02T11:02:13.195Z [INFO] CLI command args: []string{"stacks", "-help"}
2025-06-02T11:02:13.195Z [TRACE] stacksplugin hostname not set, falling back to "app.terraform.io"
2025-06-02T11:02:13.195Z [DEBUG] Service discovery for app.terraform.io at https://app.terraform.io/.well-known/terraform.json
2025-06-02T11:02:13.685Z [TRACE] stacksplugin cache directory found at ".terraform/stacksplugin"
2025-06-02T11:02:13.686Z [TRACE] no stacksplugin manifest cache found for host "app.terraform.io"
2025-06-02T11:02:13.686Z [DEBUG] performing request: method=GET url=https://app.terraform.io/stacksplugin.v1/manifest.json
2025-06-02T11:02:13.686Z [TRACE] HTTP client GET request to https://app.terraform.io/stacksplugin.v1/manifest.json
╷
│ Error: Stacks plugin download error
│
│ could not resolve stacksplugin version for host "app.terraform.io": failed to fetch stacksplugin manifest: plugin is not supported by the remote version of Terraform Enterprise
╵
Expected Behavior
I would have expected the cli program to offer me verbs to manage Terraform Stacks.
Actual Behavior
Error, unable to fetch plugin payload.
Steps to Reproduce
- Use Terraform cloud
- Try a stacks command like
terraform stacks -help
Additional Context
curl -vv https://app.terraform.io/stacksplugin.v1/manifest.json
* Host app.terraform.io:443 was resolved.
* IPv6: (none)
* IPv4: 99.83.150.238, 75.2.98.97
* Trying 99.83.150.238:443...
* Connected to app.terraform.io (99.83.150.238) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
* subject: CN=app.terraform.io
* start date: Mar 4 00:00:00 2025 GMT
* expire date: Apr 2 23:59:59 2026 GMT
* subjectAltName: host "app.terraform.io" matched cert's "app.terraform.io"
* issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
* SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://app.terraform.io/stacksplugin.v1/manifest.json
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: app.terraform.io]
* [HTTP/2] [1] [:path: /stacksplugin.v1/manifest.json]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
> GET /stacksplugin.v1/manifest.json HTTP/2
> Host: app.terraform.io
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/2 404
< date: Mon, 02 Jun 2025 11:30:10 GMT
< content-type: application/json; charset=utf-8
< content-length: 40
< cache-control: no-cache
< referrer-policy: strict-origin-when-cross-origin
< strict-transport-security: max-age=63072000; includeSubDomains; preload
< vary: Accept-Encoding
< vary: Origin
< x-content-type-options: nosniff
< x-download-options: noopen
< x-frame-options: SAMEORIGIN
< x-permitted-cross-domain-policies: none
< x-ratelimit-limit: 30
< x-ratelimit-remaining: 29
< x-ratelimit-reset: 0.98
< x-request-id: 46fc4981-0df0-a8fe-d5db-4233a83dd39e
< x-xss-protection: 1; mode=block
<
* Connection #0 to host app.terraform.io left intact
{"errors":["Not Found"],"success":false}%
References
Generative AI / LLM assisted development?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcloudRelated to Terraform Cloud's integration with TerraformRelated to Terraform Cloud's integration with Terraformnewnew issue not yet triagednew issue not yet triagedstacksRelating to the Stacks featuresRelating to the Stacks features