Skip to content

Commit

Permalink
remove calling unlock in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsmejia committed Nov 22, 2024
1 parent 19828c7 commit 06bf640
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions infrastructure/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from init_terraform import init_terraform
from replace_provider import replace_provider
from unlock_state import unlock_state

PRIVATE_KEY_FILE_PATH = "scpca-portal-key.pem"
PUBLIC_KEY_FILE_PATH = "scpca-portal-key.pub"
Expand Down Expand Up @@ -242,11 +241,6 @@ def restart_api_if_still_running(args, api_ip_address):
if init_code != 0:
exit(init_code)

unlock_code = unlock_state("5eb1ff49-db2d-949a-a4f4-91692b16c525")

if unlock_code != 0:
exit(unlock_code)

replace_provider_code = replace_provider("hashicorp", "aws")

if replace_provider_code != 0:
Expand Down

0 comments on commit 06bf640

Please sign in to comment.