Skip to content

Commit

Permalink
Update tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Aug 11, 2024
1 parent 3ed17b1 commit b656608
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ A Pulumi template to:
- Create AWS resources for AWS OIDC (IdP + Role)
- Create a new Pulumi Cloud ESC Environment (optional)

Last update: June 2024
Last update: July 2024

## 📋 Pre-requisites

Expand All @@ -54,7 +54,23 @@ Once copied to your machine, feel free to edit as needed.

## 🎬 How to run

Note that this templates contains a default value which contains a valid AWS OIDC thumbprint as of June 2024. If this thumbprint becomes invalid, obtain a new OIDC thumbprint. For more information, see [Obtain the thumbprint for an OpenID Connect identity provider](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html) in the AWS docs.
This template will pick up the thumbprint from the URL that you set in the stack configuration. By default it will use the OIDC IDP URL for Pulumi Cloud, unless you set a different one.

To set a different URL you can run the following command:

```bash
pulumi config set oidcIdpUrl {url}
```

(where `{url}` is the URL for the OIDC IDP)

You must also set the name of the environment that you would like to use:

```bash
pulumi config set escEnv {environment-name}
```

(Note that `{environment-name}` must be in the format `{orgname}/environmentname}` where `orgname` can be your individual account name or the the organization that you are adding the environment to)

To deploy your infrastructure, run:

Expand Down

0 comments on commit b656608

Please sign in to comment.