Difference between revisions of "Terraform localstack provider configuration"

From wikieduonline
Jump to navigation Jump to search
(Created page with " <pre> provider "aws" { access_key = "mock_access_key" region = "us-east-1" s3_force_path_style = true secret_key...")
 
Line 1: Line 1:
  
 +
 +
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
 
<pre>
 
<pre>
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 {
 
   endpoints {
 
     apigateway    = "http://localhost:4566"
 
     apigateway    = "http://localhost:4566"

Revision as of 10:08, 3 September 2023


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 {
    apigateway     = "http://localhost:4566"
    cloudformation = "http://localhost:4566"
    cloudwatch     = "http://localhost:4566"
    dynamodb       = "http://localhost:4566"
    es             = "http://localhost:4566"
    firehose       = "http://localhost:4566"
    iam            = "http://localhost:4566"
    kinesis        = "http://localhost:4566"
    lambda         = "http://localhost:4566"
    route53        = "http://localhost:4566"
    redshift       = "http://localhost:4566"
    s3             = "http://localhost:4566"
    secretsmanager = "http://localhost:4566"
    ses            = "http://localhost:4566"
    sns            = "http://localhost:4566"
    sqs            = "http://localhost:4566"
    ssm            = "http://localhost:4566"
    stepfunctions  = "http://localhost:4566"
    sts            = "http://localhost:4566"
  }
}


See also

Advertising: