cfg

cfg

Configures an App for a specific Environment.

Usage: boxfuse cfg app -env=environment

> boxfuse cfg hello -env=test -securitygroup=sg-12345678

Configuring hello in test ...
Successfully configured hello in test

Settings

Argument boxfuse.conf property Default Description
-env=... env dev Select the specified environment (ex.: test or prod)
-domain=... domain auto

AWS only

The custom domain to use for this application in the specified environment. auto to let Boxfuse automatically create a new boxfuse.io subdomain for you.
-elasticip=... elasticip auto

AWS only

The AWS Elastic IP to use when deploying this application in the specified environment (single-instance apps only). auto to let Boxfuse automatically create a new Elastic IP for you.
-elb=... elb auto

AWS only

The name of the AWS ELB to use when deploying this application in the specified environment (load-balanced apps only). auto to let Boxfuse automatically create a new ELB for you.
-securitygroup=... securitygroup auto

AWS only

The id of the AWS security group to use in the specified environment. auto will auto-create a new security group based on the configured ports.
-instanceprofile=... instanceprofile none

AWS only

The ARN of the AWS instance profile to use in the specified environment. This is only for apps using the AWS API. The value none unsets any instance profile.
-subnets=... subnets auto

AWS only

Comma-separated list of AWS subnets to deploy to in the specified environment. AWS supports maximum one subnet per availability zone. auto to let AWS automatically select the subnet(s).

Machine-readable output (sample)

{"success":"true"}

fuse