Skip to content

Add esc setup aws command for AWS OIDC integration#611

Open
flostadler wants to merge 1 commit intomainfrom
flostadler/aws-oidc-setup
Open

Add esc setup aws command for AWS OIDC integration#611
flostadler wants to merge 1 commit intomainfrom
flostadler/aws-oidc-setup

Conversation

@flostadler
Copy link

This command sets up the necessary AWS resources for OIDC authentication
with Pulumi ESC:

  • Creates an OIDC identity provider for Pulumi Cloud (or adds audience to existing)
  • Creates an IAM role with the correct trust policy
  • Attaches the specified AWS managed policy

Usage:
esc setup aws --role-name PulumiESCRole
esc setup aws --role-name PulumiESCRole --policy ReadOnlyAccess
esc setup aws --role-name PulumiESCRole --org myorg
esc setup aws --role-name PulumiESCRole --environment myorg/myproject/aws-dev

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

@flostadler flostadler self-assigned this Jan 13, 2026
This command sets up the necessary AWS resources for OIDC authentication
with Pulumi ESC:
- Creates an OIDC identity provider for Pulumi Cloud (or adds audience to existing)
- Creates an IAM role with the correct trust policy
- Attaches the specified AWS managed policy

Usage:
  esc setup aws --role-name PulumiESCRole
  esc setup aws --role-name PulumiESCRole --policy ReadOnlyAccess
  esc setup aws --role-name PulumiESCRole --org myorg
  esc setup aws --role-name PulumiESCRole --environment myorg/myproject/aws-dev

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@flostadler flostadler force-pushed the flostadler/aws-oidc-setup branch from a463336 to 6c767e6 Compare January 13, 2026 23:49
Comment on lines +26 to +27
oidcIssuerURL = "https://api.pulumi.com/oidc"
oidcIssuerHost = "api.pulumi.com/oidc"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be hardcoded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant