First an introduction is found here:
https://learn.hashicorp.com/terraform/getting-started/install.html
and tools can be downloaded here.
Two examples are attempted:
https://www.youtube.com/watch?v=luQ8Fds-EQU
https://www.youtube.com/watch?v=-NLMi59KuH0
Question is: Why Terraform existed? To provide a cloud-independent means of programming and accessing cloud resources?
To setup Terraform, you first will need AWS keys:
and access key is some unique to AWS. So this is NOT cloud-independent.
The above is a terraform setup file (“main.tf“). Quite complicated, and definitely not vendor-independent.
Now debugging goes: “terraform init” and then “terraform apply” gives:
So Terraform must recognize and communicate with AWS CLI.
Another error:
And then looking at this:
https://discuss.hashicorp.com/t/data-aws-ami-without-specifying-owners/6256
Ok, I am giving up on debugging Terraform.
Exploring Terraform further:
So we can see that in Terraform – just focusing on AWS alone (see “AWS Provider”) there are so many configurations in Terraform that is customized for AWS and migrating to any other provider will not be so easy.
You must be logged in to post a comment.