Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/asset classification 20231113 #173

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @hashicorp/terraform-ecosystem-kubernetes
* @snyk/cloud-platforms
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need a few more details about this change.

Is this a hostile takeover? :)

11 changes: 11 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: terraform-k8s
annotations:
github.com/project-slug: snyk/terraform-k8s
github.com/team-slug: snyk/cloud-platforms
spec:
type: supply-chain-tooling
lifecycle: "-"
owner: cloud-platforms
2 changes: 1 addition & 1 deletion workspacehelper/tfc_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (t *TerraformCloudClient) updateAgentPoolID(instance *appv1alpha1.Workspace
updateOptions.ExecutionMode = tfc.String("")
}

_, err := t.Client.Workspaces.Update(context.TODO(), t.Organization, workspace.Name, updateOptions)
_, err := t.Client.Workspaces.UpdateByID(context.TODO(), workspace.ID, updateOptions)
if err != nil {
return err
}
Expand Down