Created
September 4, 2022 02:58
-
-
Save bbachi/73af72911f05ee7fd367cd844e8b788b to your computer and use it in GitHub Desktop.
ECR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WebApp: | |
| Type: AWS::AppRunner::Service | |
| Properties: | |
| ServiceName: !Sub WebApp-${Environment} | |
| SourceConfiguration: | |
| AuthenticationConfiguration: !If | |
| - NeedsAccessRole | |
| - AccessRoleArn: !GetAtt AccessRole.Arn | |
| - !Ref AWS::NoValue | |
| AutoDeploymentsEnabled: true | |
| ImageRepository: | |
| ImageIdentifier: !Ref ContainerImage | |
| ImageRepositoryType: !Ref ImageRepositoryType | |
| ImageConfiguration: | |
| Port: !Ref WebAppPort | |
| RuntimeEnvironmentVariables: | |
| - Name: API_WORKS_MESSAGE | |
| Value: !Ref WelcomeMessage | |
| InstanceConfiguration: | |
| Cpu: 1 vCPU | |
| Memory: 2 GB | |
| Tags: | |
| - Key: environment | |
| Value: !Ref Environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment