This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
Releases: awslabs/aws-proton-plugins-for-backstage
Releases · awslabs/aws-proton-plugins-for-backstage
v0.2.2
v0.2.1
v0.2.0
0.2.0 (2022-12-20)
Features
- Support using Proton across multiple AWS accounts in one Backstage app (8c8778a)
BREAKING CHANGES
You must make two changes to your Backstage app source code when upgrading your Backstage app to use this version of the Proton plugins:
- Pass configuration to the Proton backend plugin router:
diff --git a/packages/backend/src/plugins/awsProton.ts b/packages/backend/src/plugins/awsProton.ts
index 68968b9..37de05a 100644
--- a/packages/backend/src/plugins/awsProton.ts
+++ b/packages/backend/src/plugins/awsProton.ts
@@ -4,5 +4,6 @@ import { PluginEnvironment } from '../types';
export default async function createPlugin(env: PluginEnvironment) {
return await createRouter({
logger: env.logger,
+ config: env.config,
});
}
- Pass configuration to the Proton scaffolder action:
diff --git a/packages/backend/src/plugins/scaffolder.ts b/packages/backend/src/plugins/scaffolder.ts
index d566691..fdb0f42 100644
--- a/packages/backend/src/plugins/scaffolder.ts
+++ b/packages/backend/src/plugins/scaffolder.ts
@@ -22,7 +22,7 @@ export default async function createPlugin(
config: env.config,
});
- const actions = [...builtInActions, createAwsProtonServiceAction()];
+ const actions = [...builtInActions, createAwsProtonServiceAction({ config: env.config })];
return await createRouter({
logger: env.logger,
Backstage Version
This release was built on Backstage version 1.9.0.