moto/other_langs/terraform/cloudfront/providers.tf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
540 B
Terraform
Raw Normal View History

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
# version = "5.18.1" # with this line uncommented, the destroy 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 {
s3 = "http://localhost:5000"
cloudfront = "http://localhost:5000"
}
access_key = "my-access-key"
secret_key = "my-secret-key"
}