mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
bd6ba6cf99
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"
|
|
}
|