Skip to content

Commit

Permalink
feat: ✨ output of service url from stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeeltilva committed Dec 5, 2023
1 parent 30e0dde commit ebe44c4
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,26 @@ const compileCluster = (config, images, service, serverless) => ({
},
},
},
Outputs: {},
Outputs: {
[service.name + 'AppRunnerServiceUrl']: {
Value: {
'Fn::GetAtt': [[service.name + 'AppRunnerService'], 'ServiceUrl'],
},
Export: {
Name: {
'Fn::Join': [
'-',
[
{
Ref: 'AWS::StackName',
},
[service.name + 'AppRunnerServiceUrl'],
],
],
},
},
},
},
});

const ECRAccessRole = (config) => ({
Expand Down

0 comments on commit ebe44c4

Please sign in to comment.