From cf1172461ee9c6fcba81e1381b0a6b775b3fe568 Mon Sep 17 00:00:00 2001 From: Avrohom Gottlieb Date: Fri, 22 Nov 2024 15:24:18 -0500 Subject: [PATCH] add auto-approve to replace_provider command --- infrastructure/replace_provider.py | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/replace_provider.py b/infrastructure/replace_provider.py index e6914167..f101e34c 100644 --- a/infrastructure/replace_provider.py +++ b/infrastructure/replace_provider.py @@ -15,6 +15,7 @@ def replace_provider(org, provider): "terraform", "state", "replace-provider", + "-auto-approve", f"registry.terraform.io/-/{provider}", f"registry.terraform.io/{org}/{provider}", ]