main.tf
:
terraform {
required_providers {
aws = {}
}
required_version = "~> 0.12.29"
}
Folder Structure:
.
├── main.tf
└── terraform.d
└── plugins
└── darwin_amd64
└── terraform-provider-aws_v2.57.0_x4
3 directories, 2 files
Terraform Init:
$ terraform init
* provider.aws: version = "~> 2.57"
main.tf
:
terraform {
required_providers {
aws = {}
}
required_version = "~> 0.13.5"
}
Folder Structure:
.
├── .terraform
│ └── plugins
│ └── registry.terraform.io
│ └── hashicorp
│ └── aws
│ └── 2.57.0
│ └── darwin_amd64
│ └── terraform-provider-aws_v2.57.0_x4
└── main.tf
7 directories, 2 files
Terraform Init:
$ terraform init
- Using previously-installed hashicorp/aws v2.57.0
main.tf
:
terraform {
required_providers {
aws = {}
}
required_version = "~> 0.14.0"
}
Folder Structure:
.
├── main.tf
└── terraform.d
└── plugins
└── registry.terraform.io
└── hashicorp
└── aws
└── 2.57.0
└── darwin_amd64
└── terraform-provider-aws_v2.57.0_x4
Terraform Init:
$ terraform init
- Finding latest version of hashicorp/aws...
- Installing hashicorp/aws v2.57.0...
- Installed hashicorp/aws v2.57.0 (unauthenticated)