Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Dec 21:18
· 139 commits to main since this release

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:

  1. 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,
   });
 }
  1. 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.