-
Notifications
You must be signed in to change notification settings - Fork 0
Adding a new instance (also serving as a Digger test) #10
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
Merged
Conversation
This file contains hidden or 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
Digger run report at 2025-05-29 13:30:49 (UTC)Plan outputTerraform will perform the following actions:
# module.gce.google_compute_instance.competition_instance[1] will be created
+ resource "google_compute_instance" "competition_instance" {
+ can_ip_forward = false
+ cpu_platform = (known after apply)
+ current_status = (known after apply)
+ deletion_protection = false
+ effective_labels = (known after apply)
+ guest_accelerator = (known after apply)
+ id = (known after apply)
+ instance_id = (known after apply)
+ label_fingerprint = (known after apply)
+ machine_type = "e2-micro"
+ metadata_fingerprint = (known after apply)
+ metadata_startup_script = (sensitive value)
+ min_cpu_platform = (known after apply)
+ name = "instance-kaggle-demo-1"
+ project = "kaggle-infra-exp-0808"
+ self_link = (known after apply)
+ tags_fingerprint = (known after apply)
+ terraform_labels = (known after apply)
+ zone = "asia-northeast1-c"
+ 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 = "ubuntu-os-cloud/ubuntu-2004-lts"
+ labels = (known after apply)
+ provisioned_iops = (known after apply)
+ provisioned_throughput = (known after apply)
+ size = (known after apply)
+ type = (known after apply)
}
}
+ confidential_instance_config (known after apply)
+ network_interface {
+ internal_ipv6_prefix_length = (known after apply)
+ ipv6_access_type = (known after apply)
+ ipv6_address = (known after apply)
+ name = (known after apply)
+ network = "default"
+ network_ip = (known after apply)
+ stack_type = (known after apply)
+ subnetwork = (known after apply)
+ subnetwork_project = (known after apply)
+ access_config {
+ nat_ip = (known after apply)
+ network_tier = (known after apply)
}
}
+ reservation_affinity (known after apply)
+ scheduling (known after apply)
+ service_account {
+ email = "instance-service-account@kaggle-infra-exp-0808.iam.gserviceaccount.com"
+ scopes = [
+ "https://www.googleapis.com/auth/cloud-platform",
]
}
}
# module.network.google_compute_address.static_ip[1] will be created
+ resource "google_compute_address" "static_ip" {
+ address = (known after apply)
+ address_type = "EXTERNAL"
+ creation_timestamp = (known after apply)
+ effective_labels = (known after apply)
+ id = (known after apply)
+ label_fingerprint = (known after apply)
+ name = "static-ip-kaggle-demo-1"
+ network_tier = "PREMIUM"
+ prefix_length = (known after apply)
+ project = "kaggle-infra-exp-0808"
+ purpose = (known after apply)
+ region = "asia-northeast1"
+ self_link = (known after apply)
+ subnetwork = (known after apply)
+ terraform_labels = (known after apply)
+ users = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────Terraform plan validation check (competition01)Terraform plan validation checks succeeded ✅Plan summary
|
Owner
Author
|
As expected, the plan result shows that a second instance has been added. |
Owner
Author
|
digger apply |
Digger run report at 2025-05-29 13:32:19 (UTC)Apply outputTerraform will perform the following actions:
# module.gce.google_compute_instance.competition_instance[1] will be created
+ resource "google_compute_instance" "competition_instance" {
+ can_ip_forward = false
+ cpu_platform = (known after apply)
+ current_status = (known after apply)
+ deletion_protection = false
+ effective_labels = (known after apply)
+ guest_accelerator = (known after apply)
+ id = (known after apply)
+ instance_id = (known after apply)
+ label_fingerprint = (known after apply)
+ machine_type = "e2-micro"
+ metadata_fingerprint = (known after apply)
+ metadata_startup_script = (sensitive value)
+ min_cpu_platform = (known after apply)
+ name = "instance-kaggle-demo-1"
+ project = "kaggle-infra-exp-0808"
+ self_link = (known after apply)
+ tags_fingerprint = (known after apply)
+ terraform_labels = (known after apply)
+ zone = "asia-northeast1-c"
+ 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 = "ubuntu-os-cloud/ubuntu-2004-lts"
+ labels = (known after apply)
+ provisioned_iops = (known after apply)
+ provisioned_throughput = (known after apply)
+ size = (known after apply)
+ type = (known after apply)
}
}
+ confidential_instance_config (known after apply)
+ network_interface {
+ internal_ipv6_prefix_length = (known after apply)
+ ipv6_access_type = (known after apply)
+ ipv6_address = (known after apply)
+ name = (known after apply)
+ network = "default"
+ network_ip = (known after apply)
+ stack_type = (known after apply)
+ subnetwork = (known after apply)
+ subnetwork_project = (known after apply)
+ access_config {
+ nat_ip = (known after apply)
+ network_tier = (known after apply)
}
}
+ reservation_affinity (known after apply)
+ scheduling (known after apply)
+ service_account {
+ email = "instance-service-account@kaggle-infra-exp-0808.iam.gserviceaccount.com"
+ scopes = [
+ "https://www.googleapis.com/auth/cloud-platform",
]
}
}
# module.network.google_compute_address.static_ip[1] will be created
+ resource "google_compute_address" "static_ip" {
+ address = (known after apply)
+ address_type = "EXTERNAL"
+ creation_timestamp = (known after apply)
+ effective_labels = (known after apply)
+ id = (known after apply)
+ label_fingerprint = (known after apply)
+ name = "static-ip-kaggle-demo-1"
+ network_tier = "PREMIUM"
+ prefix_length = (known after apply)
+ project = "kaggle-infra-exp-0808"
+ purpose = (known after apply)
+ region = "asia-northeast1"
+ self_link = (known after apply)
+ subnetwork = (known after apply)
+ terraform_labels = (known after apply)
+ users = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
module.network.google_compute_address.static_ip[1]: Creating...
module.network.google_compute_address.static_ip[1]: Still creating... [00m10s elapsed]
module.network.google_compute_address.static_ip[1]: Creation complete after 12s [id=projects/kaggle-infra-exp-0808/regions/asia-northeast1/addresses/static-ip-kaggle-demo-1]
module.gce.google_compute_instance.competition_instance[1]: Creating...
module.gce.google_compute_instance.competition_instance[1]: Still creating... [00m10s elapsed]
module.gce.google_compute_instance.competition_instance[1]: Creation complete after 17s [id=projects/kaggle-infra-exp-0808/zones/asia-northeast1-c/instances/instance-kaggle-demo-1]
Releasing state lock. This may take a few moments...
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
|
Owner
Author
|
If the apply succeeds, the PR will be auto-merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.