Skip to content

🛠 Terraform on AWS (Infrastructure as a Code) - API Gateway and Lambda function configuration via Terraform scripts. Developing custom HCL modules, more readable and clear architecture

Notifications You must be signed in to change notification settings

alikadir/aws-apigateway-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install terraform package like npm init

~/terraform init

to view terraform execution steps with environment parameter file

~/terraform plan --var-file=poc.tfvars

for applying changes to the cloud

~/terraform apply --var-file=poc.tfvars

terraform script notes

Terraform considers file extensions (.tf), not file names when running its "apply" and "plan" commands so, the extension of the variable file of the stage is different (.tfvar)

Terraform executes contents of .tf files without any hierarchy. so The commands (resource, module, data, provider, variable, output, etc.) in the .tf files in the same folder determine the execution hierarchy

lambda execution error

aws/serverless-application-model#59

!worked Authentication function when test on SampleApi at another region

Authorizer function error

https://forums.aws.amazon.com/thread.jspa?threadID=289351 should be ttl = 0 CloudWatch log == The client is not authorized to perform this operation.

stage depends_on all module

that is big problem!! (I've fixed with timer delay)

About

🛠 Terraform on AWS (Infrastructure as a Code) - API Gateway and Lambda function configuration via Terraform scripts. Developing custom HCL modules, more readable and clear architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published