diff --git a/spire/templates/apps-200A.yml b/spire/templates/apps-200A.yml index 29305b2f..d4e43692 100644 --- a/spire/templates/apps-200A.yml +++ b/spire/templates/apps-200A.yml @@ -286,6 +286,8 @@ Resources: EchoServiceToken: !Ref EchoServiceToken SlackMessageRelaySnsTopicArn: !Ref SlackMessageRelaySnsTopicArn Aarch64AsgCapacityProviderName: !Ref Aarch64AsgCapacityProviderName + ApplePodcastsConnectApiUrl: !Sub /prx/${EnvironmentTypeAbbreviation}/Spire/Dovetail-Feeder/apple-podcasts-connect-api-url + ApplePodcastsConnectApiAudName: !Sub /prx/${EnvironmentTypeAbbreviation}/Spire/Dovetail-Feeder/apple-podcasts-connect-api-aud-name Tags: - { Key: prx:meta:tagging-version, Value: "2021-04-07" } - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName } diff --git a/spire/templates/apps/feeder.yml b/spire/templates/apps/feeder.yml index c6751907..62456456 100644 --- a/spire/templates/apps/feeder.yml +++ b/spire/templates/apps/feeder.yml @@ -73,6 +73,8 @@ Parameters: DovetailAppleApiBridgeEndpointUrl: { Type: String } SlackMessageRelaySnsTopicArn: { Type: String } Aarch64AsgCapacityProviderName: { Type: String } + ApplePodcastsConnectApiUrl: { Type: AWS::SSM::Parameter::Value } + ApplePodcastsConnectApiAudName: { Type: AWS::SSM::Parameter::Value } Conditions: IsProduction: !Equals [!Ref EnvironmentType, Production] @@ -905,6 +907,10 @@ Resources: Value: !Ref S3SigningAccessKeyId - Name: UPLOAD_SIGNING_SERVICE_URL Value: !Ref S3SigningEndpointUrl + - Name: APPLE_PODCASTS_CONNECT_API_URL + Value: !Ref ApplePodcastsConnectApiUrl + - Name: APPLE_PODCASTS_CONNECT_API_AUD_NAME + Value: !Ref ApplePodcastsConnectApiAudName Essential: true Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag} LinuxParameters: @@ -1091,9 +1097,13 @@ Resources: Value: !Ref FeederUploadsBucket - Name: WORKER_COUNT Value: !If [IsProduction, 8, 5] + - Name: APPLE_PODCASTS_CONNECT_API_URL + Value: !Ref ApplePodcastsConnectApiUrl + - Name: APPLE_PODCASTS_CONNECT_API_AUD_NAME + Value: !Ref ApplePodcastsConnectApiAudName Essential: true HealthCheck: - Command: [ "CMD-SHELL", "pgrep -f shoryuken || exit 1" ] + Command: ["CMD-SHELL", "pgrep -f shoryuken || exit 1"] Interval: 30 Retries: 3 StartPeriod: 15