Skip to content

Commit

Permalink
Add STACK_NAME to pet-service
Browse files Browse the repository at this point in the history
  • Loading branch information
okigan committed Nov 30, 2023
1 parent e06604d commit f7f623e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Resources:
Action:
- cloudformation:DescribeStacks
Resource: "*"
Environment:
Variables:
STACK_NAME: !Ref AWS::StackName
Events:
MyApi:
Type: Api
Expand Down Expand Up @@ -621,6 +624,9 @@ Resources:
NetworkMode: "awsvpc"
RequiresCompatibilities:
- "FARGATE"
Environment:
- Name: "STACK_NAME"
Value: !Ref AWS::StackName
ExecutionRoleArn: !GetAtt ECSExecutionRole.Arn
TaskRoleArn: !GetAtt ECSTaskRole.Arn
ContainerDefinitions:
Expand Down

0 comments on commit f7f623e

Please sign in to comment.