mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-05 02:47:43 -05:00
This example demonstrates both creating a network architecture *and* the use of data resources to minimize the number of variables needed for a child module by discovering additional data automatically.
10 lines
172 B
HCL
10 lines
172 B
HCL
variable "region" {
|
|
description = "The name of the AWS region to set up a network within"
|
|
}
|
|
|
|
variable "base_cidr_block" {}
|
|
|
|
provider "aws" {
|
|
region = "${var.region}"
|
|
}
|