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
Creation of instance template with container image #227
Comments
Thank you for your question! It looks like the example you linked uses the beta API of the I will ask Google folks to check why. |
@SamyPesse One option to figure out what is going on: if you have a gcloud CLI command that works for you, you could run it with |
Hello! I work with GCP and I can share some insights here. Unfortunately, creating instances and templates that run containers is currently limited to Cloud Console and
Most important is the comment:
As you can see, the way we create instances hosting containers is not fully finalized yet and the way it's done is subject to change. Obviously, with the REST preview, you can reverse engineer how it's done right now, but it's not really recommended. Let me know if you have any further questions. |
How about we create an experimental Pulumi Package to handle this? We can release this under Pulumiverse, and I would love to contribute to it. |
It would be like https://registry.terraform.io/modules/terraform-google-modules/container-vm/google/latest on Terraform |
GCP supports creating instance template to deploy docker container: https://cloud.google.com/compute/docs/containers/deploying-containers#managedinstancegroupcontainer / https://cloud.google.com/sdk/gcloud/reference/beta/compute/instance-templates/create-with-container
But it doesn't seem possible to do it with Pulumi at the moment (with native or the classic). Am I missing something?
The text was updated successfully, but these errors were encountered: