After creation of tf files and execution, I am getting expected results. but task not completing with below error message. Can any one help me on this.
No worries!!
Uh oh! Looks like the task was not completed successfully. But it’s Ok. You can try again next time this task is assigned to you.
'main.tf', 'variables.tf', or 'outputs.tf' file does not exist.
Hi @arun1432
Ensure you have created all the files in /home/bob/terraform
directory.
Before hitting the Check button, you need to run terraform plan
again to ensure:
terraform plan
returns No changes. Your infrastructure matches the configuration.
Santosh thank you for the details my task is success.
Got below results.
Outputs:
KKE_ec2_private = “xfusion-priv-ec2”
KKE_subnet_name = “xfusion-priv-subnet”
KKE_vpc_name = “xfusion-priv-vpc”
bob@iac-server ~/terraform via
default ➜ terraform plan
aws_vpc.xfusion-priv-vpc: Refreshing state… [id=vpc-b9c5babeaca57e7e1]
aws_subnet.xfusion-priv-subnet: Refreshing state… [id=subnet-f7df69e763058a9ef]
aws_security_group.xfusion-priv-sg: Refreshing state… [id=sg-f62f3ae327f5b23a3]
aws_instance.xfusion-priv-ec2: Refreshing state… [id=i-71aa2e59558808479]
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Outputs:
KKE_ec2_private = “xfusion-priv-ec2”
KKE_subnet_name = “xfusion-priv-subnet”
KKE_vpc_name = “xfusion-priv-vpc”
bob@iac-server ~/terraform via
default ➜ terraform plan
aws_vpc.xfusion-priv-vpc: Refreshing state… [id=vpc-b9c5babeaca57e7e1]
aws_subnet.xfusion-priv-subnet: Refreshing state… [id=subnet-f7df69e763058a9ef]
aws_security_group.xfusion-priv-sg: Refreshing state… [id=sg-f62f3ae327f5b23a3]
aws_instance.xfusion-priv-ec2: Refreshing state… [id=i-71aa2e59558808479]
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
Hi @arun1432
I’ve just checked it, and it’s working fine on my end. Could you please try again and share your steps with a screenshot if the issue still occurs?
Hi raymond.baoly,
After I followed Santosh given steps my task is sucessfull. No issue at present.
Thank you .
1 Like