You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: could not find project myOrgName/backup
│
│ with module.backup.module.station-tfe.data.tfe_project.workload,
│ on .terraform/modules/backup/hashicorp/tfe/tfe_project.tf line 1, in data "tfe_project""workload":
│ 1: data "tfe_project""workload" {
│
Expected Behavior
I would expect it to plan fine, then during the apply phase, first create the project and then try to create or update the workspace with the correct project name
Actual Behavior
As we reference the name property that is allready known at plan time it just passes this to the tfe module where it's used in a data source to get the ID. As the project is not yet created the data source fails to the the projectID
Terraform Version
1.9.7
Station Version
1.10.0
The text was updated successfully, but these errors were encountered:
Description
If we create a new Terraform cloud project using the TFE provider like so in station deploymnets:
The plan will fail if you reference it like so:
Steps to Reproduce
tfe.project_name
property like so:terraform plan
and see the error:Expected Behavior
I would expect it to plan fine, then during the apply phase, first create the project and then try to create or update the workspace with the correct project name
Actual Behavior
As we reference the name property that is allready known at plan time it just passes this to the tfe module where it's used in a data source to get the ID. As the project is not yet created the data source fails to the the projectID
Terraform Version
1.9.7
Station Version
1.10.0
The text was updated successfully, but these errors were encountered: