Sample code to deploy AWS infrastructure with an IaC tool called Pulumi.
Pulumi is the [Open Source Infrastructure as Code] tool. This tool allows you to define, deploy, and manage cloud infrastructure using familiar programming languages.
- Infrastructure as Code (IaC)
- Programming Language Support
- Multi-Cloud Support
- Declarative and Imperative Approaches ...etc
Set default organization if you have.
$ pulumi org set-default xxxx
If you use AWS credential settings...
$ pulumi config set aws:profile <profile name>