Difference between revisions of "Terraform localstack provider configuration"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
   [[skip_metadata_api_check]]    = true
 
   [[skip_metadata_api_check]]    = true
 
   [[skip_requesting_account_id]]  = true
 
   [[skip_requesting_account_id]]  = true
<pre>
+
  endpoints {
+
  endpoints {
 
     apigateway    = "http://localhost:4566"
 
     apigateway    = "http://localhost:4566"
 
     cloudformation = "http://localhost:4566"
 
     cloudformation = "http://localhost:4566"
Line 31: Line 31:
 
     sts            = "http://localhost:4566"
 
     sts            = "http://localhost:4566"
 
   }
 
   }
}
+
}
</pre>
 
  
  

Latest 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[edit]

Advertising: