Skip to content

Commit fa97b10

Browse files
committed
feat: added additional ssm parameters
1 parent d6f581a commit fa97b10

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Resources:
2+
FrontEndURLDevSSMParameter:
3+
Type: AWS::SSM::Parameter
4+
Properties:
5+
Name: /techtix/frontend-url-dev
6+
Type: String
7+
Value: https://dev.nonprod.techtix.com
8+
FrontEndURLProdSSMParameter:
9+
Type: AWS::SSM::Parameter
10+
Properties:
11+
Name: /techtix/frontend-url-prod
12+
Type: String
13+
Value: https://www.techtix.com

backend/serverless.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,21 @@ resources:
100100
- logs:DescribeLogStreams
101101
- logs:PutLogEvents
102102
Resource: "*"
103+
EventServiceApiEndpointParameter:
104+
Type: AWS::SSM::Parameter
105+
Properties:
106+
Name: /techtix/events-api-url-${self:custom.stage}
107+
Type: String
108+
Value:
109+
Fn::Join:
110+
- ""
111+
- - "https://"
112+
- Ref: ApiGatewayRestApi
113+
- ".execute-api."
114+
- ${self:provider.region}
115+
- ".amazonaws.com/"
116+
- ${self:custom.stage}
117+
103118
Outputs:
104119
ApiGatewayCloudWatchRoleArn:
105120
Value: !GetAtt ApiGatewayCloudWatchRole.Arn

0 commit comments

Comments
 (0)