I am attempting to import our existing cloud accounts into our terraform state to be managed.
I have defined the basics of each of our aws account and receive a runtime error when attempting to import:
terraform import prismacloud_cloud_account_v2.aws "myid"
Acquiring state lock. This may take a few moments...
data.prismacloud_account_group.aws: Reading...
data.prismacloud_account_group.aws: Read complete after 1s [id=mygroup]
prismacloud_cloud_account_v2.aws: Importing from ID "myid"...
prismacloud_cloud_account_v2.aws: Import prepared!
Prepared prismacloud_cloud_account_v2 for import
prismacloud_cloud_account_v2.aws: Refreshing state... [id=myid]
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
Stack trace from the terraform-provider-prismacloud_v1.5.3.exe plugin:
panic: runtime error: index out of range [1] with length 1
Error: The terraform-provider-prismacloud_v1.5.3.exe plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.`
Steps to reproduce
I experience the same issue on our aws, azure and gcp accounts. I am currently testing with only the aws account defined. Example:
Describe the bug
I am attempting to import our existing cloud accounts into our terraform state to be managed. I have defined the basics of each of our aws account and receive a runtime error when attempting to import:
Steps to reproduce
I experience the same issue on our aws, azure and gcp accounts. I am currently testing with only the aws account defined. Example:
terraform import prismacloud_cloud_account_v2.aws "myid"
Your Environment
terraform v1.7.4 prismacloud provider v1.5.3 Windows 10 22H2