Junior — Middle
What resource provider did you use when working with Terraform?
sobes.tech AI
Answer from AI
When working with Terraform, I often used the AWS resource provider to manage infrastructure in Amazon Cloud. I also used providers for Azure and Google Cloud Platform depending on the project. For example, for AWS, the provider is aws, which allows creating and managing resources such as EC2, S3, VPC, and others.
Example of connecting the AWS provider in Terraform:
provider "aws" {
region = "us-west-2"
}
resource "aws_instance" "example" {
ami = "ami-0c55b159cbfafe1f0"
instance_type = "t2.micro"
}
In addition to cloud providers, I also used providers for working with Kubernetes, Helm, as well as local providers for managing files and templates.