Skip to content

Address persistent GCE instance #44

@glasnt

Description

@glasnt

postdeployment.tf uses a compute engine instance's metadata startup script to invoke the Cloud Run jobs created in jobs.tf.

This instance currently keeps running throughout the life of the deployment, and has no purpose. It would be optimal to shutdown this instance after use to entire a lower ongoing cost.

Additionally, metadata startup scripts only fire on instance boot. Re-applying TF where an instance is running won't re-fire this script.

The client job can be re-run without issue, but the setup job isn't currently idempotent, but can be adjusted.

It would be optimal to ensure re-applying TF starts this instance up again, ensuring jobs are re-run to reassert state.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions