sparse-intern-71089
10/06/2020, 3:59 PMwitty-candle-66007
10/06/2020, 4:15 PMconst 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.loud-egg-62954
10/06/2020, 4:28 PMloud-egg-62954
10/06/2020, 6:01 PMall
isn't accepted as a protocol, so you need to repeat this rule for at least tcp and udp