Configure AWS so the Pulumi CLI can connect to AWS. If you have previously configured the AWS CLI, aws, Pulumi will respect and use your configuration settings.

If you have multiple AWS profiles set up, specify a different profile using one of the following ways:

  • Set AWS_PROFILEas an environment variable, or
  • After creating your project in the next step, run pulumi config set aws:profile <profilename>. See AWS Configuration for more configuration options.

Next, we’ll create a new project.