Closed willdafoe closed 2 years ago
Hi @Dev0psPleb - thank you for submitting this issue! We're looking into the problem, and I was wondering if it might be possible for you to share the referenced file .terraform/modules/workspace/modules/tfe_workspace/main.tf
?
Hi @Dev0psPleb - thank you for submitting this issue! We're looking into the problem, and I was wondering if it might be possible for you to share the referenced file
.terraform/modules/workspace/modules/tfe_workspace/main.tf
?
Hi @annawinkler,
Here's main.tf for the referenced module:
resource "tfe_workspace" "this" {
allow_destroy_plan = var.allow_destroy_plan
auto_apply = var.auto_apply
description = var.workspace_description
execution_mode = var.execution_mode
file_triggers_enabled = var.file_triggers_enabled
global_remote_state = var.global_remote_state
name = var.name
organization = var.organization
queue_all_runs = var.queue_all_runs
speculative_enabled = var.speculative_enabled
structured_run_output_enabled = var.structured_run_output_enabled
ssh_key_id = var.ssh_key_id
terraform_version = var.terraform_version
trigger_prefixes = var.trigger_prefixes
working_directory = var.working_directory
dynamic "vcs_repo" {
for_each = var.add_vcs_repo ? [1] : []
content {
identifier = var.vcs_repository
branch = var.vcs_branch
oauth_token_id = var.oauth_token_id
ingress_submodules = var.ingress_submodules
}
}
tag_names = var.tags
}
Thank you! I've submitted an issue for this problem.
Terraform Cloud/Enterprise version
Terraform Cloud
Terraform version
Terraform Configuration Files
Debug Output
Expected Behavior
I had previously run the apply with two workspace_objects for vpc-us-east-1 and vpc-us-east-2. Adding the two additional workspace objects to the locals block resulted in the crash. This also previously happened when I started with just vpc-us-east-1 as a workspace object and then add the second for vpc-us-east-2.
Actual Behavior
Plugin crashed and the request was cancelled.
Additional Context