Skip to content

Instantly share code, notes, and snippets.

@karl-cardenas-coding
Created August 17, 2020 23:32
Show Gist options
  • Save karl-cardenas-coding/ba6a8bd9bc6243ce612e35db3a7968fe to your computer and use it in GitHub Desktop.
Save karl-cardenas-coding/ba6a8bd9bc6243ce612e35db3a7968fe to your computer and use it in GitHub Desktop.
provider example
provider "aws" {
access_key = "mock_access_key"
region = "us-east-1"
s3_force_path_style = true
secret_key = "mock_secret_key"
skip_credentials_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
endpoints {
dynamodb = "http://localhost:4566"
}
}
# When using the DynomoDB local docker image
# provider "aws" {
# access_key = "mock_access_key"
# region = "us-east-1"
# secret_key = "mock_secret_key"
# skip_credentials_validation = true
# skip_metadata_api_check = true
# skip_requesting_account_id = true
# endpoints {
# dynamodb = "http://localhost:8000"
# }
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment