'terratest - InvalidInstanceID.NotFound
Im running the exact code from the following path: https://github.com/gruntwork-io/terratest/blob/master/test/terraform_aws_example_test.go
However, im running into a problem with the following error post apply:
TestTerraformAWSPublicIp 2022-04-21T15:45:31+05:30 logger.go:66: Outputs: TestTerraformAWSPublicIp 2022-04-21T15:45:31+05:30 logger.go:66: TestTerraformAWSPublicIp 2022-04-21T15:45:31+05:30 logger.go:66: instance_id = "i-00b2e1ecef37b5674" TestTerraformAWSPublicIp 2022-04-21T15:45:31+05:30 retry.go:91: terraform [output -no-color -json instance_id] TestTerraformAWSPublicIp 2022-04-21T15:45:31+05:30 logger.go:66: Running command terraform with args [output -no-color -json instance_id] TestTerraformAWSPublicIp 2022-04-21T15:45:32+05:30 logger.go:66: "i-00b2e1ecef37b5674" ec2.go:284: Error Trace: ec2.go:284 terraform_aws_example_test.go:46 Error: Received unexpected error: InvalidInstanceID.NotFound: The instance ID 'i-00b2e1ecef37b5674' does not exist status code: 400, request id: 1692c5cc-aa41-49bc-8478-fb1e6197aedb
could someone help?
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
