Skip to main content
versions.tf652 B
View on GitHub
terraform {
required_version = ">= 1.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
}

# Dummy AWS provider config — infracost prices resources from its own
# database, no AWS API calls or real credentials needed. These flags make
# `tofu plan` succeed offline so the after.terraform.plan hook fires.
provider "aws" {
region = "us-east-1"
access_key = "fake"
secret_key = "fake"
skip_credentials_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
s3_use_path_style = true
}