skip to Main Content

Unable to run metadata_startup_script in Terraform – CentOS

I have a terraform script resource "google_compute_attached_disk" "default3" { disk = google_compute_disk.default2.id instance = google_compute_instance.default.id } resource "google_compute_instance" "default" { name = "test" machine_type = "custom-8-16384" zone = "asia-south1-a" tags = ["foo", "bar"] boot_disk { initialize_params { image = "centos-cloud/centos-7"…

VIEW QUESTION

Running a script with Terraform – Debian

For learning purpose, I'm trying to install and setup my own Kubernetes Cluster on GCP. I want to provision my instances on GCP with a bootstrap script. Here is my google_compute_instance config resource "google_compute_instance" "default" { name = var.vm_name machine_type…

VIEW QUESTION

How to provide image name in gcp terraform script? – Debian

I'm trying to learn terraform, how do i change image name in the terraform script? For example, in the below script the default linux image given is debian-cloud/debian-9, how to change the image, say something from marketplace https://console.cloud.google.com/marketplace/details/click-to-deploy-images/deeplearning?q=deep%20learning%20vm&id=8857b4a3-f60f-40b2-9b32-22b4428fd256 gcp terraform…

VIEW QUESTION
Back To Top
Search