From d0e05cb94e39ad87433ec4cdffe2ef4b02b898b3 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Thu, 15 Aug 2024 15:16:08 +0000 Subject: [PATCH] Update tutorials --- .../aws-ts-oidc-provider-pulumi-cloud.md | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/themes/default/content/registry/packages/aws/how-to-guides/aws-ts-oidc-provider-pulumi-cloud.md b/themes/default/content/registry/packages/aws/how-to-guides/aws-ts-oidc-provider-pulumi-cloud.md index e0a49bfe3a..b286416aca 100644 --- a/themes/default/content/registry/packages/aws/how-to-guides/aws-ts-oidc-provider-pulumi-cloud.md +++ b/themes/default/content/registry/packages/aws/how-to-guides/aws-ts-oidc-provider-pulumi-cloud.md @@ -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 @@ -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: