@ts-cloud/core 0.5.15 → 0.5.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -45970,14 +45970,7 @@ function composeServerlessAppTemplate(opts) {
45970
45970
  VisibilityConfig: { SampledRequestsEnabled: true, CloudWatchMetricsEnabled: true, MetricName: `${slug}-${environment}-waf` }
45971
45971
  }
45972
45972
  };
45973
- resources.WebAclAssociation = {
45974
- Type: "AWS::WAFv2::WebACLAssociation",
45975
- DependsOn: ["HttpStage"],
45976
- Properties: {
45977
- ResourceArn: Fn2.sub("arn:aws:apigateway:${AWS::Region}::/apis/${HttpApi}/stages/$default"),
45978
- WebACLArn: Fn2.getAtt("WebAcl", "Arn")
45979
- }
45980
- };
45973
+ outputs.WafAclArn = { Description: "WAF web ACL ARN. Attach to a CloudFront distribution fronting the API to enforce (HTTP API v2 stages do not support direct WAF association).", Value: Fn2.getAtt("WebAcl", "Arn") };
45981
45974
  }
45982
45975
  if (hasVpc && needsDataVpc) {
45983
45976
  if (!app.vpc?.id)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
- "version": "0.5.15",
3
+ "version": "0.5.17",
4
4
  "type": "module",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.5.15"
34
+ "@ts-cloud/aws-types": "0.5.17"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^5.9.3"