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
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using MassTransit; | |
using MassTransit.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Extensions.Options; | |
using Tcetra.Apm.Common; | |
using Tcetra.Apm.Common.Trace; |
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
configurator.UsingAmazonSqs(delegate (IBusRegistrationContext context, IAmazonSqsBusFactoryConfigurator sqsConfigurator) | |
{ | |
//... | |
sqsConfigurator.UseServiceScope(context); | |
sqsConfigurator.UseTcetraApm(); //Adds the various filters | |
new ExceptionMapperFilterConfigurationObserver(sqsConfigurator); | |
sqsConfigurator.UseDelayedMessageScheduler(); | |
//... | |
sqsConfigurator.ConfigureEndpoints(context); | |
}); |
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
│ Error: failed to create ruleset "http_request_firewall_custom" | |
│ | |
│ with cloudflare_ruleset.ip_restriction, | |
│ on cloudflare.tf line 36, in resource "cloudflare_ruleset" "ip_restriction": | |
│ 36: resource "cloudflare_ruleset" "ip_restriction" { | |
│ | |
│ A similar configuration with rules already exists and overwriting will have unintended consequences. If you are | |
│ migrating from the Dashboard, you will need to first import the existing rules using cf-terraforming. You can find | |
│ details about how to do this at | |
│ https://developers.cloudflare.com/terraform/additional-configurations/ddos-managed-rulesets/#optional-delete-existing-rulesets-to-start-from-scratch |