Learn to manage Aptible resources directly from Terraform
APTIBLE_DOCKER_IMAGE
, APTIBLE_PRIVATE_REGISTRY_USERNAME
, and APTIBLE_PRIVATE_REGISTRY_PASSWORD
.
terraform apply
. If you are deploying outside of Terraform, you will also need to keep your Terraform configuration up to date. See Terraform’s refresh Terraform configuration documentation for more information.process_type
should match what’s contained in your Procfile. Otherwise, service container sizes and container counts cannot be defined and managed individually. The process_type maps directly to the Service name used in the Procfile. If you are not using a Procfile, you will have a single Service with the process_type of cmd.
aptible_endpoint.example-endpoint.virtual_domain
will be the domain used to access the Endpoint (so app-0000.on-aptible.com
or www.example.com
).
virtual_domain
would be something like *.example.com
which is not a valid domain name. Therefore, when using a wildcard domain, you should provide the subdomain you want your application to use to access the Endpoint, like www.example.com
, rather than relying solely on the Endpoint’s virtual_domain
.example-endpoint
, you would be able to create the record:
terraform plan
and terraform apply
.
terraform state show
these values will also be marked as sensitive. For example: