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

Creating instances in another project when machine environment credentials selected #59

Open
knightsg opened this issue Oct 29, 2024 · 1 comment

Comments

@knightsg
Copy link

knightsg commented Oct 29, 2024

We're trying to have instances created from an instance template in a different project by setting the alternate project name in the source project field in the cloudimage settings. We've also updated the service account for the TeamCity server to allow it to create and manage instances in the other project. However, we've observed that the instances are still being created in the same project as the TeamCity server. It seems that the code may only allow creating instances in other projects if the cloud profile is configured to use JSON private key credentials. Can you confirm if this is the case, and if so is that intentional? It's a bit confusing and not covered in the documentation.

@knightsg
Copy link
Author

knightsg commented Nov 4, 2024

As a follow-up question, is it possible to reference JSON credentials from a parameter in the Edit JSON key text box? It doesn't appear so but it would be helpful to know if there's some possible way to do it.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant