Skip to content

Commit

Permalink
updating references to serverless domain name for terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-hunter committed Oct 12, 2023
1 parent 0f882f0 commit 5313e81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/rename-template.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ const performRename = async () => {
var oldPluginNamdRegex = RegExp(`${pluginDir}`);
shell.sed('-i', oldPluginNamdRegex, fullPluginName, `./.github/*/flex_deploy.yaml`);
shell.sed('-i', oldPluginNamdRegex, fullPluginName, `./.github/*/checks.yaml`);

// update references to the domain name in the infra-as-code package
shell.sed('-i', /custom-flex-extensions-serverless/g, `serverless-${packageSuffix}`, `./infra-as-code/state/import_internal_state.sh`);
shell.sed('-i', /custom-flex-extensions-serverless/g, `serverless-${packageSuffix}`, `./infra-as-code/terraform/environments/default/variables.tf`);
shell.sed('-i', /custom-flex-extensions-serverless/g, `serverless-${packageSuffix}`, `./infra-as-code/terraform/modules/studio/variables.tf`);



console.log(`Re-evaluating npm package-lock for ${fullPluginName}...`);
Expand Down

0 comments on commit 5313e81

Please sign in to comment.