Skip to content

Commit

Permalink
Added a test step to verify using an org-name/wkspace-name pair as th…
Browse files Browse the repository at this point in the history
…e ImportID
  • Loading branch information
sebasslash authored and brandonc committed Jan 7, 2022
1 parent 0ebc1e4 commit 3c5f110
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tfe/resource_tfe_workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,12 @@ func TestAccTFEWorkspace_import(t *testing.T) {
ImportState: true,
ImportStateVerify: true,
},
{
ResourceName: "tfe_workspace.foobar",
ImportState: true,
ImportStateId: fmt.Sprintf("tst-terraform-%d/workspace-test", rInt),
ImportStateVerify: true,
},
},
})
}
Expand Down

0 comments on commit 3c5f110

Please sign in to comment.