Skip to content

Commit a772eff

Browse files
committed
comments
1 parent 700d8b6 commit a772eff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/provider/resource_tfe_workspace_policy_set_exclusion.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ func resourceTFEWorkspacePolicySetExclusionDelete(d *schema.ResourceData, meta i
117117
}
118118

119119
func resourceTFEWorkspacePolicySetExclusionImporter(ctx context.Context, d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {
120-
// The format of the import ID is <ORGANIZATION/WORKSPACE_EXCLUSIONS NAME/POLICYSET NAME>
120+
// The format of the import ID is <ORGANIZATION/WORKSPACE NAME/POLICYSET NAME>
121121
splitID := strings.SplitN(d.Id(), "/", 3)
122122
if len(splitID) != 3 {
123123
return nil, fmt.Errorf(
124-
"invalid excluded workspace policy set input format: %s (expected <ORGANIZATION>/<WORKSPACE_EXCLUSIONS NAME>/<POLICYSET NAME>)",
124+
"invalid excluded workspace policy set input format: %s (expected <ORGANIZATION>/<WORKSPACE NAME>/<POLICYSET NAME>)",
125125
splitID,
126126
)
127127
}

website/docs/r/workspace_policy_set_exclusion.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ The following arguments are supported:
5151

5252
## Import
5353

54-
Excluded Workspace Policy Sets can be imported; use `<ORGANIZATION>/<WORKSPACE_EXCLUSIONS NAME>/<POLICY SET NAME>`. For example:
54+
Excluded Workspace Policy Sets can be imported; use `<ORGANIZATION>/<WORKSPACE NAME>/<POLICY SET NAME>`. For example:
5555

5656
```shell
57-
terraform import tfe_workspace_policy_set_exclusion.test 'my-org-name/workspace-exclusion/policy-set-name'
57+
terraform import tfe_workspace_policy_set_exclusion.test 'my-org-name/workspace/policy-set-name'
5858
```

0 commit comments

Comments
 (0)