mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-13 21:01:16 -04:00
Importing to the same target address twice or importing the same ID to multiple different resources of the same type is not allowed.
16 lines
181 B
HCL
16 lines
181 B
HCL
resource "aws_instance" "web" {
|
|
}
|
|
|
|
resource "aws_instance" "other_web" {
|
|
}
|
|
|
|
import {
|
|
to = aws_instance.web
|
|
id = "test"
|
|
}
|
|
|
|
import {
|
|
to = aws_instance.other_web
|
|
id = "test"
|
|
}
|