I try to deploy functionbeat 7.12.1 on a cloud function using filebeat 7.12.1-linux-x86_64.
The deployment fail during installation :
2021-05-05T12:51:45.303Z DEBUG [gcp.executor] executor/executor.go:76 The executor is rolling back previous execution, '3' operations to rollback
[89](xxx/-/jobs/1238073946#L89)2021-05-05T12:51:45.303Z DEBUG [gcp] gcp/op_delete_file_bucket.go:34 Removing file 'functionbeat-record-provisioner' from bucket 'functionbeat-deploy-recette'
[90](xxx/-/jobs/1238073946#L90)2021-05-05T12:51:47.455Z DEBUG [gcp] gcp/op_delete_file_bucket.go:47 Successfully removed function 'functionbeat-record-provisioner' from bucket 'functionbeat-deploy-recette'
[91](xxx/-/jobs/1238073946#L91)2021-05-05T12:51:47.455Z DEBUG [gcp.executor] executor/executor.go:89 The rollback is successful
[92](xxx/-/jobs/1238073946#L92)2021-05-05T12:51:47.456Z DEBUG [gcp] gcp/cli_manager.go:61 Update complete for function 'functionbeat-record-provisioner'
[93](xxx/-/jobs/1238073946#L93)Function: functionbeat-record-provisioner, could not update, error: error while creating function (code: 3):
[94](xxx/-/jobs/1238073946#L94)Build failed: # pubsub/vendor/github.com/elastic/beats/v7/libbeat/common/transport/tlscommon
[95(xxx/-/jobs/1238073946#L95)src/pubsub/vendor/github.com/elastic/beats/v7/libbeat/common/transport/tlscommon/tls_config.go:112:3: unknown field 'VerifyConnection' in struct literal of type tls.Config
[96(xxx-/jobs/1238073946#L96)src/pubsub/vendor/github.com/elastic/beats/v7/libbeat/common/transport/tlscommon/tls_config.go:123:4: unknown field 'VerifyConnection' in struct literal of type tls.Config
[97(xxx/-/jobs/1238073946#L97)src/pubsub/vendor/github.com/elastic/beats/v7/libbeat/common/transport/tlscommon/tls_config.go:141:4: unknown field 'VerifyConnection' in struct literal of type tls.Config
[98(xxx/-/jobs/1238073946#L98)src/pubsub/vendor/github.com/elastic/beats/v7/libbeat/common/transport/tlscommon/tls_config.go:149:8: config.VerifyConnection undefined (type *tls.Config has no field or method VerifyConnection); Error ID: 6191efcd
The deployment was working using 7.11.2-linux-x86_64. Unfortunatly I had a random issue where the cloud function would sometimes panic crash while provisioning event into ES (instance/beat.go:168 Failed due to panic. {"panic": "name version already used"). That's why I decided to upgrade to 7.12.1.
The command I'm using is :
./functionbeat -v -e -E cloud.id=XXX -E cloud.auth=XXX -d "*" deploy functionbeat-notification-provisioner