main.tf
Terraform providers
provider "random" { }
provider "aws" { profile = "default" }
provider "aws" { version = "~> 3.38.0" region = "us-west-2" profile = "your_profile_name" }
provider "mysql" { endpoint = "my-database.example.com:3306" username = "app-user" password = "app-password" }
Related commands
See also
- Terraform examples,
main.tf
, Aws instance example: main.tf,terraform apply
- Terraform configuration files, Terraform state files:
.tf
,.tfvars
,main.tf, outputs.tf
,variables.tf
,.terraform.d/
,terraform init
,providers.tf
,.terraform/
,terraform.tfstate
,.terraform.lock.hcl
,terraform.tfstate.d, override.tf, versions.tf
terraform apply
[-auto-approve
|-refresh-only, -destroy | --help ]
, Terraform examples,Still creating...
, Terraform apply examples with errors
Advertising: