Skip to content

feat: grafana token creation#197

Open
bornast wants to merge 1 commit intomasterfrom
feat/grafana-service-account
Open

feat: grafana token creation#197
bornast wants to merge 1 commit intomasterfrom
feat/grafana-service-account

Conversation

@bornast
Copy link
Copy Markdown
Member

@bornast bornast commented Apr 9, 2026

This PR introduces access policy token creation with all the required scopes that are currently needed and also removes the GRAFANA_AUTH as a required env as it is now being created programmatically using service account resource. It also introduces a builder addScope method so additional scopes can be provided.

Required scope for the cloud access policy token is:
accesspolicies:read, accesspolicies:write, accesspolicies:delete, stacks:read, stack-service-accounts:write

@bornast bornast requested review from droguljic and mandryllo April 9, 2026 14:06
@bornast bornast changed the title feat: grafana service account feat: grafana token creation Apr 9, 2026
export type Args = {
awsAccountId: string;
dataSourceName?: string;
stack: pulumi.Input<grafana.cloud.GetStackResult>;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why inside Args and then omitted inside builder when using addAmp and others connections?
Can it be just under the same namespace but outside this type?

@droguljic droguljic added this to the v2 milestone Apr 10, 2026
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.

3 participants