Last active
June 28, 2021 16:43
-
-
Save mynameisameed/a31cf140c5a8c0ba4a47e9324b941435 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\GCP on Terraform> terraform plan | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# google_compute_instance.test will be created | |
+ resource "google_compute_instance" "test" { | |
+ can_ip_forward = false | |
+ cpu_platform = (known after apply) | |
+ current_status = (known after apply) | |
+ deletion_protection = false | |
+ guest_accelerator = (known after apply) | |
+ id = (known after apply) | |
+ instance_id = (known after apply) | |
+ label_fingerprint = (known after apply) | |
+ machine_type = "f1-micro" | |
+ metadata_fingerprint = (known after apply) | |
+ metadata_startup_script = <<-EOT | |
!/bin/bash | |
sudo apt-get update && sudo apt -y install apache2 | |
echo '<!doctype html><html><body><h1>Hello! Welcome to my Apache website hosted on GCP </h1></body></html>' | sudo tee /var/www/html/index.html | |
EOT | |
+ min_cpu_platform = (known after apply) | |
+ name = "webserver" | |
+ project = (known after apply) | |
+ self_link = (known after apply) | |
+ tags = [ | |
+ "http-server", | |
] | |
+ tags_fingerprint = (known after apply) | |
+ zone = (known after apply) | |
+ boot_disk { | |
+ auto_delete = true | |
+ device_name = (known after apply) | |
+ disk_encryption_key_sha256 = (known after apply) | |
+ kms_key_self_link = (known after apply) | |
+ mode = "READ_WRITE" | |
+ source = (known after apply) | |
+ initialize_params { | |
+ image = "debian-cloud/debian-9" | |
+ labels = (known after apply) | |
+ size = (known after apply) | |
+ type = (known after apply) | |
} | |
} | |
+ confidential_instance_config { | |
+ enable_confidential_compute = (known after apply) | |
} | |
+ network_interface { | |
+ name = (known after apply) | |
+ network = "default" | |
+ network_ip = (known after apply) | |
+ subnetwork = (known after apply) | |
+ subnetwork_project = (known after apply) | |
+ access_config { | |
+ nat_ip = (known after apply) | |
+ network_tier = (known after apply) | |
} | |
} | |
+ scheduling { | |
+ automatic_restart = false | |
+ on_host_maintenance = (known after apply) | |
+ preemptible = true | |
} | |
} | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform | |
apply" now. | |
Releasing state lock. This may take a few moments... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment