diff --git a/internal/command/ips/allocate.go b/internal/command/ips/allocate.go index b7089a6a01..d50ba047f3 100644 --- a/internal/command/ips/allocate.go +++ b/internal/command/ips/allocate.go @@ -92,8 +92,8 @@ func newAllocatev6() *cobra.Command { func newAllocateEgress() *cobra.Command { const ( - long = `(Beta) Allocates a pair of egress IP addresses for an app` - short = `(Beta) Allocate app-scoped egress IPs` + long = `Allocates a pair of egress IP addresses for an app` + short = `Allocate app-scoped egress IPs` ) cmd := command.New("allocate-egress", short, long, runAllocateEgressIPAddresses, diff --git a/internal/command/machine/egress_ip.go b/internal/command/machine/egress_ip.go index 94697c2514..a5043d83c4 100644 --- a/internal/command/machine/egress_ip.go +++ b/internal/command/machine/egress_ip.go @@ -16,7 +16,7 @@ import ( func newEgressIp() *cobra.Command { const ( - long = `Manage static egress (outgoing) IP addresses for machines` + long = `(Deprecated) Manage static egress (outgoing) IP addresses for machines` short = `Manage static egress IPs` usage = "egress-ip " ) @@ -36,7 +36,7 @@ func newEgressIp() *cobra.Command { func newAllocateEgressIp() *cobra.Command { const ( - long = `Allocate a pair of static egress IPv4 and IPv6 for a machine` + long = `(Deprecated) Allocate a pair of static egress IPv4 and IPv6 for a machine` short = `Allocate static egress IPs` usage = "allocate " ) @@ -111,7 +111,8 @@ func runAllocateEgressIP(ctx context.Context) (err error) { ) if !flag.GetYes(ctx) { - msg := `Looks like you're allocating a static egress (outgoing) IP. This is an advanced feature, and is not needed by most apps. + msg := `You're allocating a machine-scoped static egress (outgoing) IP. +This is deprecated, and new apps should use app-scoped egress IPs instead (using the command 'fly ip allocate-egress -r '). Are you sure this is what you want?` switch confirmed, err := prompt.Confirm(ctx, msg); {