kind-motorcycle-43615
09/18/2023, 12:27 PMPulumi.Awsx.Ec2.Vpc
(Pulumi C#), Network ACLs and Route Tables with routes are automatically generated.
(Suppose the VPC has 3 availability zones
, and each availability zone has a public
and a private
subnet.)
I have a couple of questions:
1) How can we add new routes to the route table of the public subnet in availability-zone-1? AND how can we add new rules to the Network ACL of the public subnet in availability-zone-1?
2) Is that possible to access those automatically created resources like Network ACLs, Route Tables and modify them? OR Do we need to go with Pulumi AWS Classic
package?
Your input and guidance are highly valued.
TYIAstocky-restaurant-98004
09/18/2023, 5:52 PMapply
. Here's an example in Python, but you should be able to translate without too much trouble:
https://github.com/pulumi/examples/blob/master/aws-py-hub-and-spoke-network/spoke.py#L147C46-L231
You cannot modify the resources after they are created, so if there are not inputs for whatever you need to change, you'll need to create the resources yourself using the Classic package, but please file an issue in pulumi/pulumi-awsx for the inputs you want!kind-motorcycle-43615
09/19/2023, 5:36 AMstocky-restaurant-98004
09/19/2023, 3:27 PM