Closed nitrocode closed 1 year ago
Even though there's no documentation, I was able to guess the command structure and import a spotinst_ocean_ecs
resource by referencing the ID of the Ocean cluster. I suspect it might be the same for the resource you are asking about.
terraform import spotinst_ocean_ecs.this o-123456a78
@pshamus @nitrocode Thanks for sharing. I have created some PR to get this added to the documentation.
We also have a blog discussing this as well that can be found here: https://spot.io/blog/import-spot-resources-into-terraform/
PR released with v1.95.1
Terraform Version
Description
Please allow importing
spotinst_ocean_aws
so we don't need to recreate itUse Cases
Potential Terraform Configuration
References
Community Note