square-forest-40660
08/13/2024, 9:36 AMaws:wafv2:WebAcl
, every update I make afterwards continues to update the resource even though there are no changes being made to the ACL itself. Are you able to confirm whether this might be an Implementation thing on my side or if it's something wrong with the package itself?
In the diff, it seems as though my second and third rule are being alternated in order of creation causing the update...modern-zebra-45309
08/13/2024, 12:55 PMsquare-forest-40660
08/13/2024, 1:40 PMconst wafAcl = new aws.wafv2.WebAcl(generateName('waf-web-acl'), {
scope: 'REGIONAL',
defaultAction: {allow: {}},
rules: [
{
name: ruleConfigurations.defaultRateLimit.name,
priority: 1,
action: {block: {}},
statement: {
rateBasedStatement: {
limit: ruleConfigurations.defaultRateLimit.limit,
aggregateKeyType: 'IP',
},
},
visibilityConfig: {
cloudwatchMetricsEnabled: true,
metricName: 'DefaultRateLimit',
sampledRequestsEnabled: true,
},
},
{
name: ruleConfigurations.<REDACTED>.name,
priority: 2,
action: {block: {}},
statement: {
rateBasedStatement: {
limit: ruleConfigurations.<REDACTED>.limit,
aggregateKeyType: 'IP',
scopeDownStatement: {
byteMatchStatement: {
searchString: '/api/webhooks/',
fieldToMatch: {uriPath: {}},
textTransformations: [{priority: 0, type: 'NONE'}],
positionalConstraint: 'CONTAINS',
},
},
},
},
visibilityConfig: {
cloudwatchMetricsEnabled: true,
metricName: ruleConfigurations.<REDACTED>.name,
sampledRequestsEnabled: true,
},
}
],
visibilityConfig: {
cloudwatchMetricsEnabled: true,
metricName: 'webAcl',
sampledRequestsEnabled: true,
},
});
little-cartoon-10569
08/13/2024, 9:29 PMsquare-forest-40660
08/20/2024, 11:02 AM"@pulumi/aws": "^6.49.0",
Which resolved the issue 🙂little-cartoon-10569
08/20/2024, 7:45 PMlittle-cartoon-10569
08/20/2024, 7:50 PMlittle-cartoon-10569
08/20/2024, 7:52 PMlittle-cartoon-10569
08/20/2024, 7:54 PM