Skip to content

Commit

Permalink
DO-1530: update identifiers to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
gowrizrh committed Sep 27, 2023
1 parent 899cac2 commit ae7f0d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/basic-auth/lib/basic-auth-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class BasicAuthFunction extends Construct {
public getFunctionVersion(): IVersion {
return Version.fromVersionArn(
this,
"basic-auth-function-version",
"basic-auth-fn-version",
this.edgeFunction.currentVersion.edgeArn
);
}
Expand Down
4 changes: 2 additions & 2 deletions packages/static-hosting/lib/path-remap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class PathRemapFunction extends Construct {

this.edgeFunction = new cf.experimental.EdgeFunction(
this,
`${id}-edge-function`,
`${id}-remap-fn`,
{
code: Code.fromAsset(join(__dirname, "handlers"), {
assetHashType: AssetHashType.OUTPUT,
Expand All @@ -47,7 +47,7 @@ export class PathRemapFunction extends Construct {
public getFunctionVersion(): IVersion {
return Version.fromVersionArn(
this,
"remap-function-version",
"remap-fn-version",
this.edgeFunction.currentVersion.edgeArn
);
}
Expand Down

0 comments on commit ae7f0d6

Please sign in to comment.