Skip to content

hill-daniel/alexa-rss-flashbriefing-infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS infrastructure

Uses Terraform to create AWS infrastructure for an Alexa Flash Briefing Skill. Code for the Lambda function can be found at GitHub. Take a look at the blog post (sorry german only): RSS Feed mit Alexa Flash Briefing ausliefern.

Will create the following:

  • IAM role and policies for the execution of the lambda function and the API Gateway
  • The lambda function
  • API Gateway

Usage

  • Adapt backend-config (see first command under usage) to your s3 key and bucket to store terraform state.
  • Provide credentials file in your ~/.aws folder and supply the profile name (default is default...) in variables.tf.
  • Change dev.tfvars file according to your needs.
  • Use in command line in terraform folder:

Usage (e.g. for dev)

terraform init -backend-config "key=states/dev/terraform.tfstate" -backend-config "bucket=cc-dh-terraform" -reconfigure
terraform plan -var-file="dev.tfvars"
terraform apply -var-file="dev.tfvars"

Destroy

terraform init
terraform destroy -var-file="dev.tfvars"

About

AWS infrastructure for a serverless Alexa Flash Briefing Skill

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages