GoogleCloudPlatform / cloud-ops-sandbox

Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406 stars 148 forks source link

Choosing the target project to deploy the sandbox #1005

Closed rkja22 closed 1 year ago

rkja22 commented 1 year ago

The current instructions in the documentation doesn't tell how to create the sandbox in an already existing project. Although it's possible to find that out using sandboxctl create --help command, adding it explicitly in the documentation will be helpful.

Ask: Add to the documentation that you can can specify the existing project of your choice to deploy the sandbox by using sandboxctl create -p <project-id>

minherz commented 1 year ago

Thank you for letting us know. The installation script provides the list of projects that a user has owner permissions on them and propose to select one of them or create a new project. I assume your experience is different. Can you please share the more detailed step-by-step instruction about what you do to install Sandbox? Do you use "Cloud Shell button" in README, clone the repo or you do something different? I appreciate if you will be able to share an output that you see in the step when a project is expected to be selected/created (either a screenshot or the output copy/paste).

minherz commented 1 year ago

The 0.9 versions of sandboxctl are no longer create projects. The behavior is always to create the Cloud Ops Sandbox instance in the existing project that is provided as a parameter to sandboxctl create command. The documentation in README and walkthrough explicitly instruct to provide the project ID as a parameter to the "create" command. If the command is invoked without the project parameter, CLI prints out error message. Feel free to reopen this issue if the error message is not clear.