> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/spinnaker-fails-to-deploy-to-google-appengine-flex-due-to-name-being-too-long.md).

# Spinnaker Fails to Deploy to Google AppEngine Flex Due to Name Being Too Long

### Issue <a href="#issue" id="issue"></a>

Spinnaker fails to deploy to Google AppEngine due to name being too long. Error will look something like the following: Failed to deploy to App Engine with command gcloud app deploy /var/tmp/clouddriver /gcr.io-np-ca-analytics-xxx-pospbsb:1.0.21/./b5769c9f-d0a6-4f2c-95e3- 038f9cfcb880.yaml --version=caanalyticspossalespubsub-pospbsb-v000 --no-promote --stop-previous-version --project=np-ca-analytics-xxx --account=spinnaker- <onboarding@pr-developer-tools.iam.gserviceaccount.com> --image-url=gcr.io/np-ca- analytics-xxx/pospbsb:1.0.21: stdout: , stderr: Services to deploy:

WARNING: This deployment will result in an invalid SSL certificate for service \[possalespubsub]. The total length of your subdomain in the format $VERSION\_ID- dot-$SERVICE\_ID-dot-$APP\_ID should not exceed 63 characters. Please verify that the certificate corresponds to the parent domain of your application when you connect. descriptor: \[/var/tmp/clouddriver/gcr.io-np-ca-analytics-xxx- pospbsb:1.0.21/b5769c9f-d0a6-4f2c-95e3-038f9cfcb880.yaml] source: \[/var/tmp/clouddriver/gcr.io-np-ca-analytics-xxx-pospbsb:1.0.21] target project: \[np-ca-analytics-xxx] target service: \[possalespubsub] target version: \[caanalyticspossalespubsub-pospbsb-v000] target url: \[<http://caanalyticspossalespubsub-pospbsb-v000.possalespubsub.np-ca-analytics-> xxx.uc.r.appspot.com]

(add --promote if you also want to make this service available from \[<https://possalespubsub-dot-np-ca-analytics-xxx.uc.r.appspot.com>]) Do you want to continue (Y/n)? Beginning deployment of service \[possalespubsub]... WARNING: Deployment of service \[possalespubsub] will ignore the skip\_files field in the configuration file, because the image has already been built. ERROR: (gcloud.app.deploy) INVALID\_ARGUMENT: Combined version and service (module) name is too long. The combined length must be less than 48 characters. Note that for internal reasons, each hyphen or sequence of hyphens in the version or service name counts as one extra character.

### Cause <a href="#cause" id="cause"></a>

The length of Spinnaker Application Name + Spinnaker Stack + Spinnaker Detail (optional) + Spinnaker Version (4 characters) combined cannot be greater than or equal to 48.
