Skip to content

Commit 8eb838d

Browse files
committed
reversing change
1 parent 5941f3f commit 8eb838d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tfe/resource_tfe_policy_set.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,6 @@ func resourceTFEPolicySet() *schema.Resource {
136136
Elem: &schema.Schema{Type: schema.TypeString},
137137
ConflictsWith: []string{"global"},
138138
},
139-
140-
"project_ids": {
141-
Type: schema.TypeSet,
142-
Optional: true,
143-
Computed: true,
144-
Elem: &schema.Schema{Type: schema.TypeString},
145-
ConflictsWith: []string{"global"},
146-
},
147139
},
148140
}
149141
}
@@ -205,10 +197,6 @@ func resourceTFEPolicySetCreate(d *schema.ResourceData, meta interface{}) error
205197
options.Workspaces = append(options.Workspaces, &tfe.Workspace{ID: workspaceID.(string)})
206198
}
207199

208-
for _, projectID := range d.Get("project_ids").(*schema.Set).List() {
209-
options.Projects = append(options.Projects, &tfe.Project{ID: projectID.(string)})
210-
}
211-
212200
log.Printf("[DEBUG] Create policy set %s for organization: %s", name, organization)
213201
policySet, err := config.Client.PolicySets.Create(ctx, organization, options)
214202
if err != nil {

0 commit comments

Comments
 (0)