Skip to content

Build the grok-bot key name with Names.serviceAccountPulumiName - #15

Merged
dubinsky merged 1 commit into
masterfrom
cursor/grok-bot-key-pulumi-name-c8dd
Nov 13, 2026
Merged

dubinsky merged 1 commit into
masterfrom
cursor/grok-bot-key-pulumi-name-c8dd

Conversation

@dubinsky

Copy link
Copy Markdown
Owner

The grok-bot key's Pulumi name and ServiceAccount's account name are the same text. Main now passes Names.serviceAccountPulumiName("grok-bot", infraProjectId), which inlines to serviceAccount:grok-bot@$infraProjectId. The call stays outside any flatMap, so preview still shows the key.

ServiceAccountKey's parameter is accountPulumiName. The key-admin name and the key name stay Names.serviceAccountKeyAdminName and Names.serviceAccountKeyName.

No logical name, resource type, parent, or argument change. No alias.

./gradlew build on Temurin 25.0.5+8: LogicalNamesTest 21 tests, KeyFileTest 5 tests, 0 failures. ./gradlew -p domain-infra/besom compileScala succeeded.

Open in Web Open in Cursor 

…miName.

Main passes Names.serviceAccountPulumiName("grok-bot", infraProjectId) outside
any flatMap. ServiceAccountKey's parameter is accountPulumiName. The key-admin
and key names stay Names.serviceAccountKeyAdminName and Names.serviceAccountKeyName.

Co-authored-by: Leonid Dubinsky <dub@podval.org>
@dubinsky
dubinsky merged commit 6a88f15 into master Nov 13, 2026
2 checks passed
@dubinsky
dubinsky deleted the cursor/grok-bot-key-pulumi-name-c8dd branch November 18, 2026 21:25
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