terraform { required_providers { aws = { source = "hashicorp/aws" # version = "5.22.0" # 5.22.0 is the last version that works } } } provider "aws" { region = "us-east-1" s3_use_path_style = true skip_credentials_validation = true skip_metadata_api_check = true skip_requesting_account_id = true endpoints { ec2 = "http://localhost:5000" elbv2 = "http://localhost:5000" } access_key = "my-access-key" secret_key = "my-secret-key" }