We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce03f19 commit 4c07535Copy full SHA for 4c07535
src/components/ConnectionConfig.tsx
@@ -49,6 +49,11 @@ export const ConnectionConfig: FC<ConnectionConfigProps> = (props: ConnectionCon
49
.filter(isAwsAuthType),
50
[tempCredsFeatureEnabled]
51
);
52
+ if (tempCredsFeatureEnabled && options.jsonData.authType === AwsAuthType.GrafanaAssumeRole) {
53
+ if (config.namespace.startsWith('stack-')) {
54
+ props.externalId = config.namespace.substring(config.namespace.indexOf('-') + 1);
55
+ }
56
57
const currentProvider = awsAuthProviderOptions.find((p) => p.value === options.jsonData.authType);
58
59
useEffect(() => {
0 commit comments