-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
Description
Terraform Enterprise version
Terraform Enterprise 1.0.3
Terraform version
Terraform v1.11.4
on darwin_arm64
+ provider registry.terraform.io/hashicorp/tfe v0.74.0
Your version of Terraform is out of date! The latest version
is 1.14.5. You can update by downloading from https://developer.hashicorp.com/terraform/install
Terraform Configuration Files
terraform {
required_providers {
tfe = {
source = "hashicorp/tfe"
version = "0.74.0"
}
}
}
resource "tfe_workspace" "test" {
name = "tfe_var_test"
terraform_version = "1.11.4"
}
resource "tfe_variable" "test" {
workspace_id = tfe_workspace.test.id
category = "terraform"
key = "test"
value = timestamp()
}TFE_HOSTNAME, TFE_ORGANIZATION, and TFE_TOKEN are set as environment variables.
Debug Output
I can provide this separately if needed. I'd need to check whether anything needs to be redacted.
Expected Behavior
The first terraform apply should create the variable successfully.
The second terraform apply should update the variable successfully.
Actual Behavior
The first terraform apply creates the variable successfully.
The second terraform apply fails with the following error:
tfe_variable.test: Modifying... [id=var-reWQkJw3ZcQnxTK7]
╷
│ Error: Missing Resource Identity After Update
│
│ with tfe_variable.test,
│ on main.tf line 15, in resource "tfe_variable" "test":
│ 15: resource "tfe_variable" "test" {
│
│ The Terraform Provider unexpectedly returned no resource identity data after having no errors in the resource update. This is always an
│ issue in the Terraform Provider and should be reported to the provider developers.
Additional Context
The error doesn't seem to occur with version 0.73.0 of the provider, or with Terraform version 1.12.0 or later.
Reactions are currently unavailable