chore(tf): alias_id -> alias

This commit is contained in:
Denis Gukov 2024-12-05 19:46:04 +05:00
parent 0e1c594253
commit 67cd5c32e3

View File

@ -290,9 +290,9 @@ func Route() *mux.Router {
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases", projects.GetTerraformInventoryAliases).Methods("GET", "HEAD")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases", projects.AddTerraformInventoryAlias).Methods("POST")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases/{alias_id}", projects.GetTerraformInventoryAlias).Methods("GET")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases/{alias_id}", projects.DeleteTerraformInventoryAlias).Methods("DELETE")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases/{alias_id}", projects.SetTerraformInventoryAliasAccessKey).Methods("PUT")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases/{alias}", projects.GetTerraformInventoryAlias).Methods("GET")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases/{alias}", projects.DeleteTerraformInventoryAlias).Methods("DELETE")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/aliases/{alias}", projects.SetTerraformInventoryAliasAccessKey).Methods("PUT")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/states", projects.GetTerraformInventoryStates).Methods("GET", "HEAD")
projectInventoryManagement.HandleFunc("/{inventory_id}/terraform/states", projects.AddTerraformInventoryState).Methods("POST")