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