Building With Pulumi

Session Overview

  • Project Organization
  • Setting up Function Calls
  • Connecting Resources
  • Exporting Resources

Project Organization


  • Separate Infrastructure Folder
  • Top Level Deployment Script
  • High level components in Deployment Script
  • Details in Infrastructure Folder

Function Calls

  • Use Modular functions to define high level components (can use classes too)
  • Return key pulumi objects in python dictionary from functions
  • Pulumi exports in function calls

Example

In Cloud9, navigate to the 02-building directory.

Session Overview

  • Project Organization
  • Setting up Function Calls
  • Connecting Resources
  • Exporting Resources

Next Steps:

We need our lambda to be able to parse an input from a REST API endpoint and post the result to an SQS queue for further processing.

  1. Add an SQS queue.

  2. Pass in SQS queue url to Lambda as environmental variable.

  3. Check your work.

  4. Export your SQS queue url.

  5. Add permissions to the lambda to be able to access SQS.

  6. Configure the lambda to be a URL Endpoint.

  7. Integration testing.

Pulumi Party!

Building With Pulumi

  1. Slides

  2. Tools

  3. Close
  • Building With Pulumi
  • Session Overview
  • Project Organization
  • Function Calls
  • Example
  • Session Overview
  • Next Steps:
  • f Fullscreen
  • s Speaker View
  • o Slide Overview
  • e PDF Export Mode
  • ? Keyboard Help