You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like Former2 to automatically generate the required import blocks alongside the standard Terraform resource blocks in the output. The generated code would look similar to the example provided:
import {
to = aws_s3_bucket.example
id = "my-existing-bucket-id"
}
resource "aws_s3_bucket" "example" {
# ... generated configuration ...
}
The id field would be automatically populated with the actual resource ID discovered during the Former2 scan, and the to field would link to the generated resource address.
This would allow for teams to use former2 to easily import multiple resources from an AWS account into a project's state file to be managed by terraform/opentofu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like Former2 to automatically generate the required import blocks alongside the standard Terraform resource blocks in the output. The generated code would look similar to the example provided:
The id field would be automatically populated with the actual resource ID discovered during the Former2 scan, and the to field would link to the generated resource address.
This would allow for teams to use former2 to easily import multiple resources from an AWS account into a project's state file to be managed by terraform/opentofu
Beta Was this translation helpful? Give feedback.
All reactions