mirror of
https://github.com/opentofu/opentofu.git
synced 2026-06-09 08:33:23 -04:00
11 lines
174 B
HCL
11 lines
174 B
HCL
data "aws_subnet" "bar" {
|
|
vpc_id = "abc"
|
|
cidr_block = "10.0.1.0/24"
|
|
}
|
|
|
|
import {
|
|
to = aws_subnet.bar
|
|
id = data.aws_subnet.bar.id
|
|
}
|
|
|
|
resource "aws_subnet" "bar" {}
|