This message was deleted.
# general
s
This message was deleted.
w
I think something like:
Copy code
const computeFirewall = new gcp.compute.Firewall("firewall", {
    network: computeNetwork.selfLink,
    allows: [{
        protocol: "all",
        ports: [ "1-65535" ],
    }],
});
will work. This is a modified version of the rule defined in this example: https://github.com/pulumi/examples/tree/master/gcp-js-webserver based on https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gcp/types/input/#FirewallAllow which shows the options for the allow rule.
👍 1
l
Thanks!
Just a note:
all
isn't accepted as a protocol, so you need to repeat this rule for at least tcp and udp