Stack README Useful for additional level of documentation.
Pulumi.README.md
to 02-building directory.# Lambda Parsing Project
More information about your project and resources...
## Key components:
Lambda Function: ${outputs.pw-lambda-user-lambda}
ECR: ${outputs.ecr}
launch_stack
function in launch_stack.py
:Information about resources that is exported in a stack is available programmatically via the Pulumi CLI and Pulumi SDKs.
Pulumi CLI
Pulumi Python SDK
On Cloud9, navigate to the GitLab repo and the 03-cross-stack
directory.
Run the environment setup, activate the environment, and run the query_stack.py
file.
What happens?
Outputs represent values that are not initially known but will become available once the infrastructure resource has completed provisioning.
Critically important for custom policies and anything JSON.
Let’s set up an s3 bucket for event-driven notifications.
See
04-outputs
directory.
Convert Terraform, OpenTofu
Leverage CloudFormation
Import existing resources
CLI
Run cd ~
Make a new directory mkdir pulumi-import
and move to it cd pulumi-import
.
Run pulumi new
.
Run pulumi import aws:ec2/instance:Instance <name> <id>
What did you get?
Using Control Structures and Multiple Accounts in a Single Stack
Find two friends. For each friend, create an sns topic they can subscribe to. Then create a lambda with a function url that posts a message to this SNS topic depending on which name it receives. (You can work together on this… and please leverage AI tools.)
It’s a Pulumi Party!
At this point:
Keep Learning!
Pulumi Party!