DEV Community

ninefyi
ninefyi

Posted on

Pulumi Challenge 03

I did the Pulumi Challenge 03, and I published my code on this.

What did I learn from Pulumi Challenge 03?

  • It is easy to use Pulumi deployment because it will link to GitHub. When you push code to GitHub, Pulumi deployment will automatically build your code.
  • I learnt how to use AWS CLI to get a session token from an MFA account using the below command.

Display MFA devices

aws iam list-mfa-devices
Enter fullscreen mode Exit fullscreen mode

Create a temporary session token

ws sts get-session-token --serial-number [SerialNumber] --token-code [Token from MFA device] --duration-seconds 86400
Enter fullscreen mode Exit fullscreen mode

After I push the code to GitHub, the Pulumi deployment will run immediately.

Pulumi deployment

Python Lambda

The pulumi is the one tool that I should learn :).

Top comments (0)