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
server: | |
port: 8080 | |
shutdown: graceful | |
undertow: | |
threads: | |
worker: 24 | |
io: 3 | |
error: | |
whitelabel: | |
enabled: false |
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
terraform --version | |
mkdir tfinfra | |
cd tfinfra | |
nano provider.tf | |
# provider "google" {} < should be added | |
terraform init |
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
resource "google_compute_instance" "tf-instance-1" { | |
name = "tf-instance-1" | |
machine_type = "n1-standard-2" | |
zone = "us-east1-c" | |
allow_stopping_for_update = true | |
boot_disk { | |
initialize_params { | |
image = "debian-cloud/debian-10" | |
} |