This plugin allows setting a static outgoing IP in an architect project
npm i @ticketplushq/arc-plugin-static-ip
Add this line to your Architect project manifest:
# app.arc
@plugins
ticketplushq/arc-plugin-static-ip
Then follow the directions below for @static-ip
.
The @static-ip
pragma allows you to configure the network configuration.
- The
ip-addresses
entry allow you to define number of ips- The default value is
1
- The default value is
- The
private-subnets
entry allow you to define each private subnet cidr - The
public-subnets
entry allow you to define each public subnet cidr - The
vpc-cidr
entry allow to define vpc cidr- The default value is
10.0.0.0/16
- The default value is
- The
destination-cidr
entry allow to define destination cidr for public route table- The default value is
0.0.0.0/0
- The default value is
# app.arc
@static-ip
ip-addresses 2
private-subnets
10.0.1.0/24
10.0.2.0/24
public-subnets
10.0.3.0/24
10.0.4.0/24
# app.arc
@static-ip
ip-addresses 0
private-subnets
10.0.1.0/24
10.0.2.0/24
Feel free to dive in! Open an issue or submit PRs.
Apache License 2.0 © 2023 Ticketplus