shlogg · Early preview
Nomi3 @nomi3

Resolving Certificate Manager Error In Terraform With Google Cloud

Resolve Google Cloud Certificate Manager error: comment out referenced resources, update Terraform config, and reapply to change certificate domain.

Resolving Terraform Destroy Issues With Google Cloud Resources

When managing Google Cloud resources with Terraform, set force_destroy to true on the relevant Cloud Storage bucket & update only that resource before running terraform destroy again. This resolves issues with partially deleted resources.

Overriding Decorator Arguments In Child Classes

To override decorator args in a child class, you need to redefine the method. Declaring new class variables won't affect the decorator unless you explicitly redefine the method.

Setting Up GCS Emulator For Flask On Cloud Run

Set up a GCS emulator in your local Flask env on Cloud Run using fsouza/fake-gcs-server & docker-compose.yml. Configure Flask's StorageClient with STORAGE_EMULATOR_HOST & AnonymousCredentials.