Difference between revisions of "Terraform or OpenTofu"
(→Creating a Network) |
(→main.tf) |
||
Line 7: | Line 7: | ||
<code> |
<code> |
||
− | <syntaxhighlight lang="c"> |
||
− | |||
terraform { |
terraform { |
||
} |
} |
||
Line 17: | Line 15: | ||
zone = "europe-west1-d" |
zone = "europe-west1-d" |
||
} |
} |
||
− | |||
− | </syntaxhighlight> |
||
</code> |
</code> |
Revision as of 07:05, 19 April 2024
Example how to configure a simple network in Google via Terraform/OpenTofu
Creating a Network
main.tf
terraform {
}
provider "google" {
project = "linux-lv-test"
region = "europe-west1"
zone = "europe-west1-d"
}