mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-27 02:02:35 -05:00
Importing to the same target address twice or importing the same ID to multiple different resources of the same type is not allowed.
13 lines
135 B
HCL
13 lines
135 B
HCL
resource "aws_instance" "web" {
|
|
}
|
|
|
|
import {
|
|
to = aws_instance.web
|
|
id = "test"
|
|
}
|
|
|
|
import {
|
|
to = aws_instance.web
|
|
id = "test2"
|
|
}
|