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

gce_vm() dry_run fails #189

Open
LukasWallrich opened this issue Jul 22, 2022 · 1 comment
Open

gce_vm() dry_run fails #189

LukasWallrich opened this issue Jul 22, 2022 · 1 comment
Assignees
Labels

Comments

@LukasWallrich
Copy link

I tried to use dry_run = TRUE within gce_vm() to get the JSON - and it returns Error: $ operator is invalid for atomic vectors

This happens with the following command:

gce_vm(template = "rstudio",
                name = "rstudio-iat2",
                zone = "europe-west4-a",
                username = "me", password = "mine",
                predefined_type = "e2-highmem-4",
                dry_run = TRUE)
@LukasWallrich
Copy link
Author

I tried to chase this down further - and return(toJSON(the_instance, pretty = TRUE)) in gce_vm_create() works, but then this breaks somewhere on the way back ...

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

No branches or pull requests

2 participants