lb2
This commit is contained in:
parent
85e014c6b5
commit
0c974b3f44
2
lb2.py
2
lb2.py
@ -97,7 +97,7 @@ def create_route_table(ec2_client, vpc_id, subnet_id, igw_id):
|
||||
# Create route to Internet Gateway
|
||||
ec2_client.create_route(
|
||||
RouteTableId=route_table_id,
|
||||
DestinationCidrBlock='0.0.0.0/0', # Ruch wychodzący do Internetu
|
||||
DestinationCidrBlock='0.0.0.0/0',
|
||||
GatewayId=igw_id
|
||||
)
|
||||
print("Added route to Internet Gateway in Route Table.")
|
||||
|
Loading…
Reference in New Issue
Block a user