You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a286a07
Browse filesBrowse the repository at this point in the historyBrowse files
A Cloudflare Worker queries Aurora PostgreSQL in private AWS subnets through Hyperdrive. Nothing in the VPC accepts inbound traffic: `cloudflared` runs on ECS Fargate and dials out to Cloudflare.
`Hyperdrive instance ${connection.LogicalId} has an origin that requires Cloudflare Access. This is not supported in development mode. `+
84
99
"Select a different origin or set the `dev` property to an origin that does not require Cloudflare Access.",
85
-
);
86
-
}
87
-
return{
88
-
scheme: origin.scheme,
89
-
host: origin.host,
90
-
port: origin.port??defaultPort(origin.scheme),
91
-
user: origin.user,
92
-
database: origin.database,
93
-
password: origin.password,
94
-
sslmode: mtls?.sslmode??"require",
95
-
};
96
-
},
97
-
);
100
+
}),
101
+
);
102
+
}
103
+
if("serviceId"inorigin){
104
+
returnEffect.die(
105
+
newHyperdriveDevOriginUnsupported({
106
+
logicalId: connection.LogicalId,
107
+
origin: "vpc",
108
+
message:
109
+
`Hyperdrive instance ${connection.LogicalId} has an origin that is reached through a Workers VPC Service. This is not supported in development mode. `+
110
+
"Set the `dev` property to an origin reachable from your machine.",
0 commit comments