Hi All,
I completed the task using Terraform, but the validation still fails with the error:
“Resources have not been created using ‘Terraform’”
Here are the steps I followed:
- Created
main.tf
with the required configuration.
- Ran
terraform init
and terraform apply -auto-approve
.
- Terraform output confirmed the resource was created:
4.Verified with terraform state list
– resource is present.
Screenshot attached for reference. Anyone can help on this?
Hi @irusha95
Can you please share the name or URL of the lab?
Hi @Santosh_KodeKloud
Thank you for your quick response. Please refer to the information provided below.
Module: Level 1 Terraform
Task: Create EBS Volume Using Terraform
/Irusha
Blockquote
The only error I see here is that you are using ‘Region’ to define the availability_zone
; the rest is all good.
Yeah, after providing the availability zone works correctly.
Thanks for the support
/Irusha
@mmumshad im having the same issue