Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11446

Getting the following on Windows 11 - Error while installing hashicorp/aws v5.25.0: local error: tls: bad record MAC

$
0
0

I am new to terraform and I had installed terraform on windows 11.
I had created a .tf file with the following contents
provider “aws” {
region = “us-east-2”
access_key = “valid_key”
secret_key = “valid_secret”
}

resource “aws_instance” “example” {
ami = ami-089c26792dcb1fbd4
instance_type = “t2.micro”
subnet_id = aws_subnet.example.id

cpu_options {
core_count = 2
threads_per_core = 2
}

tags = {
Name = “tf-example”
}
}

When I fire the command - teraform>terraform init
It is giving the following error

Initializing the backend…

Initializing provider plugins…

  • Finding latest version of hashicorp/aws…
  • Installing hashicorp/aws v5.25.0…

    │ Error: Failed to install provider

    │ Error while installing hashicorp/aws v5.25.0: local error: tls: bad record MAC

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>